Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

final leg of configuration


scotymax

Recommended Posts

i recieved the following warnings at the end of configuration. i recieve another if i select "administrative tools" and i get dumped back intil installation if i click "catalog"

 

Warning: fopen(E:/home/Default/getskates.com/htdocs/catalog/includes/configure.php): failed to open stream: Permission denied in E:\home\Default\getskates.com\htdocs\catalog\install\templates\pages\install_7.php on line 209

 

Warning: fputs(): supplied argument is not a valid stream resource in E:\home\Default\getskates.com\htdocs\catalog\install\templates\pages\install_7.php on line 210

 

Warning: fclose(): supplied argument is not a valid stream resource in E:\home\Default\getskates.com\htdocs\catalog\install\templates\pages\install_7.php on line 211

 

Warning: fopen(E:/home/Default/getskates.com/htdocs/catalog/admin/includes/configure.php): failed to open stream: Permission denied in E:\home\Default\getskates.com\htdocs\catalog\install\templates\pages\install_7.php on line 259

 

Warning: fputs(): supplied argument is not a valid stream resource in E:\home\Default\getskates.com\htdocs\catalog\install\templates\pages\install_7.php on line 260

 

Warning: fclose(): supplied argument is not a valid stream resource in E:\home\Default\getskates.com\htdocs\catalog\install\templates\pages\install_7.php on line 261

The configuration was successful!

 

________________________________________________

 

sorry if this is reocurring problem, i tried to scan through other topics for a fix. anyone that can help? chmod problem? i'm not sure... (obviously)

Link to comment
Share on other sites

i've turned off the frontpage extensions and decided to start clean by removing the database (but now having problems with the host in creating a new database).

 

thanks for pointing out the need to remove the install directory (not required with most systems like this, although recomended). however, that itself doesn't explain all of the warnings i recieved, as well as the warning recieved when i attempted to go to the administrative tools, even though it said configuration was sucessful.

 

if frontpage extensions change everything to read-only, do i need to go back and reset chmod permissions for any files?

Link to comment
Share on other sites

In addition to turning off FrontPage extensions I would also recommend that you delete all folders beginning with vti_ via FTP. Just turning off FrontPage extensions does not normally delete the folders on your site.

 

As for permissions, FTP to your site and check them out. Folders should be 755 and files should be 644, except for the two configure.php files which should be 400. If this is a Windoze server then you're going to have to reset the permissions using your web hosting control panel - quite frankly, it would be quicker to reinstall than do that.

 

I would never use a Windows server for an application that requires PHP and MySQL. Windows servers work best with ASP and MS SQL, and Linux/Unix servers work best with PHP and MySQL - fact of life. Most hosting companies in order to run PHP on a Windows server place so many restrictions on what you can do that it makes an easy install process on Linux/Unix servers into a bit of a nightmare on a Windows server.

 

Vger

Link to comment
Share on other sites

thanks for the additional insite. i've never had to worry about frontpage extensions (i hate frontpage and for all of my sites i write all html/css from scratch in notepad). i've also always used linux/unix based hosting companies.

 

unfortunately in this case, the person i'm setting the site up for had been using frontpage for everything, and was using a hosting company using windows. i'm also still waiting for them to correct the database problem on their end (not able to create one now after deleting the other one)... i wouldn't recomend hostonce.com

Link to comment
Share on other sites

tech support for the hosting company finally corrected the problem with creating a new database, so i reuploaded all the files from the catalog folder. i then checked chmod from my ftp program (ws_ftp_le) and it SAID it was having no problem check and modifying permissions, however i know that might be incorrect. the hosting company has nothing that will allow chmod in their control pannel for the site.

 

i went ahead and re-ran the configuration. everything went fine until the last part. i again got the same error that i copied and pasted at the start of this thread. in viewing the adminstrative tools page, i also get the following error:

 

Warning: mysql_connect(): Can't connect to MySQL server on 'localhost' (10061) in E:\home\Default\getskates.com\htdocs\catalog\admin\includes\functions\database.php on line 19

Unable to connect to database server!

 

it remarks "cannot connect to mysql server on localhost"... though the configuration indicated that all ips and urls i was using were accurate and it was making sucessful connections to the database.

 

i've checked the code for the php files on both the folder downloaded from oscommerce and the files uploaded, and notice those annoying rectangles that replace line-breaks sometimes, but my understanding is that doesnt change the functionality, just makes it more difficult to read and modify.

 

i checked another store that my friend and i set up (with no problem on a linux server), none of those rectangles-replacing-line-breaks.

 

any new ideas?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...