offhandgigabyte Posted April 23, 2010 Share Posted April 23, 2010 Just installed google feeder on my oscommerce website. I get the following errors. Warning: require(includes/configure.php) [function.require]: failed to open stream: No such file or directory in /var/www/vhosts/petestire.com/httpdocs/store/includes/application_top.php on line 28 Fatal error: require() [function.require]: Failed opening required 'includes/configure.php' (include_path='.:/usr/share/pear') in /var/www/vhosts/petestire.com/httpdocs/store/includes/application_top.php on line 28 anyone seen this before? Thanks Ray Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted April 23, 2010 Share Posted April 23, 2010 Just installed google feeder on my oscommerce website. I get the following errors. Warning: require(includes/configure.php) [function.require]: failed to open stream: No such file or directory in /var/www/vhosts/petestire.com/httpdocs/store/includes/application_top.php on line 28 Fatal error: require() [function.require]: Failed opening required 'includes/configure.php' (include_path='.:/usr/share/pear') in /var/www/vhosts/petestire.com/httpdocs/store/includes/application_top.php on line 28 anyone seen this before? Thanks Ray It cannot find the includes/configure.php file. When are you getting this? When you run the googlefeeder.php file? Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
offhandgigabyte Posted April 23, 2010 Author Share Posted April 23, 2010 It cannot find the includes/configure.php file. When are you getting this? When you run the googlefeeder.php file? If I go to the url and run it, it generates the error. I looked in the includes directory and the configure.php exists. /httpdocs/store/includes/configure.php Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted April 23, 2010 Share Posted April 23, 2010 If I go to the url and run it, it generates the error. I looked in the includes directory and the configure.php exists. /httpdocs/store/includes/configure.php Your googlefeeder.php file should be in your admin directory. Is it? Oh, and by the way, you really need some directory security on your admin directory. See 'How to Secure My Site' in my signature. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
offhandgigabyte Posted April 23, 2010 Author Share Posted April 23, 2010 Your googlefeeder.php file should be in your admin directory. Is it? Oh, and by the way, you really need some directory security on your admin directory. See 'How to Secure My Site' in my signature. Ok, I moved it to the admin directory. And now I get further, but still no file. All I get is this $cartbox $categorybox $manufacturerbox $specialbox $searchbox $informationbox Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted April 23, 2010 Share Posted April 23, 2010 Ok, I moved it to the admin directory. And now I get further, but still no file. All I get is this $cartbox $categorybox $manufacturerbox $specialbox $searchbox $informationbox That looks suspiciously like code from a template... are you using STS or anything? Have you mad ethe proper edits to the master settings in googlefeeder.php? Do you have a /catalog/feeds/ directory? Is the setting ftp_enabled set to 0? Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
offhandgigabyte Posted April 23, 2010 Author Share Posted April 23, 2010 That looks suspiciously like code from a template... are you using STS or anything? Have you mad ethe proper edits to the master settings in googlefeeder.php? Do you have a /catalog/feeds/ directory? Is the setting ftp_enabled set to 0? That was the issue, I had to create the /catalog/feeds directory. Once I did that I was able to get the file. Thanks for all your help. Ray Link to comment Share on other sites More sharing options...
offhandgigabyte Posted April 23, 2010 Author Share Posted April 23, 2010 That was the issue, I had to create the /catalog/feeds directory. Once I did that I was able to get the file. Thanks for all your help. Ray My output file has an incorrect url. It is passing out http://petestire.com/product_info.php?products_id=1 It should be http://petestire.com/store/product_info.php?products_id=1 Is their a place this needs to be inserted? Thanks Ray Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted April 23, 2010 Share Posted April 23, 2010 My output file has an incorrect url. It is passing out http://petestire.com/product_info.php?products_id=1 It should be http://petestire.com/store/product_info.php?products_id=1 Is their a place this needs to be inserted? Thanks Ray I had the same problem with mine, but that was in a very old version. I just manually changed the script. I would think that the more recent versions would not have this error (probably not even an error) so this may not work for you... Find this code about line 100 and see if it helps to simply add the 'catalog' into the path. if(SEO_ENABLED=='true'){ $productURL = 'product_info.php'; // ***** Revised for SEO $productParam = "products_id="; // ***** Added for SEO }else{ $productURL = 'http://' . DOMAIN_NAME . '/catalog/product_info.php?products_id='; } Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
offhandgigabyte Posted April 23, 2010 Author Share Posted April 23, 2010 I had the same problem with mine, but that was in a very old version. I just manually changed the script. I would think that the more recent versions would not have this error (probably not even an error) so this may not work for you... Find this code about line 100 and see if it helps to simply add the 'catalog' into the path. if(SEO_ENABLED=='true'){ $productURL = 'product_info.php'; // ***** Revised for SEO $productParam = "products_id="; // ***** Added for SEO }else{ $productURL = 'http://' . DOMAIN_NAME . '/catalog/product_info.php?products_id='; } Wow, You were right on again. That fixed it. Thank you so much for your help. Ray Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.