kristal Posted May 23, 2006 Posted May 23, 2006 I'm getting some errors on my site, and I'm not sure what happened... the only thing I changed was I added in some SQL coding for a new mod I wanted to add. I did go and update files for the new mod, but then I went back and undid what I updated, but I'm still getting the errors. On the front of my site it says: Warning: main(includes/modules/FILENAME_UPCOMING_PRODUCTS): failed to open stream: No such file or directory in /home/create/public_html/store/index.php on line 316 Warning: main(includes/modules/FILENAME_NEW_PRODUCTS): failed to open stream: No such file or directory in /home/create/public_html/store/index.php on line 313 I'm also getting: Warning: main(includes/modules/FILENAME_NEW_PRODUCTS): failed to open stream: No such file or directory in /home/create/public_html/store/index.php on line 121 Warning: main(includes/modules/FILENAME_PRODUCT_LISTING): failed to open stream: No such file or directory in /home/create/public_html/store/index.php on line 280 Warning: main(): Failed opening 'includes/modules/FILENAME_PRODUCT_LISTING' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/create/public_html/store/index.php on line 280 and some others... what happened here? I didn't edit any of the files it is mentioning... Could it be due to a screw up in the SQL?? If so, how would I fix it? Is it possible to delete everything in SQL and start over? lol I'm a newbie when it comes to SQL...
choosealogin Posted May 23, 2006 Posted May 23, 2006 Have you confirmed that the files noted in the errors are indeed in the locations that the errors mention? The first error is the most important one. Warning: main(includes/modules/FILENAME_UPCOMING_PRODUCTS): failed to open stream: No such file or directory in /home/create/public_html/store/index.php on line 316 Make sure that FILENAME_UPCOMING_PRODUCTS (upcoming_products.php) is indeed in your store/includes/modules folder. Make sure it's there. As far as the SQL goes, the best thing would have been to go to admin>tools>database backup (before installing the contribution). The tool there will back up the database, providing a nice way out if something goes wrong. That only backs up the database. It's a good idea to download the shop files to have a backup of those too. At least, the files you're going to edit. Check the file...and I'm sure more help will come along.
kristal Posted May 23, 2006 Author Posted May 23, 2006 Have you confirmed that the files noted in the errors are indeed in the locations that the errors mention? The first error is the most important one. Warning: main(includes/modules/FILENAME_UPCOMING_PRODUCTS): failed to open stream: No such file or directory in /home/create/public_html/store/index.php on line 316 Make sure that FILENAME_UPCOMING_PRODUCTS (upcoming_products.php) is indeed in your store/includes/modules folder. Make sure it's there. As far as the SQL goes, the best thing would have been to go to admin>tools>database backup (before installing the contribution). The tool there will back up the database, providing a nice way out if something goes wrong. That only backs up the database. It's a good idea to download the shop files to have a backup of those too. At least, the files you're going to edit. Check the file...and I'm sure more help will come along. Yup... the file is still there.. and no, I didn't backup the database. :( Stupid me! lol I had used the mod before with no problems, so I didn't think to do so. If I just replaced the SQL database with a new version, will I loose any of my products/info??
kristal Posted May 23, 2006 Author Posted May 23, 2006 I looked over the installed SQL for the mod I was adding, and all it does is add in two new tables without touching the other tables... so I went into my SQL admin and droped the two new tables, but I'm still getting the same error. I dont' know what else it could be, the site was working just fine, then I updated for a new mod, but I since then reverted the site back to the way it was. I had all my files saved before I did the mod, and went back to the originals, and I droped the new SQL tables.... so what's up with these errors!!??
drone99 Posted May 23, 2006 Posted May 23, 2006 I'm somewhat having your same problem... except mines is related to something Apple did with php. For my thread... read here... Although no one has responded to me. http://www.oscommerce.com/forums/index.php?showtopic=210713&st=
Recommended Posts
Archived
This topic is now archived and is closed to further replies.