Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Setup problem with application_top.php and configure.php


moezbud

Recommended Posts

Posted

I'm so sorry to bother you all with such a basic question... but, I've tried everything and just can't seem to figure this out.

 

After the initial installation, I clicked on the "catalog" button. Initially, I received warning messages indicating that I should change the permissions on my configure.php file. I proceeded to change the file to read only. When I refreshed, I received a series of error messages including:

 

 

Warning: main(includes/configure.php) [function.main]: failed to open stream: No such file or directory in /home/hgdadmin/public_html/catalog/includes/application_top.php on line 28

 

Fatal error: main() [function.require]: Failed opening required 'includes/configure.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hgdadmin/public_html/catalog/includes/application_top.php on line 28

 

I've looked and found that the configure.php file is indeed in the includes directory right there with the application_top.php file. I went into the application_top.php file and have tried everything that I could think of in the way of changing the path to the configure file.... no luck.

 

I'm dyin' here. This has GOT to be one of the most basic steps that is just supposed to work, and I'm stumbling over it....

 

Anyway, if anyone has any suggestions as to what I can do to resolve this, I'd really appreciate it.

 

Thanks!

Moez

Posted

OK. For any future users that receive this problem, here was my resolution.

 

After some google research, I went into application_top.php and changed the require statement for the configure.php file to an absolute path instead of relative:

 

require('/home/hgdadmin/public_html/catalog/includes/configure.php');

 

I don't know why the other way did not work for me, but I'm willing to be fat, dumb and happy and just go with it....

 

 

Moez

Posted
OK. For any future users that receive this problem, here was my resolution.

 

After some google research, I went into application_top.php and changed the require statement for the configure.php file to an absolute path instead of relative:

 

require('/home/hgdadmin/public_html/catalog/includes/configure.php');

 

I don't know why the other way did not work for me, but I'm willing to be fat, dumb and happy and just go with it....

 

 

Moez

 

Thanks for the tip Moez, I was having a similar issue but instead set the check rule to false on line 506

 

define('WARN_CONFIG_WRITEABLE', 'false');

 

because I had to get the site up and could not figure out why this permission issue was coming up despite what I tried...I'll be sure to try this when I get home later today, also I was having broken links on all my button images and may try this too...hopefully it works cause im getting a 403 forbidden on all button links :angry:

 

thanks ;)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...