Author Topic: Another SAFE MODE problem  (Read 11830 times)

0 Members and 1 Guest are viewing this topic.

Offline camo93

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://central-galerie.com
Another SAFE MODE problem
« on: February 01, 2003, 11:13:58 PM »
Hello,

I have changed my provider.
Now, the php config is SAFE MODE !
when I want to validate images I have the error messages !
Please Help me because this is a big problem for my website.

Thanks ALL !

Quote
Warning: file_exists() [function.file-exists]: SAFE MODE Restriction in effect. The script whose uid is 2991 is not allowed to access /home/opt3/local/apache/htdocs/sites/c/central-galerie.com/4images/data/media/35 owned by uid 2420 in /home/opt3/local/apache/htdocs/sites/c/central-galerie.com/4images/admin/admin_functions.php on line 92

Warning: copy() [function.copy]: SAFE MODE Restriction in effect. The script whose uid is 2991 is not allowed to access /home/opt3/local/apache/htdocs/sites/c/central-galerie.com/4images/data/media/35 owned by uid 2420 in /home/opt3/local/apache/htdocs/sites/c/central-galerie.com/4images/admin/admin_functions.php on line 95

Warning: copy(./../data/media/35/ynda_vegetal_069.jpg) [function.copy]: failed to create stream: Permission denied in /home/opt3/local/apache/htdocs/sites/c/central-galerie.com/4images/admin/admin_functions.php on line 95

Warning: file_exists() [function.file-exists]: SAFE MODE Restriction in effect. The script whose uid is 2991 is not allowed to access /home/opt3/local/apache/htdocs/sites/c/central-galerie.com/4images/data/thumbnails/35 owned by uid 2420 in /home/opt3/local/apache/htdocs/sites/c/central-galerie.com/4images/admin/admin_functions.php on line 152

Warning: copy() [function.copy]: SAFE MODE Restriction in effect. The script whose uid is 2991 is not allowed to access /home/opt3/local/apache/htdocs/sites/c/central-galerie.com/4images/data/thumbnails/35 owned by uid 2420 in /home/opt3/local/apache/htdocs/sites/c/central-galerie.com/4images/admin/admin_functions.php on line 155

Warning: copy(./../data/thumbnails/35/.jpg) [function.copy]: failed to create stream: Permission denied in /home/opt3/local/apache/htdocs/sites/c/central-galerie.com/4images/admin/admin_functions.php on line 155
Erreur sur l'ajout de l'image!: Belle plante (ynda_vegetal_069.jpg)

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Another SAFE MODE problem
« Reply #1 on: February 01, 2003, 11:23:21 PM »
Please read FAQ forum.
there is a solution for SAFE MODE.
but I think in your case it wont help, because the script still needs copy files from /temp/ folder to the category folder....
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline camo93

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://central-galerie.com
Another SAFE MODE problem
« Reply #2 on: February 01, 2003, 11:35:00 PM »
Quote from: V@no
Please read FAQ forum.
there is a solution for SAFE MODE.
but I think in your case it wont help, because the script still needs copy files from /temp/ folder to the category folder....


Thank you, I look the FAQ.

Camo

Offline camo93

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://central-galerie.com
Another SAFE MODE problem
« Reply #3 on: February 01, 2003, 11:37:56 PM »
"Bump"
I do not find anything in the FAQ which speaks about SAFE MODE.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Another SAFE MODE problem
« Reply #4 on: February 02, 2003, 12:25:45 AM »
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline camo93

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://central-galerie.com
Another SAFE MODE problem
« Reply #5 on: February 02, 2003, 12:15:49 PM »
ok thanks but the modification don't work.

----
Solution posted by other user with safe_mode enabled: After adding a category, delete the folder in "data/media" and "data/thumbnails" and create it again via FTP and chmod 777.
----

humm this manipulation is not good and not easy but work.
I wait for a good fix safe mode in 4Images because it is possible to add in a file of config a line of parameters so that 4images behaves like a ftp, with the permissions and owners.

Regards
Camo

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Another SAFE MODE problem
« Reply #6 on: February 02, 2003, 06:42:45 PM »
The only "good fix" could be is contact your host adminstrator and ask to switch to NORMAL MODE.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline camo93

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://central-galerie.com
Another SAFE MODE problem
« Reply #7 on: February 02, 2003, 07:14:54 PM »
"Bump"
Impossible, my provider don't want  :cry:

Offline area51freak

  • Pre-Newbie
  • Posts: 1
    • View Profile
Same problem
« Reply #8 on: February 26, 2003, 04:36:15 PM »
Hey,
earlier the scripts runs without problems with the fix, but after a provider change I had the same problem with safe mode, I even have the fix, but there's even the problem with the admin_functions.php.

>>

Warning: file_exists() [function.file-exists]: SAFE MODE Restriction in effect. The script whose uid is 1019 is not allowed to access /home/www/n4a75/html/page/4images/data/media/1 owned by uid 502 in /home/www/n4a75/html/page/4images/admin/admin_functions.php on line 106

Warning: copy() [function.copy]: SAFE MODE Restriction in effect. The script whose uid is 1019 is not allowed to access /home/www/n4a75/html/page/4images/data/media/1 owned by uid 502 in /home/www/n4a75/html/page/4images/admin/admin_functions.php on line 111

Warning: copy(./../data/media/1/myscoot1.jpg) [function.copy]: failed to create stream: Datei oder Verzeichnis nicht gefunden in /home/www/n4a75/html/page/4images/admin/admin_functions.php on line 111

Warning: file_exists() [function.file-exists]: SAFE MODE Restriction in effect. The script whose uid is 1019 is not allowed to access /home/www/n4a75/html/page/4images/data/thumbnails/1 owned by uid 502 in /home/www/n4a75/html/page/4images/admin/admin_functions.php on line 152

Warning: copy() [function.copy]: SAFE MODE Restriction in effect. The script whose uid is 1019 is not allowed to access /home/www/n4a75/html/page/4images/data/thumbnails/1 owned by uid 502 in /home/www/n4a75/html/page/4images/admin/admin_functions.php on line 155

Warning: copy(./../data/thumbnails/1/.jpg) [function.copy]: failed to create stream: Datei oder Verzeichnis nicht gefunden in /home/www/n4a75/html/page/4images/admin/admin_functions.php on line 155
Fehler beim Hinzufügen des Bildes: AREA (myscoot1.jpg)

<<