PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old November 20th, 2005, 07:22 PM   #1 (permalink)
Registered User
 
Join Date: Mar 2004
Posts: 17
Distorted thumbnails(NOT A BUG)

Linux Red Hat
Apache/1.3.34 (Unix) PHP/4.4.1
Dedicated Server under our control but we lease the box from Verio
MySQL 4.1.15

http://www.mydaughterswish.com/photopost/

We just transfered the site from a shared virtual server to a new dedicated server. Everthing went fine, duplicated the mysql data bases and dumped all the data in the db without any problem.

Uploading of images worked fine for a week but suddenly we are getting distorted and discolored thumbnails. Can't understand it.

GD Info:

GD Support enabled
GD Version bundled (2.0.28 compatible)
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled


Config setting:

// GD2 support
// this will only work if you have GD2 or better installed
// 0 - use mogrify; 1 - use GD2; 2- use GD1
$usegd = 1;


Any ideas what is wrong?

Thanks.

K
sheri9642 is offline   Reply With Quote
Old November 20th, 2005, 07:29 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
Looks to me like the GD library on the new server is messed up. Usually means the libraries are messed up.

If you are on a dedicated server you can install imagemagick if its not installed and try that out

http://www.photopost.com/howtoinstall-php.html
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 22nd, 2005, 10:33 AM   #3 (permalink)
Registered User
 
Join Date: Mar 2004
Posts: 17
Can we just upgrade gd?

We reinstalled gd (2.0.28 compatible). But same problem. I'll install image magic if you think that it will solve the trick. But I don't understand why the gd program doesn't work still. Makes me think that the problem lies elsewhere.
sheri9642 is offline   Reply With Quote
Old November 22nd, 2005, 10:56 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
Go ahead and email me your admin login so I can look at the settings. almost looks to me like your using gd1 not gd2

The issue is definately a processor based error involving the image libraries
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 16th, 2005, 06:32 PM   #5 (permalink)
Registered User
 
Join Date: Mar 2004
Posts: 17
Ok Fixed

Sooo..... after three weeks of head scratching.

After reinstalling gd, image magic, installing a brand new version of photopost to test image uploads I found the cause of the problem.

Turns out that the problem was caused by a missing row in the 'settings' table - row id 88 - that sets jpeg image quality. I added the row with the default setting at 70%, then made sure that the permissions were open up to 777 on the uploads and data directories and hey presto! - works. The thumbnails and other images are no longer distorted.

Gifs uploaded fine which should have given me a clue but I didn't even know a jpg image quality database row existed until I compared the test version of photopost with the original and spotted the missing row in the test version.

I've had a horrible three weeks trying to get this done so I hope that this posting saves someone else the grief I've been through.

Last edited by sheri9642; December 16th, 2005 at 06:34 PM.
sheri9642 is offline   Reply With Quote
Old December 16th, 2005, 06:33 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
Well the question would remain why was the setting not there. How did it get deleted. Good Catch

By the way your about 50% done on thumbnail rebuild and mediums are next
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 16th, 2005, 07:11 PM   #7 (permalink)
Registered User
 
Join Date: Mar 2004
Posts: 17
Missing row.

I did a global search of all the install and upgrade scripts and found that one of the mysql commands near the relevant row was missing a semi colon. I think that the script stopped upgrading the database at that point.

Here's the error:

upgrades/upgradegms.php was missing a semi colon on line 103;

$query[] = "INSERT INTO {$pp_db_prefix}settings VALUES (92,'Display Members Gallery on the main index page?','showmem','','no',55,2)

Maybe this has something to do with it.

Last edited by sheri9642; December 16th, 2005 at 07:13 PM.
sheri9642 is offline   Reply With Quote
Old December 16th, 2005, 07:26 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
Okay but you dont own photopost gms? That is a product that was discontinued 2.5 yrs ago.

That setting was added in the Photopost 4.0 upgrade and I do beleive your license number suggests you had like 4.0 or above to begin with so no issue there. This was deleted a few weeks ago which suggest some upgrade that was not suppose to be ran was.

If that upgradegms was ran when you never owned the product maybe that could have been your issue. On the normal upgrade path and install files I show no issue with it.

Very good catch though not your run of the mill issue as everything pointed to GD2 being whacked. As soon as Kumar told me earlier tonight that he installed a fresh copy of photopost and it worked fine I was gonna check that very setting and saw you posted this here first and responded.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Thumbnails Distorted JoeWho Photopost Pro How Do I...? 8 December 12th, 2005 08:50 AM
Upload Category is weird. (my last bug report I swear!)(NOTA BUG) rcsmith ReviewPost Bug Reports 1 October 25th, 2005 08:25 PM
Thumbnails stopped working(NOT A BUG) macsamurai Classifieds Bug Reports 2 August 12th, 2005 09:31 AM
Logical error with watermarks & thumbnails? (not a bug) Mikan Photopost Pro Bug Reports 1 June 16th, 2005 07:30 AM


All times are GMT -5. The time now is 01:51 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0