scotymax Posted February 9, 2005 Share Posted February 9, 2005 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 More sharing options...
sperdie Posted February 10, 2005 Share Posted February 10, 2005 Do you have Front Page extensions enabled? If so they must be disabled because enabling them will change all file permissions to read only. Hope this helps. Link to comment Share on other sites More sharing options...
♥Vger Posted February 10, 2005 Share Posted February 10, 2005 You need to delete the install folder before you can view your website. If the install directory still exists osCommerce is set to direct to it instead of the homepage. Vger Link to comment Share on other sites More sharing options...
scotymax Posted February 10, 2005 Author Share Posted February 10, 2005 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 More sharing options...
♥Vger Posted February 10, 2005 Share Posted February 10, 2005 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 More sharing options...
scotymax Posted February 10, 2005 Author Share Posted February 10, 2005 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 More sharing options...
nottheusual1 Posted February 11, 2005 Share Posted February 11, 2005 hostonce.com <{POST_SNAPBACK}> <<snicker>> do you think someone got paid to think up that name!?!?!? <</snicker>> :not_the_usual1 [you decide] -- Trying to figure it out, just like everyone else -- Link to comment Share on other sites More sharing options...
scotymax Posted February 12, 2005 Author Share Posted February 12, 2005 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.