Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Hmm, error after install!


Named

Recommended Posts

When i installed OS on a clean server (with a clean zip) the install package didnt work, so i did it myself. I understand PHP etc, but i really am lost on this one!

 

the message below appears on my shop @ Http://shop.4students.biz/catalog/

 

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/students/public_html/shop/catalog/includes/configure.php:53) in /home/students/public_html/shop/catalog/includes/functions/sessions.php on line 56

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/students/public_html/shop/catalog/includes/configure.php:53) in /home/students/public_html/shop/catalog/includes/functions/sessions.php on line 56

 

This is my Config file

 

<?php

define('HTTP_SERVER', 'http://shop.4students.biz/catalog');

define('HTTPS_SERVER', 'http://www.4students.biz');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'http://shop.4students.biz');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

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_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'students_canny');

define('DB_SERVER_PASSWORD', 'canny');

define('DB_DATABASE', 'students_cart');

define('USE_PCONNECT', 'true');

define('STORE_SESSIONS', 'mysql');

 

// STS: ADD: Define Simple Template System files

define('STS_START_CAPTURE', DIR_WS_INCLUDES . 'sts_start_capture.php');

define('STS_STOP_CAPTURE', DIR_WS_INCLUDES . 'sts_stop_capture.php');

define('STS_RESTART_CAPTURE', DIR_WS_INCLUDES . 'sts_restart_capture.php');

define('STS_TEMPLATE_DIR', DIR_WS_INCLUDES . 'sts_templates/');

define('STS_DEFAULT_TEMPLATE', DIR_WS_INCLUDES . 'sts_template.html');

define('STS_DISPLAY_OUTPUT', DIR_WS_INCLUDES . 'sts_display_output.php');

define('STS_USER_CODE', DIR_WS_INCLUDES . 'sts_user_code.php');

// STS: EOADD

?>

 

 

as you can see im using the STS contrib which is great. RECCOMENDED!

 

but i really am lost and dont understand why i get this error!

Link to comment
Share on other sites

also, when i go to add payment mods, or any mods (inc shipping etc) it just says

 

Module Directory: /catalog/includes/modules/payment/

 

and does not show anything. i have checked and the .php s are in the mod dir, so wtf is going on here!

Link to comment
Share on other sites

Have the same problem here at the moment, none of the three modules are working.

 

This has come up a few times but there are no notable replies that I've found. :(

Link to comment
Share on other sites

Cancel that.

 

I just noticed an error in a path in configure.php.

 

Everything is now working....

 

... except the transfer to 2checkout.coms secure area.... but that's another story.

Link to comment
Share on other sites

Can't say off the top of my head what the problem is, but now that you've announced to the world what your database username and passwords are, I would suggest you change them before going any further ;)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...