Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Errors when logging in...


Patrick

Recommended Posts

Posted

Hello,

 

We are having some errors when trying to login or trying to checkout. We did move the script from a directory on the domain to the root, but believed that we made the appropriate changes. The errors we are getting are:

 

Warning: main(./extension.inc): failed to open stream: No such file or directory in /home/tcb/public_html/login.php on line 31

 

Warning: main(): Failed opening './extension.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tcb/public_html/login.php on line 31

 

Warning: main(./common.): failed to open stream: No such file or directory in /home/tcb/public_html/login.php on line 32

 

Warning: main(): Failed opening './common.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tcb/public_html/login.php on line 32

 

Fatal error: Call to undefined function: session_pagestart() in /home/tcb/public_html/login.php on line 37

 

 

I did a quick search and couldn't find anything. If anyone has any things to try or knows of a threat that I can be referred to... I would be very appreciative.

 

Thank you for your time.

Posted
believed that we made the appropriate changes

Famous last words ...

 

Maybe you can correct these symptoms one at a time, but personally I'd restore the previous directory scheme and study the matter carefully.

 

Or if you have done no mods or added no contributions, just do a new install to the directory of choice.

Posted

Hey,

 

I appreciate the response. It is a clean install (besides adding our products).

 

So, the script has tha directory in so many places that it is impossible to make the change? I thought it would just be in the configure.php pages? I guess that was wrong.

 

Thank you for your help.

Posted
Hey,

 

I appreciate the response. It is a clean install (besides adding our products).

 

So, the script has tha directory in so many places that it is impossible to make the change? I thought it would just be in the configure.php pages? I guess that was wrong.

 

Thank you for your help.

Only one file needs to be changed.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted
Only one file needs to be changed.

 

Two: admin/includes/configure.php and includes/configure.php

Posted

I am trying to move it back now... but I am getting the same errors. Are there any files that I can show you that would help you to find something that I can check or something wrong?

 

Thank you for your time.

Posted

Got it.

 

ARGH... login.php file was not the same size as the one I had on my hard drive. It must have corrupted or something of that nature.

 

Appreciate the help.

Archived

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

×
×
  • Create New...