View Full Version : Server Upgrade caused Path problems
jimdugan
02-04-2005, 11:39 PM
Hi folks,
I love pixelpost.
My server recently upgraded, which left me unable to use pixelpost until I figured out that the PATH had changed.
It used to be /u/htdocs/username/pixelpost/images/
It now needs to be /home/users/web/b1413/moo.username/
Figuring that out made it possible to upload photos and modify the database.
However: Thumbnails are no longer being generated. The system is acting as if the thumbnail folder is not writeable but it is. I've checked and re-checked.
I keep wondering if there's a path to the thumbnails folder buried somewhere. But I can't find it in either the PHP or the database.
Can anyone help?
Thanks in advance,
Jim
Connie
02-05-2005, 09:48 AM
Jim, I don't understand the directory-structure of your web,
normally we have this structure:
/pixelpost main page
/pixelpost admin
/pixelpost images
/pixelpost thumbnail
if
"/pixelpost images" is now "/home/users/web/b1413/moo.username/" where is your thumbnail-directory and where is the main index.php located?
jimdugan
02-05-2005, 10:53 AM
Thanks Connie,
Yes, sorry! I miswrote:
It used to be
/u/htdocs/username/pixelpost/images/
It now needs to be
/home/users/web/b1413/moo.username/pixelpost/images/
Same would be true for thumbnails:
/home/users/web/b1413/moo.username/pixelpost/images/
index.php is at:
/home/users/web/b1413/moo.username/pixelpost/index.php
Connie
02-05-2005, 11:26 AM
still not so clear:
is there
/home/users/web/b1413/moo.username/pixelpost/thumbnails/ ?
jimdugan
02-05-2005, 12:06 PM
---is there
---
---/home/users/web/b1413/moo.username/pixelpost/thumbnails/ ?
_________________
yes,exactly.
/home/users/web/b1413/moo.username/pixelpost/images/
/home/users/web/b1413/moo.username/pixelpost/admin/
/home/users/web/b1413/moo.username/pixelpost/thumbnails/
/home/users/web/b1413/moo.username/pixelpost/index.php
And write permissions are correctly set for
/home/users/web/b1413/moo.username/pixelpost/thumbnails/
And everything is working except making thumbnails. I also can't regenerate thumbnails from the admin panel. If, for example, I change the thumbnail size and ask it to make all new thumbnails, I get only a partial page as a result and no thumbnails have been changed.
So my question is, I suppose:
How does pixelpost know where the thumbnails folder is? Is there somewhere to put the path to that? I can tell it the path to the images folder in the admin page but there's no mention of the thumbnails folder that I can find.
Thanks so much.
Jim
Connie
02-05-2005, 12:58 PM
Jim,
the thumbnails-folder is always in a "fix relation" to the root of the pixelpost-installation.
/home/users/web/b1413/moo.username/pixelpost/thumbnails/
/home/users/web/b1413/moo.username/pixelpost/index.php
is ok
but: Pixelpost needs the GD-Lib to "manipulate" the thumbnails and please check whether GD-Lib is installed, you see it in the general-info
have a look at the requirements:
GD-lib required for thumbnailing. Tested and installed on Unix, Linux and Mac OS X.
I think your provider did not only change the paths, he also forgot to install PHP with GD-lib!!!!!! :roll:
jimdugan
02-05-2005, 01:13 PM
My Php info file says GD is enabled:'
http://www.jimdugan.com/phpinfo.php
jimdugan
02-05-2005, 01:15 PM
And this is in my General Info:
PHP-version 4.3.10
MySQL version 4.0.22-standard-log
GD-lib 1.6.2 or higher
Server software Apache
EXIF Your php does not seem to be compiled with exif-enabled.
jimdugan
02-05-2005, 01:16 PM
Oh, and permissions:
Permissions
Images folder
Images folder is writable, which is a good thing.
Thumbnails folder
Thumbnails folder is writable.
Connie
02-05-2005, 01:30 PM
well, I just see that GD-lib is a little bit old, mine is 2.015
I remember one time we had a similar situation, GD-lib was there, but did not work, yes I think I found it,
http://www.pixelpost.org/forum/viewtopic.php?t=126&highlight=gdlib
here we see that to manipulate JPEGs GD-Lib 1.8 is needed :cry:
this could be the reason
why did they install such an old version as your PHP is quite actual?
jimdugan
02-05-2005, 01:36 PM
Yes, it looks like that's the problem. Now I'll try to get them to upgrade GD.
Thanks so much for your help!
Jim
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.