Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Admin page not show up


Recommended Posts

I have uploaded my files to the servers, the catalog works fine but the admin page does not show up. It's juz a blank page. I use "myadmin" as the folder name since "admin" is already used to access my webhost control panel. Everything is fine on localhost before. Is it because anything wrong with the path in configure.php or anything else? Here is My Webpage and admin page.


Please anyone help me resolve this. Thx.


myadmin/includes/configure.php file:

osCommerce, Open Source E-Commerce Solutions

Copyright (c) 2003 osCommerce

Released under the GNU General Public License

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://kadoshopping.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTP_CATALOG_SERVER', 'http://kadoshopping.com');
define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', '/var/www/html/'); // where the pages are located on the server
define('DIR_WS_ADMIN', '/myadmin/'); // absolute path required
define('DIR_FS_ADMIN', '/var/www/html/myadmin/'); // absolute pate required
define('DIR_WS_CATALOG', '/'); // absolute path required
define('DIR_FS_CATALOG', '/var/www/html/'); // absolute path required
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
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', DIR_WS_CATALOG . 'includes/languages/');
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_BACKUP', DIR_FS_ADMIN . 'backups/');

// define our database connection
define('DB_SERVER', 'kadoshopping.com'); // eg, localhost - should not be empty for productive servers
define('DB_SERVER_USERNAME', '*****');
define('DB_SERVER_PASSWORD', '*****');
define('DB_DATABASE', 'kadoshopping_com_-_main');
define('USE_PCONNECT', 'false'); // use persisstent connections?
define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

Link to comment
Share on other sites

OK I've changed the path but still the same... all juz white pages around, as if all files in the folder "myadmin" could not be shown... I don't have blank index.html file there anyway :'( I have no idea what to do??

Link to comment
Share on other sites

excuse me I was wrong put that back the way you had it. Do you notice that the url link to the myadmin is set without the www but then forces the www in. Try the link and see what I mean. You could try to put the www back in the configure url settings and see how that works. Also remember there are two configure files.

Link to comment
Share on other sites

Found the solution.


Its actually an error in the code.

Go to /catalog/admin/includes/classes/sessions.php

look on line 33, it should look like:


var $cookie_path = substr(DIR_WS_ADMIN, 0, -1);


you have to add ' ' around the substr statement, like:


var $cookie_path = 'substr(DIR_WS_ADMIN, 0, -1)';


Then the admin page is not blank anymore


This has to be fixed in the code and next release,

can someone forward it to the right person so it gets done?



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...