Hi,
I recently switched to Ubuntu 10.04 which comes with PHP5.3 . PHPThumb is not working anymore with this version. I found a fix here :
http://modxcms.com/forums/index.php?topic=40416.0
But after applying the fix, I’ve another error :
Fatal error: Cannot redeclare phpThumbURL() (previously declared in /home/enzo/EquiLibre/Web/www/melani/assets/snippets/phpthumb/phpThumb.config.php:249) in /home/enzo/EquiLibre/Web/www/melani/assets/snippets/phpthumb/phpThumb.config.php on line 252
Any Idea?
Thank you very much
Equilibre Webdesign - Conception et r
Hi,
I also run into the same issue on my new installation...
Did you found a solution?
Best Regards!
Alex
i know this topic is old but i had the same error than the first post when adding 2 image:phpthumb on the same ressource.
simple fix is :
change line 52 of snippet_phx_phpthumb.php
include($modx->config['base_path'].PHPTHUMB_PATH.'phpThumb.config.php');
to :
include_once($modx->config['base_path'].PHPTHUMB_PATH.'phpThumb.config.php');
CTRL+SHIFT+U - Clear Cache
CTRL+SHIFT+H - Hiding Heft Panel
CTRL+SHIFT+N - Fast Create Resource
CTRL+ALT+P - Preview Recource (in edit resorce window)
CTRL+ALT+S - Save