nihanshe Posted December 2, 2006 Posted December 2, 2006 please help now got this error Warning: main(includes/languages/english/FILENAME_DEFAULT): failed to open stream: No such file or directory in /home/turnedwooduk/public_html/catalog/index.php on line 33 Fatal error: main(): Failed opening required 'includes/languages/english/FILENAME_DEFAULT' (include_path='.:/usr/share/php') in /home/turnedwooduk/public_html/catalog/index.php on line 33 Nihanshe
Jack_mcs Posted December 2, 2006 Posted December 2, 2006 FILENAME_DEFAULT is a basic definition in the includes/filenames.php file. You must have deleted that somehow. If that is all that is missing, then you can add this to that file define('FILENAME_DEFAULT', 'index.php'); If not, you will need to grab a good copy and compare it to yours. 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
nihanshe Posted December 2, 2006 Author Posted December 2, 2006 FILENAME_DEFAULT is a basic definition in the includes/filenames.php file. You must have deleted that somehow. If that is all that is missing, then you can add this to that filedefine('FILENAME_DEFAULT', 'index.php'); If not, you will need to grab a good copy and compare it to yours. Jack Thanks Jack first time this has happened to me got it back now uploaded the original file filenames.php been messing around with some mods ie FAQ and invoice mods. Thanks for your help mate. Mervyn
nihanshe Posted December 2, 2006 Author Posted December 2, 2006 Thanks Jack first time this has happened to me got it back now uploaded the original file filenames.php been messing around with some mods ie FAQ and invoice mods. Thanks for your help mate. Mervyn
squishy00 Posted August 28, 2007 Posted August 28, 2007 Help!!! I have the same problem except that I have deleted the whole filenames.php file by stupidly saving another .php file over it - very stupid I know... Can anyone tell me where I can find a copy of the original filenames.php? I'm new to oscommerce and admit to finding it a tad confusing. I had created a general back-up and presumed this backed up everything.... After realizing my mistake I reloaded my back-up, but the file has still been written over in my backup too. How do you make a back up of your shop that is a true backup?? Thanks, I really appreciate any help anyone can give me!!! Karen
squishy00 Posted August 28, 2007 Posted August 28, 2007 Found the original file, so crisis is over!! :thumbsup: Cheers, Karen
Nullachtfuffzehn Posted August 28, 2007 Posted August 28, 2007 To back the shop up, copy it directly from the server to a different directory and save this to CD. After that, delete that directory on your PC, so there will be no confusion with different versions.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.