Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please help with an error..


kristal

Recommended Posts

My website was working just fine; but when my host decided to switch servers, everthing got screwy! I'm getting an error on my site, and I didn't change any files. Any suggestions?

 

Warning: main(DIR_WS_INCLUDESfilenames.php) [function.main]: failed to open stream: No such file or directory in /home/create/public_html/store/includes/application_top.php on line 53

 

Fatal error: main() [function.require]: Failed opening required 'DIR_WS_INCLUDESfilenames.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/create/public_html/store/includes/application_top.php on line 53

Link to comment
Share on other sites

My website was working just fine; but when my host decided to switch servers, everthing got screwy! I'm getting an error on my site, and I didn't change any files. Any suggestions?

 

Warning: main(DIR_WS_INCLUDESfilenames.php) [function.main]: failed to open stream: No such file or directory in /home/create/public_html/store/includes/application_top.php on line 53

 

Fatal error: main() [function.require]: Failed opening required 'DIR_WS_INCLUDESfilenames.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/create/public_html/store/includes/application_top.php on line 53

 

This sounds like a .htaccess error thats all I can help with.

Link to comment
Share on other sites

Looks to me like your /includes/configure.php file is missing this:

 

  define('DIR_WS_INCLUDES', 'includes/');

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Call me a doubting Thomas... But that's not what your server is saying.

 

Post the contents of /store/includes/configure.php

 

Be sure to leave out your DB access info at the bottom of it!

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Thanks so much for trying to help, but I think I got it figured out. I was trying to update my configure file to include the new server url my host switched to. I used notepad to edit the file, and I think it screwed with the coding a bit when I saved it. I compared it to an original configure file and cleared out all the garbage. The site is back up now; but now it's saying there's an error with the security certificate. Damn host! I'm trying to get them to fix this..

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...