Member
Member
Uzh   2009-06-13, 21:31
#1

Hallo!

When I try to create a backup of my gallery I get the following feedback:
`
Warning: fopen() [function.fopen]: SAFE MODE Restriction in effect. The script whose uid is 10002 is not allowed to access /var/www/vhosts/georgs-bu.de/subdomains/julia/httpdocs/galerie/backup owned by uid 33 in /var/www/vhosts/georgs-bu.de/subdomains/julia/httpdocs/galerie/zp-core/utilities/backup_restore.php on line 143

Warning: fopen(/var/www/vhosts/georgs-bu.de/subdomains/julia/httpdocs/galerie/backup/backup-2009_06_13-23_26_41.zdb) [function.fopen]: failed to open stream: No such file or directory in /var/www/vhosts/georgs-bu.de/subdomains/julia/httpdocs/galerie/zp-core/utilities/backup_restore.php on line 143
/var/www/vhosts/georgs-bu.de/subdomains/julia/httpdocs/galerie/backup/backup-2009_06_13-23_26_41.zdb konnte nicht zum Schreiben geöffnet werden.
`
The only words that make sense to me are "Safe mode are in restriction" - that's something my webhoster has to decide (which he won't, I asked him...)

Is there some way to create a backup?

Georg

Member
Member
sbillard   2009-06-13, 21:34
#2

Sorry, no. Zenphoto is being prevented from creating the file. I would seriously consider getting a different provider. SAFE MODE is both not safe and not conducive to many scripts because if prevents what should be considered 'normal' operation.

See http://us.php.net/features.safe-mode
and http://www.breakingpointsystems.com/community/blog/php-safe-mode-considered-harmful

Looking at where the failure occurs, it might be possible for you to bypass it by insuring that the permissions on the backup folder are relaxed so that Zenphoto is able to read/write/execute the folder.

Member
Member
Uzh   2009-06-14, 10:16
#3

OK. The permissions for the backup folder are drwxrwxrwx - I guess, there's nothing more to relax.

Thank you for your help.

Georg

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.