Re: Another Dummy With another dumb question

DiamondSea <[email protected]>
Newsgroups gmane.comp.web.oscommerce.contributions
Message-ID <d81fbde134596550df017fd51a6f0c19@osCommerce-Forums>
This message was sent from: Contributions
http://forums.oscommerce.com/viewtopic.php?p=227181#227181
----------------------------------------------------------------

[quote="southernbargains"]well im sure your use to dumb questions by now.. So one more shouldnt hurt.. Im new to this and attempting to learn by trail n error along with some reading, but ive downloaded the  sts system and uploaded all the php files and the html file into includes..  this is the message I get , 

Warning: main(includes/filenames.php): failed to open stream: No such file or directory in /home/freedom/public_html/test/includes/application_top.php on line 53

Fatal error: main(): Failed opening required 'includes/filenames.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/freedom/public_html/test/includes/application_top.php on line 53

I have tinkered, edited and every thing that my limited knowledge can think to do.. now im looking for some  meger education.. Thanks
Jerry[/quote]

Dumb questions are fine, as long as they're easy ones.   :wink: 

Did you test your installation and see if it worked before installing the STS mods?

I notice that you don't have a /catalog/ directory listed in the error message.  Are the files from your /catalog/ directory actually stored in your /home/freedom/public_html/test/ directory?

Make sure all the OSC files are actually in the .../catalog/includes/ directory.

It looks like you might have deleted the files in the directory (filenames.php in particular).  It looks like you might have deleted them and then installed the ones from STS.  Don't do that.  Simply copy the files from STS into the directory to replace what's there.  Leave the rest of the files alone.

Then, check the permissions of the files and make sure that the web server process (usually, Apache runs as the user "nobody").  If you're running Linux/Unix try typing [code]cd /home/freedom/public_html/test/includes/
chmod 755 *.php[/code]

This will set all your PHP files to be readable to all processes on the system, and only writable by you.
This should make sure that the web server can actually read your files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.