To clarify.. that is what I have EXCEPT where it says "mydomain" is actually my domain and "user" is actually the real user name.
Printable View
If you are using Safari 5.0.3 on a Mac or Windows, but not using Zen Cart v1.3.9h... you will not be able to login to admin. There is no problem with any combination of earlier versions of Safari and/or earlier versions of Zen Cart. This is a problem with Safari 5.0.3 I have just gone through and finally figured out. This may not apply to your situation but I've not seen any mention in this thread of specifically using Safari and wanted to share.
I am on a Mac, but I am using Firefox. But it seems to be the same issue...
I am running parallels on my Mac, and I opened IE on the Windows side, and I was able to login! :clap:
So... if I upgrade to 1.3.9h this will eliminate the login problem from my Mac/Firefox? Sounds good to me... just a little nervous about manually upping to 1.3.9h worried I will f something up. :(
In any case, thanks for your help... time to back up the site and do some damage. :flex:
I am having a similar issue. I have just finished installing an upgrade from 1.3.8 to 1.3.9h. The only plugin I have working is Ultimate SEO. At first everything seemed to look fine but customers were unable to login to the shopping cart. I searched the boards for help and found that going into the admin and turning "recreate sessions" to false, customers could then log in and make purchases no problem. However, now that the store is working properly, I tried to access my admin and can't even make it to the login page.
I am using Firefox 3.6.12 and the error I get is
"The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete
* This problem can sometimes be caused by disabling or refusing to accept cookies."
I also cannot access it in safari or IE on PC. I have cleared cookies and cache, and I can also accept cookies. I have tried modifying the .htaccess file in the root and even adding one in the admin folder as per a board suggestion (http://www.zen-cart.com/forum/showthread.php?p=778358), however still no luck.
I am grateful for any assistance. Thank you!
PCC2009
Might post your admin configure.php file contents
X- Out the renamed admin folder, DB name, user, and password entries
Kobra,
I also get this error in my debug log from the website.
"PHP Warning: htmlspecialchars() expects at most 3 parameters, 4 given in /nfs/c01/h08/mnt/7189/domains/madewithlovebyjm.com/html/ADMIN/includes/functions/general.php on line 39"
My config.php file from my Admin/Includes/ folder is as follows :
<?php
/**
* @package Configuration Settings circa 1.3.8
* @copyright Copyright 2003-2007 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
*/
/*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/
/*************** The 2 files should be kept separate and not used to overwrite each other. ***********/
// Define the webserver and path parameters
// Main webserver: eg-http://www.your_domain.com -
// HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
// HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
// HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com
// HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.com
/*
* URLs for your site will be built via:
* HTTP_SERVER plus DIR_WS_ADMIN or
* HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or
* HTTP_SERVER plus DIR_WS_CATALOG or
* HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
* ...depending on your system configuration settings
*
* If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
*/
define('HTTP_SERVER', 'https://www.madewithlovebyjm.com');
define('HTTPS_SERVER', 'https://www.madewithlovebyjm.com');
define('HTTP_CATALOG_SERVER', 'https://www.madewithlovebyjm.com');
define('HTTPS_CATALOG_SERVER', 'https://www.madewithlovebyjm.com');
// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'true');
define('ENABLE_SSL_ADMIN', 'true');
// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_ADMIN', '/ADMIN/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/ADMIN/');
define('DIR_WS_HTTPS_CATALOG', '/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_ADMIN', '/nfs/c01/h08/mnt/7189/domains/madewithlovebyjm.com/html/ADMIN/');
define('DIR_FS_CATALOG', '/nfs/c01/h08/mnt/7189/domains/madewithlovebyjm.com/html/');
define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'downloads/');
// define our database connection
define('DB_TYPE', 'mysql');
define('DB_PREFIX', 'zc_');
define('DB_SERVER', 'XXXXX.gridserver.com');
define('DB_SERVER_USERNAME', 'XXXXXX');
define('DB_SERVER_PASSWORD', 'XXXXXXX');
define('DB_DATABASE', 'XXXXXXX');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'db');
// for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage
// The next 2 "defines" are for SQL cache support.
// For SQL_CACHE_METHOD, you can select from: none, database, or file
// If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
// or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
// ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
define('SQL_CACHE_METHOD', 'none');
define('DIR_FS_SQL_CACHE', '/nfs/c01/h08/mnt/7189/domains/madewithlovebyjm.com/html/cache');
// EOF
Thank you so much for any assistance!
Read through post #6 on this thread:
http://www.zen-cart.com/forum/showthread.php?t=153143
Ajeh,
Thank you for your suggestion. I realized that the version of php I was using was php4 and not php5. I went into my host settings and upgraded my madewithlovebyjm.com domain to php5. I ran
<?php phpinfo() ?>
to determine that I am now running 5.2.14 (which is higher than 5.2.3) and therefor should not have an admin login issue. But alas, no dice and I am still getting the same error.
Thank you for your suggestion, and any other help would be greatly appreciated.
I still cannot reach my admin, and this is causing a problem with my live shop. I just realized that my customers are getting the generic zen cart banner when they make a purchase. This is unacceptable, so I tried to reinstate the old 1.3.8 shop, but it does not work (probably due to upgrading the php from 4 to 5). Do I downgrade to php4 and put the 1.3.8 shop up? If so, then I will have new customers that will not be in the old database. I would appreciate any advice, because this is a really big problem.
Thank you very much.
If by that you mean Ultimate SEO URLs and you are hosted on a cPanel server then try this.Quote:
The only plugin I have working is Ultimate SEO
In the .htaccess file that comes with Ultimate SEO URls change these lines:
to these lines:Code:RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*).html$ index\.php?main_page=$1&%{QUERY_STRING} [L]
Can you get in now?Code:RewriteCond %{REQUEST_FILENAME} !\.shtml$
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*).html$ index\.php?main_page=$1&%{QUERY_STRING} [L]
Vger