EnS Posted January 28, 2009 Share Posted January 28, 2009 Hello, I have been working diligently on this website for the past 2 months. Everything I have worked on has been destroyed (I actually cried T.T). I installed a contribution and all went wrong. I simply wanted a featured_products page in place of my new products page. However instead I have gotten numerous errors and missing pages. I tried to fix it and then tried to replace all the files I changed with the old ones but I am still getting errors reading: Warning: include(includes/modules/FILENAME_NEW_PRODUCTS) [function.include]: failed to open stream: No such file or directory in /home/ens/public_html/index.php on line 326 Warning: include(includes/modules/FILENAME_NEW_PRODUCTS) [function.include]: failed to open stream: No such file or directory in /home/ens/public_html/index.php on line 326 Warning: include() [function.include]: Failed opening 'includes/modules/FILENAME_NEW_PRODUCTS' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ens/public_html/index.php on line 326 Warning: include(includes/modules/FILENAME_UPCOMING_PRODUCTS) [function.include]: failed to open stream: No such file or directory in /home/ens/public_html/index.php on line 327 Warning: include(includes/modules/FILENAME_UPCOMING_PRODUCTS) [function.include]: failed to open stream: No such file or directory in /home/ens/public_html/index.php on line 327 Warning: include() [function.include]: Failed opening 'includes/modules/FILENAME_UPCOMING_PRODUCTS' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ens/public_html/index.php on line 327 on my front page and these errors on my new products page: Warning: require(includes/languages/english/FILENAME_PRODUCTS_NEW) [function.require]: failed to open stream: No such file or directory in /home/ens/public_html/products_new.php on line 15 Warning: require(includes/languages/english/FILENAME_PRODUCTS_NEW) [function.require]: failed to open stream: No such file or directory in /home/ens/public_html/products_new.php on line 15 Fatal error: require() [function.require]: Failed opening required 'includes/languages/english/FILENAME_PRODUCTS_NEW' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ens/public_html/products_new.php on line 15 I have no idea how to fix it and it looks like I have to re-do the entire website again. But I don't want to lose what little information I do have left on the site. is there anyway to fix this or can anyone give me a reason why it is broken? or do i have to reinstall again? Please help (before I kill myself)!! I will be forever grateful... Thank You in advance ^_^ Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 28, 2009 Share Posted January 28, 2009 Capital letters in errors like that means there are missing definitions. And since those particular definitions are in the filename.php file, it appears you overwrote yours with one that didn't have them in it. You will need to restore your original (merge with the new one ideally). If you don't have an original, you can get one from the latest oscommerce distribution. 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 More sharing options...
Guest Posted January 28, 2009 Share Posted January 28, 2009 If you made a backup copy of each file you modified when installing the contribution, you should have no trouble restoring the site by replacing the modified files with the original files. Print out the installation instructions for the contribution so you can go through them to make sure you've replaced all of the files that were modified. When you go to check to see if your site is back the way it was, don't forget to hit f5 to refresh the screen. I'd save the modified files too, and go back through them (with the installation instructions at hand) to see where things might have gone wrong. BTW, when adding or modifying code, you might try doing a cut-and-paste from the installation instructions to avoid introducing your own typos. Did you make any SQL changes as part of the installation? What's your URL? Link to comment Share on other sites More sharing options...
EnS Posted January 28, 2009 Author Share Posted January 28, 2009 my url is shinybodyjewelry.com and i had to make sql changes... Im really going nuts! I have tried to overwrite the newly updated files with the old ones but I'm still getting the same error. I can't access my new products page, my contact us page, and also privacy policy.. sigh. Link to comment Share on other sites More sharing options...
Guest Posted January 28, 2009 Share Posted January 28, 2009 my url is shinybodyjewelry.com and i had to make sql changes... Im really going nuts! I have tried to overwrite the newly updated files with the old ones but I'm still getting the same error. I can't access my new products page, my contact us page, and also privacy policy.. sigh. What contribution did you install? Have you restored your filename.php file as suggested? Link to comment Share on other sites More sharing options...
EnS Posted January 28, 2009 Author Share Posted January 28, 2009 I tried to install "Featured Products v1.6.3" I just reinstalled the filename.php and it fixed the errors... Thank you... I thought I already had replaced that one. Now that I made the worst mistake of restoring an old database... back to the drawing board. Thanks Dave ^_^;v.. and Jack. I wish I could press "undo" for the database mistake... Link to comment Share on other sites More sharing options...
EnS Posted January 28, 2009 Author Share Posted January 28, 2009 What contribution did you install? Have you restored your filename.php file as suggested? Thank you for the fast reply! You really were so helpful... I was on the brink of reinstalling the entire website out of frustration. You are a lifesaver! Now time to re-add all the lost items... THANK YOU DAVE<3 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.