Karenlo Posted December 19, 2007 Posted December 19, 2007 Hello fellow osCommercers. I am in a bit of trouble. I am not a .php coder (at all) and scraped by with my on-line store by the skin of my teeth. I have a link to the store from my website and get the following error when I (and my visitors) click on the link. I have gone to the file and found line 29 - it is nothing that I have altered - I actually believe that I have not changed anything in it at all (ever). Anyone have any ideas why this would cause my site to go down? Warning: main(includes/configure.php): failed to open stream: No such file or directory in /home/minds-ey/public_html/osCommerce/catalog/includes/application_top.php on line 29 Warning: main(includes/configure.php): failed to open stream: No such file or directory in /home/minds-ey/public_html/osCommerce/catalog/includes/application_top.php on line 29 Fatal error: main(): Failed opening required 'includes/configure.php' (include_path='.:/usr/local/lib/php') in /home/minds-ey/public_html/osCommerce/catalog/includes/application_top.php on line 29 This is what is on Line 29: // include server parameters require('includes/configure.php'); I have not touched this site since October, so I have no idea how includes/configure.php could suddenly not be there. Thank you so much (in advance) for any help...!!!!!!!! Warm regards, KarenLo
dameon Posted December 19, 2007 Posted December 19, 2007 Odd. I am not a PHP coder either but by juding by the errors it looks like that something might be looking for /configure.php in /includes/application_top.php ... but it should be looking for it in /includes This is probably not it, just a guess. Try reuploading your config file with the correct info.
Karenlo Posted December 19, 2007 Author Posted December 19, 2007 In further looking, I don't see my config file anywhere. This is so strange! Does anyone out there have the original config file that I could upload? Would that correct the problem??
Guest Posted December 19, 2007 Posted December 19, 2007 Hello fellow osCommercers. I am in a bit of trouble. I am not a .php coder (at all) and scraped by with my on-line store by the skin of my teeth. I have a link to the store from my website and get the following error when I (and my visitors) click on the link. I have gone to the file and found line 29 - it is nothing that I have altered - I actually believe that I have not changed anything in it at all (ever). Anyone have any ideas why this would cause my site to go down? Warning: main(includes/configure.php): failed to open stream: No such file or directory in /home/minds-ey/public_html/osCommerce/catalog/includes/application_top.php on line 29 Warning: main(includes/configure.php): failed to open stream: No such file or directory in /home/minds-ey/public_html/osCommerce/catalog/includes/application_top.php on line 29 Fatal error: main(): Failed opening required 'includes/configure.php' (include_path='.:/usr/local/lib/php') in /home/minds-ey/public_html/osCommerce/catalog/includes/application_top.php on line 29 This is what is on Line 29: // include server parameters require('includes/configure.php'); I have not touched this site since October, so I have no idea how includes/configure.php could suddenly not be there. Thank you so much (in advance) for any help...!!!!!!!! Warm regards, KarenLo I would say your web space provider may have changed something - or - that configure.php is missing now from the includes directory. Try changing that line 29 in application_top.php to something like :- require('/home/minds-ey/public_html/osCommerce/catalog/includes/configure.php'); or simply :- require('configure.php'); If neither of them work check that configure.php is actually there. Gav...
Karenlo Posted December 19, 2007 Author Posted December 19, 2007 Thank you, Gav. I tried your suggestions and apparently my configure.php is no longer in my file manager. Don't see it anywhere. (!) Any idea how I could get even a generic version of the osCommerce configure.php file?
bobg7 Posted December 19, 2007 Posted December 19, 2007 Do you have a copy or backup? If you do you have the configure.php already. Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going.
nimz Posted December 19, 2007 Posted December 19, 2007 open notepad and paste the following in it: <?php define('HTTP_SERVER', 'http://yoursite.com'); define('HTTPS_SERVER', 'http://yoursite.com'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'yoursite.com'); define('HTTPS_COOKIE_DOMAIN', 'yoursite.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', 'full address from root to catalog ex: /home/webguru/public_html/osc/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'database user's name'); define('DB_SERVER_PASSWORD', 'database user's password'); define('DB_DATABASE', 'database name'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> now edit all lines that have instructions in them with appropriate values. leave the rest as they are. save the file as configure.php and upload it to your catalog/includes folder. you'll be good to go. you better investigate how this thing happened. Santa's little freelancer
Karenlo Posted December 20, 2007 Author Posted December 20, 2007 Thank you very much!!! I called StartLogic (my web host) and they are looking into why it happened. It is with their "escalated" tech team. I really appreciate your help!
hsmom13 Posted December 20, 2007 Posted December 20, 2007 Thank you very much!!! I called StartLogic (my web host) and they are looking into why it happened. It is with their "escalated" tech team. I really appreciate your help! Hi Karen, I am new also and signed up with StartLogic. I got a bad error the other day (only html on the index page--post made yesterday for help) and it didn't occur to me that it might be on StartLogic's end. (I thought it must be something I did). Anyway, did you have an hour on hold to get to them? I have been hesitant to call or do the online chat since I have done that 4 times in the last week and waited an hour + each time. hsmom13
Karenlo Posted December 27, 2007 Author Posted December 27, 2007 Hi Karen, I am new also and signed up with StartLogic. I got a bad error the other day (only html on the index page--post made yesterday for help) and it didn't occur to me that it might be on StartLogic's end. (I thought it must be something I did). Anyway, did you have an hour on hold to get to them? I have been hesitant to call or do the online chat since I have done that 4 times in the last week and waited an hour + each time. hsmom13
Karenlo Posted December 27, 2007 Author Posted December 27, 2007 I have had mediocre results with Startlogic customer service. With this particular situation, I did get a friendly person - but after about 1.5 hours on the phone (including hold time), I was told that it would have to be escalated to their more technical crew and it would be up to 48 hours before I heard back. I heard back via email about 3 days later and they told me what I already knew...that my configure.php file was gone. No explanation as to why/how that would have happened. So, not helpful. I have to say that I'm not impressed... My store is still down. Unfortunately, the code provided in this email worked to a point, but none of my graphics or layout were maintained. Good luck with yours!
Guest Posted December 28, 2007 Posted December 28, 2007 I have had mediocre results with Startlogic customer service. With this particular situation, I did get a friendly person - but after about 1.5 hours on the phone (including hold time), I was told that it would have to be escalated to their more technical crew and it would be up to 48 hours before I heard back. I heard back via email about 3 days later and they told me what I already knew...that my configure.php file was gone. No explanation as to why/how that would have happened. So, not helpful. I have to say that I'm not impressed... My store is still down. Unfortunately, the code provided in this email worked to a point, but none of my graphics or layout were maintained. Good luck with yours! I hope you guys are not using the admin filemanager to do your ftp and edits. You should be using an ftp program (filezilla is one) and a text editor. Do your edits on your pc, and have backup files on your pc. If you install wamp or xamp, you can even have a test site on your pc.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.