Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

What do the numbers in error message mean?


Recommended Posts

Just quick questions here.


1.) If I get errors on admin page, how can i troubleshoot the errors using the information in the error?


i.e. the line numbers or the :#


2.) When looking at either configure.php files, do the define statements go in any particular order? Does the order that these statements are listed in coincide with a heiarchy of the statements?




Example of error:

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/toneek74/public_html/shop/admin/includes/configure.php:64) in /home/toneek74/public_html/shop/admin/includes/functions/sessions.php on line 67

Link to comment
Share on other sites

Download a programme called TextPad (free text editor). Install it, select Options and turn on Line Numbering - and this will allow you to download files and find the exact lines with the error on.


In this case however it looks as though there is either an error in the way your configure.php files are set up, or else you have white space (blank lines) either before the start or after the finish of the code.



Link to comment
Share on other sites

I forgot to mention that I use Dreamweaver, which does the line by line numbering and color codes the syntax.


I can edit in cuteFTP as well.


Here is configure.php file:


define('HTTP_SERVER', 'https://svr74.ehostpros.com/~toneek74');
 define('HTTP_CATALOG_SERVER', 'https://svr74.ehostpros.com/~toneek74');
 define('HTTPS_CATALOG_SERVER', 'https://svr74.ehostpros.com/~toneek74');
 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/home/toneek74/public_html'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
define('DIR_WS_ADMIN', '/shop/admin/');
define('DIR_WS_CATALOG', 'shop/');
 define('DIR_WS_IMAGES', '/~toneek74/shop/admin/images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . '/bogus/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', 'localhost');
define('DB_SERVER_USERNAME', '*******');
define('DB_SERVER_PASSWORD', '******');
define('DB_DATABASE', 'toneek74_osc1');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', 'mysql');

Link to comment
Share on other sites


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

  • Create New...