WordPress.org

Ready to get started?Download WordPress

Forums

TimThumb not working with relative path [v.2.8.11] (6 posts)

  1. zagued
    Member
    Posted 1 year ago #

    I have freshly installed the Parallelus Unite theme on my WordPress blog: http://www.bestcarrental.com.au/blog
    > Any images displayed through timthumb.php do NOT work.

    The URL I enter in the admin blog post form for Main Image is http://www.bestcarrental.com.au/blog/wp-content/uploads/2013/07/cradle-mountain-dove-lake.jpg, which is a valid URL. And we can notice the timthumb problem there:

    http://www.bestcarrental.com.au/blog/wp-content/themes/parallelus-unite/includes/timthumb.php?src=/blog/wp-content/uploads/2013/07/cradle-mountain-dove-lake.jpg&w=556&h=133&zc=1

    I have downloaded the latest version of timthumb (v.2.8.11) and get the same result.
    I have changed the permission to timthumb.php and to the cache directory. But it doesn’t seem to be an execution issue.

    As a matter of fact, when I change the src value to the absolute path, timthumb works fine:

    http://www.bestcarrental.com.au/blog/wp-content/themes/parallelus-unite/includes/timthumb.php?src=http://www.bestcarrental.com.au/blog/wp-content/uploads/2013/07/cradle-mountain-dove-lake.jpg&w=556&h=133&zc=1

    For some reasons, it seems that the relative path is not working with TimThumb.

    Is it because my blog URL is http://www.bestcarrental.com.au/blog and not simply a domain name?

    Is there a way to make timthumb processing absolute path instead of relative path?

    Thank you for your help!

  2. I'm shocked that any theme still uses TimThumb, there's just not really any reason to in WordPress these days.

    Looking at the source of your web page the TimThumb usage is all in your theme. That's a commercial theme and those aren't supported here.

    Please contact the theme author for support.

    http://themeforest.net/user/Parallelus

    Part of what you paid for was support for from the author when you purchased that theme.

  3. zagued
    Member
    Posted 1 year ago #

  4. zagued
    Member
    Posted 1 year ago #

    It's not a theme issue. Parallelus Unite works just fine. It's a TimThumb issue.

    I've made 2 fresh WordPress 3.6 installs with the latest version of Parallelus Unite. Same file owner. Same file permissions. They are identical:

    > http://www.zagit.com.au

    > http://www.bestcarrental.com.au/blog/

    The first one works perfectly fine. The second one doesn't work.

    The only difference is the wordpress URL structure. The first one is limited to the domain name. The second one has /blog/ after the domain name.

    Is there a reason why TimThumb doesn't work in this particular case?

  5. The path to your timthumb.php file is this.

    http://www.bestcarrental.com.au/blog/wp-content/themes/parallelus-unite/includes/timthumb.php

    That makes it part of your theme and as mentioned above that's not supported here.

    I don't know why that theme feature would work on one installation and not the other. There may be some dependency that is missing on the second installation. The best place to find out what the problem with that theme remains with the theme author.

  6. zagued
    Member
    Posted 1 year ago #

    Here is the answer of the theme author:

    We have sold more than 10,000 copies of themes that use TimThumb and fewer than 0.05% of customers have had a problem with TimThumb and server permissions. That is a fact.

    The issue is not with the Unite theme. Do you really think that we could sell more than 10,000 copies of themes that didn’t work?

    Honesty, I can’t tell you anything more about the issue than you can find in this forum by searching for “timthumb 400 bad request”.

    I’m sorry to keep saying that, but it is the truth. Every single bit of knowledge that I have about this issue has already been posted in this forum at least once and you can find them all by searching this forum for “timthumb 400 bad request”.

    I can’t help any further with this issue.

    If you want to talk shop I will ask @andy to take over from me in this forum because just typing the word TimThumb raises my blood pressure to dangerous levels.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags