Can't login to admin after upgrading to 1.3.9g
Just upgraded from 1.3.9f to 1.3.9g now I can not log in to my admin. It takes me to the front of my store when I try to log in. If I click Resend Password it takes me to the front end of my store to reset my password. It was working fine before I upgraded. I need some fast help please! Thank You
I also tried this https://www.zen-cart.com/tutorials/index.php?article=2
It didn't work
Re: Can't login to admin after upgrading to 1.3.9g
Did you clear your browser's cache and cookies as directed in the release notes and announcement?
2 Attachment(s)
Re: Can't login to admin after upgrading to 1.3.9g
Quote:
Originally Posted by
DrByte
Did you clear your browser's cache and cookies as directed in the release notes and announcement?
Yes I cleared the browser and cookies. This is the image of what it looks like when I try to log in to admin. Then when I click continue it takes me to the front of my store here.
Re: Can't login to admin after upgrading to 1.3.9g
That suggests that your admin configure.php file is the non-admin version of the file .... or you've got a busted set of rewrite rules probably from a so-called SEO addon.
Re: Can't login to admin after upgrading to 1.3.9g
Quote:
Originally Posted by
DrByte
That suggests that your admin configure.php file is the non-admin version of the file .... or you've got a busted set of rewrite rules probably from a so-called SEO addon.
I did a lot of digging into this and it seems to be the /admin/includes/functions/html_output.php file which is causing the problem. I replace the old file, and now I am able to log in. The new code in red prevents me from logging in.
if ($text == '~*~*#' && (isset($GLOBALS[$name]) && is_string($GLOBALS[$name])) && ($reinsert_value == true) ) {
$field .= stripslashes($GLOBALS[$name]);
$field = str_replace('>', '>', $field);
} elseif ($text != '~*~*#' && zen_not_null($text)) {
$field = str_replace('>', '>', $field);
$field .= $text;
}
Re: Can't login to admin after upgrading to 1.3.9g
I'm still waiting to hear from you about this DrByte if you would. Thank you
Re: Can't login to admin after upgrading to 1.3.9g
That's what's breaking your other things in your admin.
Re: Can't login to admin after upgrading to 1.3.9g
Quote:
Originally Posted by
DrByte
That's what's breaking your other things in your admin.
Well if I leave it like this I can not log on to admin. Without the code in the red I can log on. Something is not quite right.
if ($text == '~*~*#' && (isset($GLOBALS[$name]) && is_string($GLOBALS[$name])) && ($reinsert_value == true) ) {
$field .= stripslashes($GLOBALS[$name]);
$field = str_replace('>', '>', $field);
} elseif ($text != '~*~*#' && zen_not_null($text)) {
$field = str_replace('>', '>', $field);
$field .= $text;
}
Re: Can't login to admin after upgrading to 1.3.9g
List of addons?
(you're the only one reporting login problems in 1.3.9g, let alone problems with that section of code)
Re: Can't login to admin after upgrading to 1.3.9g
Quote:
Originally Posted by
DrByte
List of addons?
(you're the only one reporting login problems in 1.3.9g, let alone problems with that section of code)
The html_output.ph file in 1.3.9f is different than the one in 1.3.9g. If I leave the one that came with 1.3.9f it works fine. I don't know
Both my sites are doing the something. Here's a list. May be more I haven't thought of.
Add on for The Good Shepherd Store
cherry_zen_template_1-7
1.7 Lightbox
about_us_page_1-3-1
captcha_using_ttf__gd__tel
ceon_back_in_stock_notifications_2.6.0
ceon_uri_mapping_3.8.0
css_flyout_menu_
css_javascript_loader
easypopulate
editor__fckeditor_plugin_2-6-4-1
email_address_exporter_1-2c
email_archive_manager_1-4
emptycart_manager_1-2
faq_page_v1-0
footer_menu_v1-0
google base 1-8-2
image_handler_
jscroller_sidebox_package_2-1
links_manager_v3-5-3a
login_box_1-5
minimum_order_1-0-1a
msrp_display_1-2
newsletter_subscribe_2-2
quantity_discounts_1-11
quick_configuration_edit_for_x_1-0-1
recover_cart_sales_3-1-0
return_authorization_v2-3-3a
rss_feed_2-1-4
search_log_2-0
shopmaniacom_automated_datafeed_generator
simple_google_analytics_1-2-2
sitemapxml__formerly_google_sitemap_2-1-0
testimonial_manager_v1-5-2
ty_package_tracker_for_x_2-3a
syscheck_1-0-3
admin_login_as_customer_v2-11
backup_zc_v1.0.3
store_credits
Add on for Wholesale TGSS
desert_noon_template_v2-0
1.7 Lightbox
about_us_page_1-3-1
captcha_using_ttf__gd__tel
css_flyout_menu_
css_javascript_loader
easypopulate
editor__fckeditor_plugin_2-6-4-1
email_archive_manager_1-4
emptycart_manager_1-2
faq_page_v1-0
google base 1-8-2
image_handler_
jscroller_sidebox_package_2-1
quantity_discounts_1-11
quick_configuration_edit_for_x_1-0-1
recover_cart_sales_3-1-0
rss_feed_2-1-4
sitemapxml__formerly_google_sitemap_2-1-0
ty_package_tracker_for_x_2-3a
backup_zc_v1.0.3
store_credits
Simple SEO URL 3.8.5