Responsive WordPress Theme – Caliber

A theme with simple controls and limitless potential. Work fast and build an amazing website!   Find out more »

UpThemes – Beautiful WordPress Themes

Create a site your church, gallery, newspaper, blog, recipes, band and more!   See the themes »

Need a little help?  Find answers quickly by searching the forum.
Group Admins
  • andy
  • jeffw

Support for: Traject – WordPress Portfolio and Business Theme

Traject (WordPress)

Public Group  |  active 4 years, 4 months ago ago
Viewing post 16 to 30 (34 total posts)

Traject post images suddenly broken

  • Joni

    said

    And here’s where the “junk” comes from in timthumb.php:

    // full image SRC
    $theImg['src'] = $themePath .’includes/timthumb.php?src=’. $postImage .’&w=’. $imgW .’&h=’. $imgH .’&zc=1′;

  • shrin

    said

    Joni –

    Any idea how to fix the junk?

  • Joni

    said

    Not yet! And…that was not in the timthumb.php, but rather the addon-functions.php.

  • shrin

    said

    Hm, there’s some conflict happening…I can’t figure it out. Going on Day 2 waiting for a response….

  • landon

    said

    I did a lot of looking, and as it turns out your uploads folder needs 755 or 777 permissions along with all of the files in it. It should work once you do that.

    Also, I’ve spent the day testing my own timthumb trying to figure out how to duplicate your problem and solve it. From now on I will notify you as I do that :)

    Thanks,
    Landon

  • andy

    said

    @Joni

    It looks like you have a permissions error as Landon said. I think the error is the result of your server denying permission to read the image file. Check your permission settings and see if that helps.

  • andy

    said

    @shrin

    Thanks for your patience. Your error seems to be a clear permission issue (this is referenced in the help document). You can see the result of the image attempting to load produces the error:

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect.
    http://ors.comeze.com/wp-content/themes/traject/includes/timthumb.php?src=http://ors.comeze.com/wp-content/uploads/2011/10/Screen-shot-2011-10-12-at-2.20.21-AM.png&w=161&zc=1

    If you follow the guide in the help document you’ll see the instructions for setting the permissions. If using “777″ permissions does not work as it states in the help document, try “755″ instead. This is because some hosts don’t allow “777″ permissions.

  • shrin

    said

    I referred to the Help section previously and tried both 755 and 777. No change.

    BUT, I did solve the issue. It’s not a chmod issue. If you’re curious, 000webhost (free hosting) restricts open_basedir (You can’t use Timthumb as is. You have to rename this: $_SERVER['DOCUMENT_ROOT'])

    Found the cure here: http://www.000webhost.com/forum/customer-assistance/1311-i-cant-install-rate-my-photo-000webhost.html
    and here:
    http://www.ridhuan.com/blog/2010/12/solving-the-timthumb-issue-on-000webhost/

    Thank you!

  • Joni

    said

    Woop! Replacing the timthumb.php file with Ridhuan’s appears to work for me! Thanks!

  • skreative

    said

    I still not resolved this same issue…. I need help!

  • andy

    said

    @skreative

    I just checked your site and all images are appearing for me.

    Please try and keep your posts for a single topic in a single thread. Spreading questions and answers across many threads makes it harder to answer and for users to get the benefit of the solutions. Thanks.

  • mmcreative

    said

    Hello,

    I have changed file permissions to 755 and still get this error message. Site is http://www.evolution-security-services.com

    The following error(s) occured:
    Could not find the internal image you specified.

    Query String : src=/wp-content/uploads/2013/04/sguard2.jpg&w=64&h=64&zc=1

    TimThumb version : 2.1

    Thanks a bunch

  • mmcreative

    said

    That worked! Thanks for the help and keep up the great work!

  • rideabike

    said

    I think this issue falls under this category to save from starting a new thread.

    I updated to the latest version of the theme yesterday – everything seems a-okay, except under the blog page http://kanebikes.com/blog/, none of the photos are showing even though the image links are correct. I believe every other image on the site is working/loading. Ideas?

Viewing post 16 to 30 (34 total posts)