PHP timthumb error with Joomla

588 Views Asked by At

I am using a Joomla template in my site. But It doesn't load any images in portfolio content. When I am opening the path of the image it opens a php file and this gives this error

open_basedir restriction in effect. File(/usr/local/apache/htdocs) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in serverpath/public_html/templates/ekho/lib/timthumb.php on line 867

I need to know where is the problem? Please help in advance... Thanks

1

There are 1 best solutions below

1
On BEST ANSWER

Here is the modified timthumb.php designed to work with 00webhost:

Pastebin:: timthumb.php