Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unknown Install Errors


Guest

Recommended Posts

Hello Team,

 

I am installing OsCommerce at the moment. I have come to these errors:

 

New Installation

 

osCommerce Configuration

 

 

Warning: fopen(/jewchest/public_html/includes/configure.php): failed to open stream: No such file or directory in /home/jewchest/public_html/install/templates/pages/install_7.php on line 209

 

Warning: fputs(): supplied argument is not a valid stream resource in /home/jewchest/public_html/install/templates/pages/install_7.php on line 210

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/jewchest/public_html/install/templates/pages/install_7.php on line 211

 

Warning: fopen(/jewchest/public_html/admin/includes/configure.php): failed to open stream: No such file or directory in /home/jewchest/public_html/install/templates/pages/install_7.php on line 259

 

Warning: fputs(): supplied argument is not a valid stream resource in /home/jewchest/public_html/install/templates/pages/install_7.php on line 260

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/jewchest/public_html/install/templates/pages/install_7.php on line 261

The configuration was successful!

 

Does anyone have any idea what my problem is?

 

Many thanks

Link to comment
Share on other sites

Well, despite the message at the end that the configuration was successful I think you'll find that it wasn't.

 

The folders need to be either permissions (chmod) 755, or, given the problem you are having, 777, and the files within them 644, except for the two configure.php files (which have to be written to by the install) which, for the install, should be set to 777.

 

My advice, drop the tables in the database, upload the two default configure.php files again, check the permissions and re-run the install.

 

If you still have problems - post back here again.

 

Vger

Link to comment
Share on other sites

sorry, i am new at this, you kind of lost me.

 

how do i change the permissions, drop the tables?

 

many thanks

 

Well, despite the message at the end that the configuration was successful I think you'll find that it wasn't.

 

The folders need to be either permissions (chmod) 755, or, given the problem you are having, 777, and the files within them 644, except for the two configure.php files (which have to be written to by the install) which, for the install, should be set to 777.

 

My advice, drop the tables in the database, upload the two default  configure.php files again, check the permissions and re-run the install.

 

If you still have problems - post back here again.

 

Vger

Link to comment
Share on other sites

To drop the tables in the database you go to your web hosting control panel, follow the link to phpmyadmin (where you went to set up the blank database before you started the install - you did do this, right?).

 

In phpmyadmin, when the database tables are listed, click on the link which says 'select all' or 'tick all', and then to the right of that you'll find a drop-down link which says 'drop' and you select that and click 'go'.

 

It may be easier for you to just delete the database, and set up a new blank one.

 

To change the permissions, you have two options.

 

In your web hosting control panel you should have a File Manager, which wil allow you to set the permissions on the files.

 

If you FTP to your website you should be able to right-click on the folders or files and set the file permissions using the chmod command. This only works on Unix/Linux servers and does not work on Windows servers (which is what I think your site is located on).

 

Vger

Link to comment
Share on other sites

thanks again,

 

my server is linux. using your advice i got it working.

just another question. when you go to my site (www.thejewellerychest.com) it has these errors:

 

Warning: I am able to write to the configuration file: /home/jewchest/public_html/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

what number should i set it to?

Link to comment
Share on other sites

sorry for all these quetsions.

but i think i stuffed it up. i deleted some files because i thought i had to. now the site doesn't even load. how can i reinstall it? would i have to delete all the current files?

400 (Owner - Read Only)

 

Vger

Link to comment
Share on other sites

sorry,

but after i changed that number to 400 it comes up with teh followingg error:

 

Warning: main(includes/configure.php): failed to open stream: No such file or directory in /home/jewchest/public_html/includes/application_top.php on line 29

 

Warning: main(includes/configure.php): failed to open stream: No such file or directory in /home/jewchest/public_html/includes/application_top.php on line 29

 

Fatal error: main(): Failed opening required 'includes/configure.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jewchest/public_html/includes/application_top.php on line 29

 

?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...