I am upgrading from 1.3.9h to 1.5.1 and have got the db uploaded and changed the configure.php files. I can browse to the web site but I cannot browse to the Admin log on I just get the message:
WARNING: An Error occurred, please refresh the page and try again.
I have double checked the db configures and they are the same as the db configure.php for the web site. So I think I may have a directory problem.
If my Admin directory is www.website.com/zencart/admin123 then I am a bit confused as to what should go in the following:
define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', $p1) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_CATALOG', '/zencart/');
define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', $p2) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_HTTPS_CATALOG', '/zencart/');
and
define('DIR_FS_ADMIN', realpath(dirname(__FILE__) . '/../') . '/');
define('DIR_FS_CATALOG', '/home/website/public_html/zencart/');
I have tried adding 'admin123' in the 3 places following 'zencart' above but then I just get a blank screen when pointing to the Admin Login page.
Can anyone please help with this?
Bookmarks