i guess i found the problem

you need $PHPTHUMB_CONFIG['allow_src_above_docroot'] = true;
if you use /webroot/ as your top level folder (on localhost i use /
localhost/.../app/

and as this helper does not use the config.php, you just need to pass
it before calling the setParameter() method


On 13 Sep., 22:54, "euromark (munich)" <[email protected]>
wrote:
> funny thing
>
> i tried that helper
> and on localhost with xampp/windowsXp it works just fine
>
> after uploading it to my webserver (linux), it broke (same error as
> yours)
>
> so my guess is something with the paths?
> i carefully set them up with DS - and they look all right..
>
> i made sure the cache folder is set to 777 etc
> so missing rights can be ruled out, too
>
> did you figure it out, yet?
>
> On 13 Sep., 22:51, "euromark (munich)" <[email protected]>
> wrote:
>
> > On 11 Sep., 23:24, hahmadi82 <[email protected]> wrote:
>
> > > I'm trying to use this helper with the phpThumb 
> > > library:http://code621.com/content/1/phpthumb-helper-for-cakephp
>
> > > When I run the code to give me a thumbnail I get:
>
> > >  Array ( [error] => 1 [error_detail] => phpThumb
> > > v1.7.9200805132119thissourceFilename and thissrc are both empty [src] =>
> > > user/blankuser.jpg [w] => 100 [h] => 100 )
>
> > > Does anyone know what the error_detail means?
>
> > > --
> > > View this message in 
> > > context:http://www.nabble.com/phpThumb-tp25408589p25408589.html
> > > Sent from the CakePHP mailing list archive at Nabble.com.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to