I am trying to use the email option te send a photo to someone and receive the understated error. When I installed the app user id 99 held on to the tmp directory. The temp does not have write access and I can not seem to change this. I have no rights on this user id. How do I change this?
Thanks
Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 32022 is not allowed to access /home/escape/public_html/photo/sql/tmp owned by uid 99 in /home/xxx/public_html/photo/actions/basket_build_mail.php on line 91
Warning: filesize() [function.filesize]: SAFE MODE Restriction in effect. The script whose uid is 32022 is not allowed to access /home/escape/public_html/photo/sql/tmp owned by uid 99 in /home/xxx/public_html/photo/actions/basket_build_mail.php on line 160
Warning: filesize() [function.filesize]: stat failed for ../sql/tmp/mail_16374b050676277fcb0f8e2398001d86_0/114.jpg in /home/xxx/public_html/photo/actions/basket_build_mail.php on line 160
Warning: dir() [function.dir]: SAFE MODE Restriction in effect. The script whose uid is 32022 is not allowed to access /home/escape/public_html/photo/sql/tmp owned by uid 99 in /home/xxx/public_html/photo/actions/basket_build_mail.php on line 214
Warning: dir(../sql/tmp/mail_16374b050676277fcb0f8e2398001d86_0) [function.dir]: failed to open dir: Permission denied in /home/xxx/public_html/photo/actions/basket_build_mail.php on line 214
Fatal error: Call to a member function read() on a non-object in /home/xxx/public_html/photo/actions/basket_build_mail.php on line 215
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
because of the URL I guess you are using a hosting provider. In this case you are lost ;-)
If not, and you have access to /etc/php.ini you can disable the safe_mode option and restart/reload Apache.
cheers bzrudi
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2006-02-19
maybe you can create an other tmp directory, which has the same UID as the script
(you would also have to change the tmp directory in the basket_build_mail.php
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hallo all,
I am trying to use the email option te send a photo to someone and receive the understated error. When I installed the app user id 99 held on to the tmp directory. The temp does not have write access and I can not seem to change this. I have no rights on this user id. How do I change this?
Thanks
Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 32022 is not allowed to access /home/escape/public_html/photo/sql/tmp owned by uid 99 in /home/xxx/public_html/photo/actions/basket_build_mail.php on line 91
Warning: filesize() [function.filesize]: SAFE MODE Restriction in effect. The script whose uid is 32022 is not allowed to access /home/escape/public_html/photo/sql/tmp owned by uid 99 in /home/xxx/public_html/photo/actions/basket_build_mail.php on line 160
Warning: filesize() [function.filesize]: stat failed for ../sql/tmp/mail_16374b050676277fcb0f8e2398001d86_0/114.jpg in /home/xxx/public_html/photo/actions/basket_build_mail.php on line 160
Warning: dir() [function.dir]: SAFE MODE Restriction in effect. The script whose uid is 32022 is not allowed to access /home/escape/public_html/photo/sql/tmp owned by uid 99 in /home/xxx/public_html/photo/actions/basket_build_mail.php on line 214
Warning: dir(../sql/tmp/mail_16374b050676277fcb0f8e2398001d86_0) [function.dir]: failed to open dir: Permission denied in /home/xxx/public_html/photo/actions/basket_build_mail.php on line 214
Fatal error: Call to a member function read() on a non-object in /home/xxx/public_html/photo/actions/basket_build_mail.php on line 215
Hi,
Are you able to disable the php safemode? If so try that.
Vytautas
Thank you for the reply but what is php safemode and how can ik see if I can disable it?
Hi,
because of the URL I guess you are using a hosting provider. In this case you are lost ;-)
If not, and you have access to /etc/php.ini you can disable the safe_mode option and restart/reload Apache.
cheers bzrudi
maybe you can create an other tmp directory, which has the same UID as the script
(you would also have to change the tmp directory in the basket_build_mail.php