rifanece / timthumb

Automatically exported from code.google.com/p/timthumb
0 stars 0 forks source link

Timthumb doesn't work since R62 version #58

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello
My R61 timthumb version works correctly but I can't update it.
Indeed the higher versions (R62 and above) doesn't work.
The thumbnails don't display and the browser runs continuously to load the
page.
I found the problem / difference, I must comment the following lines if I
want it to work :

// check from script filename (to get all directories to timthumb location)
$parts = array_diff(explode('/', $_SERVER['SCRIPT_FILENAME']), explode('/',
$_SERVER['DOCUMENT_ROOT']));
$path = $_SERVER['DOCUMENT_ROOT'];
foreach ($parts as $part) {
$path .= '/' . $part;
if (file_exists($path . '/' . $src)) {
return $path;
  }
}

Why? What's wrong? (i don't understand php code)
Thank you and congratulations for this wonderful script
Jerome

Original issue reported on code.google.com by site.ste...@laposte.net on 17 Jan 2010 at 9:45

GoogleCodeExporter commented 8 years ago
Hi Jerome - can you update to the latest version and see if the problem is still
happening?

Original comment by BinaryMoon on 26 Apr 2010 at 8:59

GoogleCodeExporter commented 8 years ago
i have the same problem i cant get the images to show on on any version above 
1.08

Original comment by arkz...@gmail.com on 30 Jul 2010 at 11:17

GoogleCodeExporter commented 8 years ago
still need more information. I can't fix this without being able to see the 
error. Are there any PHP error logs I could look at?

Original comment by BinaryMoon on 16 Sep 2010 at 4:06

GoogleCodeExporter commented 8 years ago
the script has changed loads and I can't see this being fixed so I shall mark 
as invalid. Try the latest version and if I'm wrong then please feel free to 
submit a new report.

Original comment by BinaryMoon on 25 Sep 2010 at 10:20