marshsu / timthumb

Automatically exported from code.google.com/p/timthumb
0 stars 0 forks source link

problem with open_basedir restriction in effect #416

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The 
script whose uid/gid is 91635/91635 is not allowed to access /home/www owned by 
uid/gid 0/0 in 
/home/www/free/uv.ro/slipky.uv.ro/wp-content/themes/stylico/inc/timthumb.php on 
line 821

Warning: file_exists() [function.file-exists]: open_basedir restriction in 
effect. File(/home/www/wp-content/uploads/edit.jpg) is not within the allowed 
path(s): 
(.:/allowrun:/etc/xml:/home/www/free:/usr/lib/php:/usr/local/lib/php:/usr/local/
xpanel/templates:/home/www/lib:/home/www/toplabs:/tmp) in 
/home/www/free/uv.ro/slipky.uv.ro/wp-content/themes/stylico/inc/timthumb.php on 
line 833

Warning: file_exists() [function.file-exists]: open_basedir restriction in 
effect. File(/home/www/wp-content/uploads/edit.jpg) is not within the allowed 
path(s): 
(.:/allowrun:/etc/xml:/home/www/free:/usr/lib/php:/usr/local/lib/php:/usr/local/
xpanel/templates:/home/www/lib:/home/www/toplabs:/tmp) in 
/home/www/free/uv.ro/slipky.uv.ro/wp-content/themes/stylico/inc/timthumb.php on 
line 859

Warning: file_exists() [function.file-exists]: open_basedir restriction in 
effect. 
File(/home/www/free/uv.ro/slipky.uv.ro/wp-content/themes/stylico/inc/timthumb.ph
p/wp-content/uploads/edit.jpg) is not within the allowed path(s): 
(.:/allowrun:/etc/xml:/home/www/free:/usr/lib/php:/usr/local/lib/php:/usr/local/
xpanel/templates:/home/www/lib:/home/www/toplabs:/tmp) in 
/home/www/free/uv.ro/slipky.uv.ro/wp-content/themes/stylico/inc/timthumb.php on 
line 859

Warning: Cannot modify header information - headers already sent by (output 
started at 
/home/www/free/uv.ro/slipky.uv.ro/wp-content/themes/stylico/inc/timthumb.php:821
) in 
/home/www/free/uv.ro/slipky.uv.ro/wp-content/themes/stylico/inc/timthumb.php on 
line 412

Original issue reported on code.google.com by DjSlipky on 13 Dec 2012 at 10:13

Attachments:

GoogleCodeExporter commented 9 years ago
Can anyone help me please?

Original comment by DjSlipky on 13 Dec 2012 at 10:14

GoogleCodeExporter commented 9 years ago
I have the same issue, only if the images' src element printed from a php 
function.

Original comment by viktik...@gmail.com on 16 Feb 2013 at 6:35

GoogleCodeExporter commented 9 years ago
check GD lib on php.ini

Original comment by oknavit...@gmail.com on 27 Mar 2013 at 6:04