newbieman Posted March 2, 2007 Posted March 2, 2007 After changing the two configure.php files, I now see the following (only) on the website: Warning: main(/ecomm/includes/filenames.php): failed to open stream: No such file or directory in /var/www/html/ecomm/includes/application_top.php on line 60 Fatal error: main(): Failed opening required '/ecomm/includes/filenames.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/ecomm/includes/application_top.php on line 60 The difference between the working oscommerce and this copy is that it is no longer placed in the root of the webserver. Rather now, it is placed entirely into a folder called "ecomm." To the best of my "beginner's oscommerce skills" abilities, I changed the two configure.php files appropriately. Any ideas.
newbieman Posted March 3, 2007 Author Posted March 3, 2007 Anyone.... if anyone is for hire, I will be happy to pay (via paypal) for assistance in getting this website up and working. But I need to actually do the work. I am trying to learn as I go here so this is why I haven't outright hired someone to do this for me. After changing the two configure.php files, I now see the following (only) on the website:Warning: main(/ecomm/includes/filenames.php): failed to open stream: No such file or directory in /var/www/html/ecomm/includes/application_top.php on line 60 Fatal error: main(): Failed opening required '/ecomm/includes/filenames.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/ecomm/includes/application_top.php on line 60 The difference between the working oscommerce and this copy is that it is no longer placed in the root of the webserver. Rather now, it is placed entirely into a folder called "ecomm." To the best of my "beginner's oscommerce skills" abilities, I changed the two configure.php files appropriately. Any ideas.
newbieman Posted March 4, 2007 Author Posted March 4, 2007 It seems to me that the fact that I am attempting to place oscommerce into a folder (e.g. root/ecomm) is the problem. Oscommerce seems to function only when in the root. Without editing a large number of files, is there a way to allow oscommerce to work this way? Your kind help is appreciated.
newbieman Posted March 5, 2007 Author Posted March 5, 2007 I am not sure what it takes to find help but.... I am writing this for the benefit of anyone else that is or will be in my situation. After some experimenting I have come to the conclusion that a working (or otherwise) oscommerce site will not work in a sub-folder. Its code is written in a manner that it assumes that oscommerce is being placed in the root. (eg. www.somesite.com/index.php NOT www.somesite.com/storefolder/index.php). If you still need to place your store outside of the root for various reasons such as running more than one store or otherwise, the solution is to create a sub-domain. Most hosting sites will allow this and it is as easy as going into your hosting site web control panel. To access your new store, it will be www.newsubdomain.yourwebsite.com. If you find that cumbersome, it is always possible to simplify this by going to a service that offers website redirection with a new unique website name. Although my experimental store works to this extent that the database and catalog work, I still have some problems to solve. If someone could be so kind as to give me a tiny hint, I will appreciate it. The current problems: 1. Catalog images do not appear (the catalog index pictures are also missing) 2. I see a message stating, "Warning: The downloadable products directory does not exist: /download/. Downloadable products will not work until this directory is valid." 3. I cannot access the web admin panel when I type in www.ecomm.mysite.com/admin/login.php it immediate resolves into www.ecomm.mysite.com/var/www/ecomm/admin/login.php "The requested URL /var/www/ecomm/admin/login.php was not found on this server." - technically this is its correct absolute path but I get a 404 error (page not found) These problems persist despite everything seeming correct in both configure.php files. Any hints are appreciated. After changing the two configure.php files, I now see the following (only) on the website:Warning: main(/ecomm/includes/filenames.php): failed to open stream: No such file or directory in /var/www/html/ecomm/includes/application_top.php on line 60 Fatal error: main(): Failed opening required '/ecomm/includes/filenames.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/ecomm/includes/application_top.php on line 60 The difference between the working oscommerce and this copy is that it is no longer placed in the root of the webserver. Rather now, it is placed entirely into a folder called "ecomm." To the best of my "beginner's oscommerce skills" abilities, I changed the two configure.php files appropriately. Any ideas.
newbieman Posted March 5, 2007 Author Posted March 5, 2007 I guess I can't beg, borrow, buy, or steal a clue from anyone. :-(
satish Posted March 5, 2007 Posted March 5, 2007 Can You place your configure.php so that it can be gone thru and commented. In oscommerce If a folder shift is done then You need to modify configure.php But in YOur case it appears that filenames.php does not exist or permissions are not as needed. Satish Mantri Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
newbieman Posted March 5, 2007 Author Posted March 5, 2007 Can You place your configure.php so that it can be gone thru and commented.In oscommerce If a folder shift is done then You need to modify configure.php But in YOur case it appears that filenames.php does not exist or permissions are not as needed. Satish Mantri Wow! Thanks for the reply Satish! I was beginning to believe that I smelled or something because I wasn't getting any reply. LOL Actually, I am well past the original errors. After editing and re-editing the configure.php files, finally got the site working. Except for the following problems: 1. Catalog images do not appear (the catalog index pictures are also missing) 2. I see a message stating, "Warning: The downloadable products directory does not exist: /download/. Downloadable products will not work until this directory is valid." 3. I cannot access the web admin panel when I type in www.ecomm.mysite.com/admin/login.php it immediate resolves into www.ecomm.mysite.com/var/www/ecomm/admin/login.php "The requested URL /var/www/ecomm/admin/login.php was not found on this server." - technically this is its correct absolute path but I get a 404 error (page not found) These problems persist despite everything seeming correct in both configure.php files. Any assistance will be most appreciated.
satish Posted March 9, 2007 Posted March 9, 2007 1. Catalog images do not appear (the catalog index pictures are also missing) Please click mon the red x that is there and repeat propenrty and path now check if on the given path your images exiat.If they do then set proper permission else modify your config.php so that it points to images in proper folder. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.