kristal Posted January 27, 2009 Share Posted January 27, 2009 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 More sharing options...
NodsDorf Posted January 27, 2009 Share Posted January 27, 2009 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 More sharing options...
kristal Posted January 28, 2009 Author Share Posted January 28, 2009 This sounds like a .htaccess error thats all I can help with. Is that something my host can fix, or something that I have to figure out? Link to comment Share on other sites More sharing options...
germ Posted January 28, 2009 Share Posted January 28, 2009 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 More sharing options...
kristal Posted January 28, 2009 Author Share Posted January 28, 2009 Looks to me like your /includes/configure.php file is missing this: define('DIR_WS_INCLUDES', 'includes/'); I checked my file, and it does contain that. Link to comment Share on other sites More sharing options...
germ Posted January 28, 2009 Share Posted January 28, 2009 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 More sharing options...
kristal Posted January 28, 2009 Author Share Posted January 28, 2009 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 More sharing options...
NodsDorf Posted January 28, 2009 Share Posted January 28, 2009 Ekks ya don't use notepad :D Edit pad light is what I use, but I'm sure there are many others out there. Link to comment Share on other sites More sharing options...
kristal Posted January 28, 2009 Author Share Posted January 28, 2009 Ekks ya don't use notepad :D Edit pad light is what I use, but I'm sure there are many others out there. Thanks for that tip! lol I'm new to all this php stuff. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.