Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Moved server, exit(); in tep_exit() gives errors - any ideas?


newclearbomb

Recommended Posts

Posted

We have just migrated our working oscommerce installation from one server to another.

Everything appeared fine and all looks good, admin section all works great. You can click around the front end, view products, search for stuff,

An easy migration....... until you go to the front end and try to do anything account or session related :(

 

Try and add anything to cart, log in, check account details and you get presented with an error 500 internal error......

 

The only error I can get from the front end is

Warning: main(includes/configure.php) [function.main.html]: failed to open stream: No such file or directory in /home/driftworks/htdocs/catalog/includes/application_top.php on line 52

 

Fatal error: main() [function.require.html]: Failed opening required 'includes/configure.php' (include_path='.:/usr/local/lib/php') in /home/driftworks/htdocs/catalog/includes/application_top.php on line 52

 

The new server is php5 .0.5

Osc 2.2MS2

Apache 2.0.55

Mysql 4.1.15

 

If we remove exit(); from tep_exit() everything seems to work ok again.

Can anyone explain why this would be a problem and if there is anything further we should do?

 

thanks in advance,

James

Posted

I can't edit the above post, so I'll add this below

 

It's now clear that the server doesn't like session_write_close();

 

but we need to call it before header() or session data

will occaisonally be lost.

 

any ideas?

Archived

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

×
×
  • Create New...