Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Major error


Henrik Brobeck

Recommended Posts

Hey!

 

I just found this code and i really like it.

But when i create a new shop user i get this error, why?

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /catalog/includes/languages/swedish/create_account.php:1) in /catalog/includes/functions/sessions.php on line 102

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /catalog/includes/languages/swedish/create_account.php:1) in /catalog/includes/functions/sessions.php on line 102

 

Warning: Cannot modify header information - headers already sent by (output started at /catalog/includes/languages/swedish/create_account.php:1) in /catalog/includes/functions/general.php on line 45

 

 

And now when i try to enter my site i get this error:

Warning: require(includes/languages/.php) [function.require]: failed to open stream: No such file or directory in /catalog/includes/application_top.php on line 279

 

Warning: require(includes/languages/.php) [function.require]: failed to open stream: No such file or directory in /catalog/includes/application_top.php on line 279

 

Fatal error: require() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/lsws/lsphp5/lib/php') in /catalog/includes/application_top.php on line 279

Link to comment
Share on other sites

The session start error is being called because you are outputting data before the headers are set.

 

The second error...

includes/languages/.php

 

Should be includes/languages/[language].php

for example

includes/languages/english.php

 

These two errors appear to be linked.

Link to comment
Share on other sites

The session start error is being called because you are outputting data before the headers are set.

 

The second error...

includes/languages/.php

 

Should be includes/languages/[language].php

for example

includes/languages/english.php

 

These two errors appear to be linked.

 

 

How do i fix the first error then? Please help me.

Im still trying to learn this

Link to comment
Share on other sites

Headers already sent - such a popular question ;)

My store is currently running Phoenix 1.0.3.0

I'm currently working on 1.0.7.2 and hope to get it live before 1.0.8.0 arrives (maybe 🙄 )

I used to have a list of add-ons here but I've found that with the ones that supporters of Phoenix get any other add-ons are not really neccessary

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...