Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Login Problem


anthroa

Recommended Posts

Posted

Deleted the user who created the spurious email via phpadmin didn't resolve the problem still get the following error when logging into the admin panel.

 

Warning: main(includes/functions/general.php): failed to open stream: No such file or directory in /home/mydomain/public_html/store/admin/includes/application_top.php on line 206

 

Fatal error: main(): Failed opening required 'includes/functions/general.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mydomain/public_html/store/admin/includes/application_top.php on line 206

 

i have looked at line 206 in /home/mydomain/public_html/store/admin/includes/application_top.php and see the following

 

// define our general functions used application-wide

require(DIR_WS_FUNCTIONS . 'general.php');

require(DIR_WS_FUNCTIONS . 'html_output.php');

 

which appears to be calling the file shown in the error statement - but the file is there - have change its persmissions but had no effect

 

 

any suggestions very much appreciated - A

 

 

Previous description of the problem below

 

I have been using OScommerce for some time now things have been chugging away just fine - but over the last few days been getting bounced emails to [email protected] indicating someone signed up but with a spurious email address - i have recieved several of these messages so i went to login via the admin panel and couldn't get in i get the following error message -

 

Warning: main(includes/functions/general.php): failed to open stream: No such file or directory in /home/mydomain/public_html/store/admin/includes/application_top.php on line 206

 

Fatal error: main(): Failed opening required 'includes/functions/general.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mydomain/public_html/store/admin/includes/application_top.php on line 206

 

apologies for previously bumping but things move too fast in this forum - thanks Anthony

Posted

looks to me like you're missing catalog/includes/functions/general.php. Are you sure it's there, and that it has the correct permissions (mine are 644)?

 

-jared

Posted

jared - thanks for the suggestion -i tried that and got the same error - it has me confused - the script has been working well for nearly 12 months - i can create a user account and access that so its not a db thing - my first thought was permissions and i have tried several of the implicated files.

 

i have searched high and low in the forums but haven't found anything similar.

 

any other suggestions - it would be a major hassle to do a reinstall.

 

thanks A

Posted

did you figure out the problem yet?

 

-jared

Posted

Try looking for blank lines or spaces after the final ?> on the bottom of the mentioned files.

Archived

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

×
×
  • Create New...