Guest Posted March 8, 2003 Share Posted March 8, 2003 I'm getting this error message & cant get in to my shop, or the admin section. :cry: Parse error: parse error in /home/bfnmama/public_html/shop/includes/application_top.php on line 137 Fatal error: Failed opening required 'DIR_WS_LANGUAGES/FILENAME_DEFAULT' (include_path='') in /home/bfnmama/public_html/shop/index.php on line 33 I hadn't changed anything when the error started & it was working fine a few seconds earlier, so I don't know where to start. If I reload these files, how much work will it wipe out? Link to comment Share on other sites More sharing options...
Ajeh Posted March 8, 2003 Share Posted March 8, 2003 If you renamed your default.php to index.php ... go to the /includes/languages/english folder and rename default.php to index.php also ... :D Link to comment Share on other sites More sharing options...
Guest Posted March 8, 2003 Share Posted March 8, 2003 Thanks for the suggestion, but I haven't renamed anything yet. The only change I've made to any related files is the text on the first page and deleting the other languages. That was done a good 24 hours before the error message started appearing. Link to comment Share on other sites More sharing options...
Ajeh Posted March 8, 2003 Share Posted March 8, 2003 Thanks for the suggestion, but I haven't renamed anything yet. The only change I've made to any related files is the text on the first page and deleting the other languages. That was done a good 24 hours before the error message started appearing. If you did not rename anything ... and it wants to load index.php ... somewhere ... someone ... changed the definition for FILENAME_DEFAULT to index.php and someone ... somewhere ... needs to rename the files to match this so that somehow ... somewhere that file can load ... somewhere ... :D Link to comment Share on other sites More sharing options...
toolcrazy Posted March 8, 2003 Share Posted March 8, 2003 Parse error: parse error in /home/bfnmama/public_html/shop/includes/application_top.php on line 137 Fatal error: Failed opening required 'DIR_WS_LANGUAGES/FILENAME_DEFAULT' (include_path='') in /home/bfnmama/public_html/shop/index.php on line 33 If I reload these files, how much work will it wipe out? It is weird error then because the only file named index.php is in the install dir and that should of been deleted after the install. The only way you would get this error is you have a file names index.php. I know you said you haven't renamed anything. As far as re-uploading your files, it shouldn't matter if the upload is a very recent backup of your store. Just don't overwrite your configure.php files. Oh, and one more thing, you might want to check the paths in both your configure.php file to make sure something hasn't changed. Steve ------------------------- Link to comment Share on other sites More sharing options...
Guest Posted March 9, 2003 Share Posted March 9, 2003 I've tried changing filenames, checking paths, etc but now i'm getting a slightly different error message. Parse error: parse error in /home/bfnmama/public_html/shop/admin/includes/application_top.php on line 132 Fatal error: Call to undefined function: tep_href_link() in /home/bfnmama/public_html/shop/admin/index.php on line 17 i.e. same files, just different line nos. :cry: I've now also gone through the folders & it appears the original download version of OScommerce has been reloaded! All my images are gone & the OS introductory text is there again. However I'm still getting the error messages, so what should I do next? Can I delete the OScommerce files without deleting the PHP database with my product details? Then I can reload & hopefully be error free. ( :oops: I don't have a backup of the store, so that's going to be the first thing on my list when its sorted!!!) I hope this makes sense - I'm full of a cold so not at my best. Thanks for all your help so far guys & gals. :D Link to comment Share on other sites More sharing options...
Ajeh Posted March 9, 2003 Share Posted March 9, 2003 First the errors may have the same filename on the end, but they are not the same files unless you moved something. Look at the full path here on the first errors: Parse error: parse error in /home/bfnmama/public_html/shop/includes/application_top.php on line 137 Fatal error: Failed opening required 'DIR_WS_LANGUAGES/FILENAME_DEFAULT' (include_path='') in /home/bfnmama/public_html/shop/index.php on line 33 Now look at the full path on the second set of files: Parse error: parse error in /home/bfnmama/public_html/shop/admin/includes/application_top.php on line 132 Fatal error: Call to undefined function: tep_href_link() in /home/bfnmama/public_html/shop/admin/index.php on line 17 First, where exactly are you when you get the error? Are you in the Catalog? Or, are you in the Admin? Link to comment Share on other sites More sharing options...
Guest Posted March 9, 2003 Share Posted March 9, 2003 First the errors may have the same filename on the end, but they are not the same files unless you moved something. Yes, you're right of couse! I think this cold is affecting my brain :wink: First, where exactly are you when you get the error? Are you in the Catalog? Or, are you in the Admin? I'm getting the errors in both! :( I'm tempted to cut my losses & start over. I'm spending time trying to figure this out when I should be working on the content. At least now I'm familiar it shouldn't take as long to do, assuming it fixes the error. Is it worthwhile my switching to the latest version at the same time, or will that mean I'll have to start figuring it out all over again? Link to comment Share on other sites More sharing options...
Ajeh Posted March 9, 2003 Share Posted March 9, 2003 I would move on to the latest version. The issues you are having are the same whether the older or newer are used ... :D Might as well suffer for the current version ... :shock: Link to comment Share on other sites More sharing options...
Guest Posted March 9, 2003 Share Posted March 9, 2003 Well, I now have sparkly new 2.2, & the error messages have stopped (fingers crossed!) Thanks for your help, Linda. Cool name, btw, even though you've spelt it wrong! :wink: the one with a 'y' 8) Link to comment Share on other sites More sharing options...
Ajeh Posted March 9, 2003 Share Posted March 9, 2003 lol ... glad things are working happily for you now ... But the I's have it ... :wink: Link to comment Share on other sites More sharing options...
Guest Posted March 9, 2003 Share Posted March 9, 2003 But the I's have it ... Y do you say that? (sorry, I think the lemsip must have gone to my head! :lol: ) Link to comment Share on other sites More sharing options...
Ajeh Posted March 9, 2003 Share Posted March 9, 2003 I can see how It mIght happen to anyone ... :D Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.