anthroa Posted April 6, 2004 Posted April 6, 2004 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
Guest Posted April 6, 2004 Posted April 6, 2004 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
anthroa Posted April 7, 2004 Author Posted April 7, 2004 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
Guest Posted April 14, 2004 Posted April 14, 2004 Try looking for blank lines or spaces after the final ?> on the bottom of the mentioned files.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.