View Single Post
Old March 29th, 2005, 11:41 PM   #1 (permalink)
slothonwheels
Junior Member
Verified Customer
 
Join Date: Mar 2005
Posts: 2
Error creating thumbnail! Error code: 127

I’m installing Photopost on a shared Linux system, I'm not the sysadmin:

http://<domain>/photopost/phpinfo.php

But when testing a post, get:

Error creating thumbnail! Error code: 127

Command:

"" +profile "*" -size 100x100 -quality 70 -geometry 100x100 -unsharp 10 '/home/virtual/site4/fst/var/www/html/photopost/data/500/thumbs/webgallery_22.jpg'


For some reason, much of the installation, including the admin functions, works when the default paths to Photopost are used in the config files, e.g.:

$PP_PATH = "/home/virtual/site4/fst/var/www/html/photopost";

As far as I know this path doesn’t even exist on the system. But it lets me launch the admin tools through a browser at <domain>/photopost. Putting the real path in the config file:

$PP_PATH = "/home/<user>/mainwebsite_html/photopost";

does not. That second path includes an alias, mainwebsite_html, that points to /var/www/html, so this path should work as well:

/var/www/html/photopost

Entering these in config-int.php and config_inc.php and visiting www<domain>.com/photopost gives me:

Fatal error: Failed opening required '/home/<user>/mainwebsite_html/photopost/languages/english.php' (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site4/fst/var/www/html/photopost/pp-inc.php on line 65

I’m using GD rather than ImageMagick, and phpinfo.php says it finds GD on the system.

What am I missing?

Thanks in advance

Last edited by slothonwheels; March 30th, 2005 at 01:41 PM. Reason: Removed user and domain
slothonwheels is offline   Reply With Quote