Free Web Hosting Forum
(#1 (permalink))
Old
Junior Member
kidart is on a distinguished road
 
Posts: 2
Join Date: Jul 2012
Default image not showing php - 07-25-2012, 01:55 PM

I´m working on this wordpress based site but cant get shown any image that i uploaded ... I get this error message:

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/local/apache/htdocs/wp/wp-content/themes/squaregrid/images/noimage.png) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/a1560117/public_html/wp/wp-content/themes/squaregrid/includes/timthumb.php on line 864

and

Failed to load resource: the server responded with a status of 400 (Bad Request) a rel="nofollow" href="http://www.greenbondi.com/wp/wp-content/themes/squaregrid/includes/timthumb.php?src=http://www.greenbondi.com/wp/wp-content/themes/squaregrid/images/noimage.png&w=156&h=156



It has something to do with php.ini?

Please help!

Last edited by kidart; 07-25-2012 at 01:58 PM.
Reply With Quote
Sponsored Links
(#2 (permalink))
Old
d3iti's Avatar
Super Moderator
d3iti is on a distinguished road
 
Posts: 6,619
Join Date: Jul 2009
Location: Spain
Default 07-25-2012, 08:15 PM

Hello,

I think you have a problem with timthumb.
The problem is that timthumb uses absolute paths from the server and such routes are not permitted on shared servers.

This problem has been discussed in this forum and there have been many solutions:
problem with TimThumb on wordpress


Recuerda realizar copias de seguridad de tus sitios web. Si este mensaje te ayudó puedes pulsar sobre el botón karma
Reply With Quote
(#3 (permalink))
Old
Bad Karma[CORE]'s Avatar
333 - only half evil
Bad Karma[CORE] is on a distinguished road
 
Posts: 6,495
Join Date: May 2008
Default 07-25-2012, 09:18 PM

Hotfix for the latest timthumb:
http://www.free-installations.info/t...bhost-com.4871
Reply With Quote
Reply

Tags
loading error, php.ini

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
vBulletin Skin developed by: vBStyles.com