I'm trying to help a friend of mine. He's having issues with a famous Wordpress plugin called TimThumb.
So, here's the case...
He's using the correct custom attribute on the Wordpress to show the thumbnails on front page, which is "thumb". But when we try to view the image file the browser returns the following error:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/lesbos/www/wp-content/uploads/2010/02/DSC01447.jpg) is not within the allowed path(s): (/home/viciotech/:/tmp:/usr/local/lib/php:./) in /home/viciotech/www/migrateste/wp-content/themes/streamline_30/tools/timthumb.php on line 661
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/lesbos/www/viciotech/wp-content/uploads/2010/02/DSC01447.jpg) is not within the allowed path(s): (/home/viciotech/:/tmp:/usr/local/lib/php:./) in /home/viciotech/www/migrateste/wp-content/themes/streamline_30/tools/timthumb.php on line 670
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/lesbos/www/viciotech/migrateste/wp-content/uploads/2010/02/DSC01447.jpg) is not within the allowed path(s): (/home/viciotech/:/tmp:/usr/local/lib/php:./) in /home/viciotech/www/migrateste/wp-content/themes/streamline_30/tools/timthumb.php on line 670
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/lesbos/www/viciotech/migrateste/wp-content/wp-content/uploads/2010/02/DSC01447.jpg) is not within the allowed path(s): (/home/viciotech/:/tmp:/usr/local/lib/php:./) in /home/viciotech/www/migrateste/wp-content/themes/streamline_30/tools/timthumb.php on line 670
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/lesbos/www/viciotech/migrateste/wp-content/themes/wp-content/uploads/2010/02/DSC01447.jpg) is not within the allowed path(s): (/home/viciotech/:/tmp:/usr/local/lib/php:./) in /home/viciotech/www/migrateste/wp-content/themes/streamline_30/tools/timthumb.php on line 670
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/lesbos/www/viciotech/migrateste/wp-content/themes/streamline_30/wp-content/uploads/2010/02/DSC01447.jpg) is not within the allowed path(s): (/home/viciotech/:/tmp:/usr/local/lib/php:./) in /home/viciotech/www/migrateste/wp-content/themes/streamline_30/tools/timthumb.php on line 670
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/lesbos/www/viciotech/migrateste/wp-content/themes/streamline_30/tools/wp-content/uploads/2010/02/DSC01447.jpg) is not within the allowed path(s): (/home/viciotech/:/tmp:/usr/local/lib/php:./) in /home/viciotech/www/migrateste/wp-content/themes/streamline_30/tools/timthumb.php on line 670
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/lesbos/www/viciotech/migrateste/wp-content/themes/streamline_30/tools/timthumb.php/wp-content/uploads/2010/02/DSC01447.jpg) is not within the allowed path(s): (/home/viciotech/:/tmp:/usr/local/lib/php:./) in /home/viciotech/www/migrateste/wp-content/themes/streamline_30/tools/timthumb.php on line 670
Warning: Cannot modify header information - headers already sent by (output started at /home/viciotech/www/migrateste/wp-content/themes/streamline_30/tools/timthumb.php:661) in /home/viciotech/www/migrateste/wp-content/themes/streamline_30/tools/timthumb.php on line 489
Warning: Cannot modify header information - headers already sent by (output started at /home/viciotech/www/migrateste/wp-content/themes/streamline_30/tools/timthumb.php:661) in /home/viciotech/www/migrateste/wp-content/themes/streamline_30/tools/timthumb.php on line 490
Warning: Cannot modify header information - headers already sent by (output started at /home/viciotech/www/migrateste/wp-content/themes/streamline_30/tools/timthumb.php:661) in /home/viciotech/www/migrateste/wp-content/themes/streamline_30/tools/timthumb.php on line 491
Warning: Cannot modify header information - headers already sent by (output started at /home/viciotech/www/migrateste/wp-content/themes/streamline_30/tools/timthumb.php:661) in /home/viciotech/www/migrateste/wp-content/themes/streamline_30/tools/timthumb.php on line 492
Warning: Cannot modify header information - headers already sent by (output started at /home/viciotech/www/migrateste/wp-content/themes/streamline_30/tools/timthumb.php:661) in /home/viciotech/www/migrateste/wp-content/themes/streamline_30/tools/timthumb.php on line 493
Warning: Cannot modify header information - headers already sent by (output started at /home/viciotech/www/migrateste/wp-content/themes/streamline_30/tools/timthumb.php:661) in /home/viciotech/www/migrateste/wp-content/themes/streamline_30/tools/timthumb.php on line 494
Here's the part of the code he's using to publish these thumbnails.
Question
bruNo_
I'm trying to help a friend of mine. He's having issues with a famous Wordpress plugin called TimThumb.
So, here's the case...
He's using the correct custom attribute on the Wordpress to show the thumbnails on front page, which is "thumb". But when we try to view the image file the browser returns the following error:
Here's the part of the code he's using to publish these thumbnails.
I've read about folders and files permissions, but the script and cache folders are set to 777 and have disabled mod_security on Apache too.
Has anyone experienced this problem when implementing TimThumb?
EDIT: Sorry, forgot the image link
Link to comment
Share on other sites
5 answers to this question
Recommended Posts