kate4567 Posted November 28, 2004 Posted November 28, 2004 Hi folks, I'm wondering if someone might help me. During my configuration process, I got these messages: Warning: fopen(/home/www/asmartgift.com/admin/includes/configure.php): failed to open stream: No such file or directory in /home/www/asmartgift.com/install/templates/pages/install_7.php on line 259 Warning: fputs(): supplied argument is not a valid stream resource in /home/www/asmartgift.com/install/templates/pages/install_7.php on line 260 Warning: fclose(): supplied argument is not a valid stream resource in /home/www/asmartgift.com/install/templates/pages/install_7.php on line 261 The configuration was successful! It says configuration was successful, but there are several warnings before that. Before configuration, I changed the name of my database (the admin folder, right?), then I attempted to update admin/includes/configure.php with my new database name. But I wasn't exactly sure how to do this, so I probably botched it. What exactly should I change in the configure.php file? And if my web host has decided that my database is named a certain name, do I need to change the admin directory's name to that same name? And do I also change something in the configure.php file to that same name? Thanks.
Guest Posted November 28, 2004 Posted November 28, 2004 during the configuration of the system, the configure.php files listed need to have permissions to be written to, thus 777. after the installation is done, change the permissions to 644.
kate4567 Posted November 28, 2004 Author Posted November 28, 2004 Hi folks, I'm wondering if someone might help me. During my configuration process, I got these messages: Warning: fopen(/home/www/asmartgift.com/admin/includes/configure.php): failed to open stream: No such file or directory in /home/www/asmartgift.com/install/templates/pages/install_7.php on line 259 Warning: fputs(): supplied argument is not a valid stream resource in /home/www/asmartgift.com/install/templates/pages/install_7.php on line 260 Warning: fclose(): supplied argument is not a valid stream resource in /home/www/asmartgift.com/install/templates/pages/install_7.php on line 261 The configuration was successful! It says configuration was successful, but there are several warnings before that. Before configuration, I changed the name of my database (the admin folder, right?), then I attempted to update admin/includes/configure.php with my new database name. But I wasn't exactly sure how to do this, so I probably botched it. What exactly should I change in the configure.php file? And if my web host has decided that my database is named a certain name, do I need to change the admin directory's name to that same name? And do I also change something in the configure.php file to that same name? Thanks. <{POST_SNAPBACK}>
Guest Posted November 28, 2004 Posted November 28, 2004 the configuration never completed. use your host file manager or an ftp program and set the properties to 777 for the two configure.php files, one located in the includes and the other in the admin/includes after installation, change to 644
kate4567 Posted November 28, 2004 Author Posted November 28, 2004 I'm using ftp explorer, and there does not seem to be any way to change permissions. Does anyone know how to do this with ftp explorer (or any other way)? during the configuration of the system, the configure.php files listed need to have permissions to be written to, thus 777. after the installation is done, change the permissions to 644. <{POST_SNAPBACK}>
Guest Posted November 28, 2004 Posted November 28, 2004 if you right click on the file you will see either properties or permissions, then you can change the file permissions there.
kate4567 Posted November 28, 2004 Author Posted November 28, 2004 When I right-click the configure.php file, I only have three choices under Properties: Read Only, Archive, and Hidden. There are no chmod numbers, and my ftp program (ftp explorer) doesn't let me change chmod. If I choose Read Only, Archive and/or Hidden, will that do the trick? if you right click on the file you will see either properties or permissions, then you can change the file permissions there. <{POST_SNAPBACK}>
Guest Posted November 28, 2004 Posted November 28, 2004 uncheck the read only, check it when done installing
kate4567 Posted November 28, 2004 Author Posted November 28, 2004 I have a Properties option, but only three options past that: Hidden, Archive and Read Only. Which do I choose for chmod 777, and which for 644? Because there are no chmod choices and no number choices given. When I right-click the configure.php file, I only have three choices under Properties: Read Only, Archive, and Hidden. There are no chmod numbers, and my ftp program (ftp explorer) doesn't let me change chmod. If I choose Read Only, Archive and/or Hidden, will that do the trick? <{POST_SNAPBACK}>
kate4567 Posted November 28, 2004 Author Posted November 28, 2004 Okay, thanks very much for your help. But now I'm getting this message when I try to reconfigure: Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/www/asmartgift.com/includes/functions/database.php on line 19 Unable to connect to database server! uncheck the read only, check it when done installing <{POST_SNAPBACK}>
Guest Posted November 28, 2004 Posted November 28, 2004 as you only have those options i posted this: uncheck the read only, check it when done installing this is all you need to do. nnothing more.
kate4567 Posted November 28, 2004 Author Posted November 28, 2004 But I cannot get into the installation anymore. Now I get this message when I try: Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/www/asmartgift.com/includes/functions/database.php on line 19 Unable to connect to database server! as you only have those options i posted this: uncheck the read only, check it when done installing this is all you need to do. nnothing more. <{POST_SNAPBACK}>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.