PHP Safe Mode Problem
Posted: 2004-01-30 18:23
Hallo zusammen,
Ich habe meine alte Bildergalerie, die bisher gut lief, auf meinen neuen Rootserver geladen. Nun bekomme ich allerdings folgenden Fehler angezeigt wenn ich ein Bild von einem User freischalten möchte:
Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 20071 is not allowed to access /srv/www/htdocs/web1/html/usergallery/data/media/79 owned by uid 30 in /srv/www/htdocs/web1/html/usergallery/admin/admin_functions.php on line 111
Warning: copy(./../data/media/79/bild.jpg): failed to open stream: No such file or directory in /srv/www/htdocs/web1/html/usergallery/admin/admin_functions.php on line 111
Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 20071 is not allowed to access /srv/www/htdocs/web1/html/usergallery/data/thumbnails/79 owned by uid 30 in /srv/www/htdocs/web1/html/usergallery/admin/admin_functions.php on line 155
Warning: copy(./../data/thumbnails/79/.jpg): failed to open stream: No such file or directory in /srv/www/htdocs/web1/html/usergallery/admin/admin_functions.php on line 155
Fehler beim Hinzufügen des Bildes: meinbild (bild.jpg)
Rechte verändern habe ich schon ausprobiert, es tut sich nichts.
Ich denke, das hat irgendwas mit dem Safe Mode von PHP zu tun, nur steht
in der /etc/php.ini der Eintrag safe_mode = Off und ich weiß nicht woran es sonst liegen könnte.
Wäre dankbar für jede Hilfe.
Ich habe meine alte Bildergalerie, die bisher gut lief, auf meinen neuen Rootserver geladen. Nun bekomme ich allerdings folgenden Fehler angezeigt wenn ich ein Bild von einem User freischalten möchte:
Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 20071 is not allowed to access /srv/www/htdocs/web1/html/usergallery/data/media/79 owned by uid 30 in /srv/www/htdocs/web1/html/usergallery/admin/admin_functions.php on line 111
Warning: copy(./../data/media/79/bild.jpg): failed to open stream: No such file or directory in /srv/www/htdocs/web1/html/usergallery/admin/admin_functions.php on line 111
Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 20071 is not allowed to access /srv/www/htdocs/web1/html/usergallery/data/thumbnails/79 owned by uid 30 in /srv/www/htdocs/web1/html/usergallery/admin/admin_functions.php on line 155
Warning: copy(./../data/thumbnails/79/.jpg): failed to open stream: No such file or directory in /srv/www/htdocs/web1/html/usergallery/admin/admin_functions.php on line 155
Fehler beim Hinzufügen des Bildes: meinbild (bild.jpg)
Rechte verändern habe ich schon ausprobiert, es tut sich nichts.
Ich denke, das hat irgendwas mit dem Safe Mode von PHP zu tun, nur steht
in der /etc/php.ini der Eintrag safe_mode = Off und ich weiß nicht woran es sonst liegen könnte.
Wäre dankbar für jede Hilfe.