Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning/Fatal Error with Includes


NDALUM

Recommended Posts

I have installed the shopping cart and been able to configure it through the administrative area, adding categories, products, etc. However, when I just went to preview the site, I got an error message:

 

 

Warning: main(DIR_WS_INCLUDESfilenames.php): failed to open stream: No such file or directory in /home/lbbg/public_html/shopping/includes/application_top.php on line 53

 

Warning: main(DIR_WS_INCLUDESfilenames.php): failed to open stream: No such file or directory in /home/lbbg/public_html/shopping/includes/application_top.php on line 53

 

Warning: main(DIR_WS_INCLUDESfilenames.php): failed to open stream: No such file or directory in /home/lbbg/public_html/shopping/includes/application_top.php on line 53

 

Fatal error: main(): Failed opening required 'DIR_WS_INCLUDESfilenames.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lbbg/public_html/shopping/includes/application_top.php on line 53

 

 

The actual error can be found here:

http://www.longbeachbasketsandgifts.com/shopping/

 

Ideas? Any help that you can give me would be greatly appreciated!

Link to comment
Share on other sites

It looks like there is a mistake in your includes.configure.php file. Post it here, minus sensitive data, if you cannot figure it out.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

I cannot find any file that is actually called:

includes.configure.php

 

However, if you are referring to the file located at: inclues/configure.php

the file is completely empty.

 

If you are willing to consult on this, I'd be willing to pay you to get the bugs out of this and get this up and running. The only payment mechanism I currently plan on using is PayPal, so I'm told this is easy . . . but I can't test any of this since I'm getting this error.

Link to comment
Share on other sites

It looks like your code iis missing some brackets. (DIR_WS_INCLUDES) is defined as a directory in code, however you are missing the right bracket which causes the code to look for a file named "DIR_WS_INCLUDESfilenames", rather than "filenames" which is in the catalog/includes directory.

 

Your configure.php file should not be empty? It doesn't sound like it is, otherwise you'd be getting database connection errors before the errors you posted. Try looking in that file for "filenames", then replace the bracket. That's all I can think of for now. Perhaps someone more knowledgeable will post...

 

--Peter

CE PHOENIX SUPPORTER

Support the Project, go PRO and get access to certified add ons

Full-time I am a C-suite executive of a large retail company in Australia. In my spare time, I enjoying learning about web-design.

Download the latest version of CE Phoenix from gitHub here

Link to comment
Share on other sites

I have installed the shopping cart and been able to configure it through the administrative area, adding categories, products, etc. However, when I just went to preview the site, I got an error message:

Warning: main(DIR_WS_INCLUDESfilenames.php): failed to open stream: No such file or directory in /home/lbbg/public_html/shopping/includes/application_top.php on line 53

 

Warning: main(DIR_WS_INCLUDESfilenames.php): failed to open stream: No such file or directory in /home/lbbg/public_html/shopping/includes/application_top.php on line 53

 

Warning: main(DIR_WS_INCLUDESfilenames.php): failed to open stream: No such file or directory in /home/lbbg/public_html/shopping/includes/application_top.php on line 53

 

Fatal error: main(): Failed opening required 'DIR_WS_INCLUDESfilenames.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lbbg/public_html/shopping/includes/application_top.php on line 53

The actual error can be found here:

http://www.longbeachbasketsandgifts.com/shopping/

 

Ideas? Any help that you can give me would be greatly appreciated!

 

make sure you didn't rename the configure.php file to something else.. this happened to me before and I got the same errors

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...