Guest Posted April 12, 2004 Posted April 12, 2004 I've got this message after that I've been oploaded and installed the program. The message is on toop of the screen. Warning: is_dir() [function.is-dir]: SAFE MODE Restriction in effect. The script whose uid is 80 is not allowed to access /tmp owned by uid 0 in /home/web/stolly/test5.elg-consult.dk/catalog/includes/header.php on line 30 These error messages is also on top of the screen, but in red color: Warning: I am able to write to the configuration file: /home/web/stolly/test5.elg-consult.dk/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. I've tryed to give the right permission, but it dosn't help. This I actually don't know what to do. Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created. Can anybody help me???? stolly
nickeswede73 Posted April 12, 2004 Posted April 12, 2004 Hello You must change the permissions with your FTP program for the required files (right klick, CHMOD and set permissions). That is what I know. I am, just a beginer though :)
Guest Posted April 12, 2004 Posted April 12, 2004 Sorry forget these error messages: These came in the last of the installation. Warning: fopen(/home/web/stolly/test5.elg-consult.dk/catalog/admin/includes/configure.php) [function.fopen]: failed to create stream: No such file or directory in /home/web/stolly/test5.elg-consult.dk/catalog/install/templates/pages/install_7.php on line 259 Warning: fputs(): supplied argument is not a valid stream resource in /home/web/stolly/test5.elg-consult.dk/catalog/install/templates/pages/install_7.php on line 260 Warning: fclose(): supplied argument is not a valid stream resource in /home/web/stolly/test5.elg-consult.dk/catalog/install/templates/pages/install_7.php on line 261 The configuration was successful!
Guest Posted April 12, 2004 Posted April 12, 2004 Hi. I did chance the CHMOD in the configure.php file. Didn't help.
241 Posted April 12, 2004 Posted April 12, 2004 ok for the sessions issue change the last line in the following files catalog/includes/configure.php admin/includes/configure.php from define('STORE_SESSIONS', ''); to define('STORE_SESSIONS', 'mysql'); and for the warning about being able to write to the configure.php file use your ftp program to change the permission for catalog/includes/configure.php and admin/includes/configure.php to chmod 444 read only state. Once this has been done post back the errors that you have left. No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Guest Posted April 12, 2004 Posted April 12, 2004 Dosn't work. Same error mesages. Tjek: hhtp://www.test5.elg-consult.dk/catalog
Guest Posted April 12, 2004 Posted April 12, 2004 Did you install osC, or was it an autoinstaller from your web host? I've ran into a problem where I didn't actually have permission to change permissions on certain directories and files that were generated by auto-installation scripts. Ask your web host if this is the case. It's annoying, but they usually will do it for you.
detsouvalas Posted April 12, 2004 Posted April 12, 2004 Concerning sessions directory ... Dosn't work. Of course it doesn't work, if you don't make the necessary changes as described in both configuration files! :blink: Anyway, now it seems to be OK, you only need to change access permissions to your configure.php files! Oh, and think to password protect your admin directory and to change the password to your mysql database ... at least one person (myself!) besides you know it now!! :D Antonios
detsouvalas Posted April 12, 2004 Posted April 12, 2004 By the way, I also created the admin/backups directory, which was missing ... you will probably have to chmod it to allow writing ... ! I just realized the enormous danger of leaving the admin directory unprotected!! :ph34r: Antonios
241 Posted April 12, 2004 Posted April 12, 2004 The solution that I have given you for sessions does work What do you mean it doesn't work, of course it works did you make the changes in both files. have you tried changing persistent connections to false your host may not allow persistent connections a lot of them don't in which case change the second last line in the following files catalog/includes/configure.php admin/includes/configure.php from define('USE_PCONNECT', 'true'); to define('USE_PCONNECT', 'false'); for the configuration files warning message how do you know that chmod 444 does not work when your files are set to 644 No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Guest Posted April 13, 2004 Posted April 13, 2004 Thanks for all the help I've get, and now I'm only get this message: Warning: I am able to write to the configuration file: /home/web/stolly/test5.elg-consult.dk/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. And I did set the CHMOD to 444, but it change back to 644, why? How do I change my password?
241 Posted April 13, 2004 Posted April 13, 2004 The reason for the chmod going from 444 to 644 will probably be due to the host provider not allowing users to set permissions below 644, so contact them and ask for them to change the permission on this file to 444 I will presume that you mean the database password in this instance You should be able to change the password from phpMyAdmin or whatever control panel your host provider has given you the same goes for password protecting the admin directory itself with an .htaccess file No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.