Suresh Peiris
Suresh Peiris

Reputation: 396

PHP timthumb error with Joomla

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

Upvotes: 2

Views: 585

Answers (1)

Sibin Grasic
Sibin Grasic

Reputation: 714

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

Pastebin:: timthumb.php

Upvotes: 1

Related Questions