Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PHP Warning: main(includes/languages/.php)


mitomedia

Recommended Posts

Posted

Hi:

 

I get the following error message (after I messed around with the configure.php file):

 

PHP Warning: main(includes/languages/.php) [function.main]: failed to create stream: No such file or directory in C:\Program Files\Ensim\SiteData\webppliance\conf\domains\hsdirect\Inetpub\wwwroot\hsadmin\includes\application_top.php on line 132 PHP Fatal error: main() [function.main]: Failed opening required 'includes/languages/.php' (include_path='.;c:\php4\pear') in C:\Program Files\Ensim\SiteData\webppliance\conf\domains\hsdirect\Inetpub\wwwroot\hsadmin\includes\application_top.php on line 132

 

It looks like I missed something in the configure.php file because osCommerce is trying to access the file "includes/languages/.php" which doesn't exist. I am having a hard time to figure this one out and if anyone could help me, it would be greatly appreciated.

 

Michael

Posted

Check for white space at the top or bottom of your configure.php files. This may have been created if you edited them using an editor which is not a plain text editor. Notepad is a plain text editor, Wordpad and Word are not (they format text), neither is FrontPage etc. - and under no circumstances do you edit files using the osCommerce File Manager.

 

If that doesn't work then post the affected configure.php file here (minus db user name and password) and someone will take a look at it for you.

 

Vger

Archived

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

×
×
  • Create New...