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 Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old November 26th, 2006, 09:11 PM   #1 (permalink)
Member
 
Join Date: Sep 2006
Posts: 60
SQL ERRORS in Upgrade from 5.5 to 5.6

Upgrade from 5.5 to 5.6

I am getting a ton of errors now.
When uploading an image I get this. . .


Warning: copy(/home/caliberf/public_html/PHOTOPOST/data/501/cal_003.jpg) [function.copy]: failed to open stream: No such file or directory in /PHOTOPOST/uploadphoto.php on line 679

Warning: getimagesize(/home/caliberf/public_html/PHOTOPOST/data/501/cal_003.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /PHOTOPOST/image-inc.php on line 247

Warning: Division by zero in /PHOTOPOST/image-inc.php on line 292

Warning: getimagesize(/home/caliberf/public_html/PHOTOPOST/data/501/cal_003.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /PHOTOPOST/image-inc.php on line 91

Warning: unlink(/home/caliberf/public_html/PHOTOPOST/data/501/cal_003.jpg) [function.unlink]: No such file or directory in /PHOTOPOST/image-inc.php on line 103

Then on the same page it says "Sorry, this image type () is not supported yet. "
__________________
www.GigaThreads.com
ESAD is offline   Reply With Quote
Old November 26th, 2006, 09:14 PM   #2 (permalink)
Member
 
Join Date: Sep 2006
Posts: 60
Also, whenever I go to any page other than the index page, my header image gets lost in some screwed up funky url. . . jeez. . .
__________________
www.GigaThreads.com
ESAD is offline   Reply With Quote
Old November 26th, 2006, 09:25 PM   #3 (permalink)
Member
 
Join Date: Sep 2006
Posts: 60
When once in a blue moon, an image actually uploads, this is displayed above the header.

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /PHOTOPOST/showphoto.php on line 819
__________________
www.GigaThreads.com
ESAD is offline   Reply With Quote
Old November 26th, 2006, 09:55 PM   #4 (permalink)
Member
 
Join Date: Sep 2006
Posts: 60
I don't know what happened here but it is obvious there has been no testing of this release. There are many customers reporting the very same errors. . .

It would also be nice to have prior releases listed in the download area so I could revert! Bah. . . I'm not a happy camper right now.
__________________
www.GigaThreads.com
ESAD is offline   Reply With Quote
Old November 26th, 2006, 10:05 PM   #5 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
What were the SQL errors you got during the upgrade? Your photo gallery appears to be running fine.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old November 26th, 2006, 10:17 PM   #6 (permalink)
Member
 
Join Date: Sep 2006
Posts: 60
You have got to be kidding me. . .

Anyway. When I turn off spider friendly URLS, the header logo doesn't get messed up. . .
__________________
www.GigaThreads.com
ESAD is offline   Reply With Quote
Old November 26th, 2006, 10:19 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
http://www.caliberforumz.com/PHOTOPOST/index.php

dont see any errors either.

Now if you use spider urls you might want to make sure your vb header is not using relative image links. You need to edit that vb header and make sure they are full urls.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old November 26th, 2006, 10:20 PM   #8 (permalink)
Member
 
Join Date: Sep 2006
Posts: 60
You don't see the errors if you are not logged in. . .
If you were, and tried to upload an image you would see what I am talking about.
__________________
www.GigaThreads.com
ESAD is offline   Reply With Quote
Old November 26th, 2006, 10:20 PM   #9 (permalink)
Member
 
Join Date: Sep 2006
Posts: 60
good tip on the header image! Thanks!
__________________
www.GigaThreads.com
ESAD is offline   Reply With Quote
Old November 26th, 2006, 10:21 PM   #10 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
You didn't say what the SQL errors were that you got - if your upgrade didn't complete, then that would be the first place I would start. The second would be making sure your paths are properly set since you are getting file not found errors.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old November 26th, 2006, 10:23 PM   #11 (permalink)
Member
 
Join Date: Sep 2006
Posts: 60
I dont recall the errors I got in the upgrade. There were some though! Should I run the upgrade again?

Also, the tip for the header image worked perfectly. Now Spider Friendly URLS don't screw it up.
__________________
www.GigaThreads.com
ESAD is offline   Reply With Quote
Old November 26th, 2006, 10:25 PM   #12 (permalink)
Member
 
Join Date: Sep 2006
Posts: 60
When I am logged in as Admin, this is constantly displayed above the header.

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /PHOTOPOST/showphoto.php on line 819
__________________
www.GigaThreads.com
ESAD is offline   Reply With Quote
Old November 26th, 2006, 10:27 PM   #13 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
Does your PhotoPost favorites (maybe pp_favorites?) table exist? It's just a simple query to see if the photo is in your favorites list.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old November 26th, 2006, 10:31 PM   #14 (permalink)
Member
 
Join Date: Sep 2006
Posts: 60
nope it sure doesn't.
__________________
www.GigaThreads.com
ESAD is offline   Reply With Quote
Old November 26th, 2006, 10:37 PM   #15 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
Well, that would be a problem. You can create it yourself; but the question is, what else didn't get created during your installation?

Assuming you are using the pp_ prefix:

Code:
Content visible to verified customers only.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Michael P; November 27th, 2006 at 06:56 AM.
Michael P is offline   Reply With Quote
Old November 26th, 2006, 10:47 PM   #16 (permalink)
Member
 
Join Date: Sep 2006
Posts: 60
I get this error upon running that query

SQL query:

CREATE TABLE IF NOT EXISTS pp_favorites(

id int( 12 ) NOT NULL AUTO_INCREMENT ,
userid int( 8 ) NOT NULL default '0',
photo int( 11 ) NOT NULL default '0',
PRIMARY KEY ( id ) ,
KEY parent( photo ) ,
KEY userid( userid ) TYPE = MYISAM

MySQL said:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 4
__________________
www.GigaThreads.com
ESAD is offline   Reply With Quote
Old November 26th, 2006, 10:53 PM   #17 (permalink)
Member
 
Join Date: Sep 2006
Posts: 60
Here is a screen shot from phpmyadmin

SQL Server version: 4.1.21-standard
Attached Images
File Type: jpg grab.jpg (94.1 KB, 5 views)
__________________
www.GigaThreads.com
ESAD is offline   Reply With Quote
Old November 26th, 2006, 11:38 PM   #18 (permalink)
Member
 
Join Date: Sep 2006
Posts: 60
I manually added it via phpMyadmin but am unsure where to set these attributes. (I set the id field to parent. . .)

KEY parent (photo), KEY userid (userid) TYPE=MyISAM;

The table is of Type MyISAM.
__________________
www.GigaThreads.com
ESAD is offline   Reply With Quote
Old November 26th, 2006, 11:41 PM   #19 (permalink)
Member
 
Join Date: Sep 2006
Posts: 60
I still get these errors right after uploading an image.


Warning: getimagesize(home/caliberf/public_html/caliber_watermark.png) [function.getimagesize]: failed to open stream: No such file or directory in /PHOTOPOST/image-inc.php on line 160

Warning: imagecreatefrompng(home/caliberf/public_html/caliber_watermark.png) [function.imagecreatefrompng]: failed to open stream: No such file or directory in /PHOTOPOST/image-inc.php on line 221

Warning: imagesx(): supplied argument is not a valid Image resource in /PHOTOPOST/image-inc.php on line 222

Warning: imagesy(): supplied argument is not a valid Image resource in /PHOTOPOST/image-inc.php on line 223

Warning: imagecopy(): supplied argument is not a valid Image resource in /PHOTOPOST/image-inc.php on line 225

Warning: imagedestroy(): supplied argument is not a valid Image resource in /PHOTOPOST/image-inc.php on line 229
__________________
www.GigaThreads.com
ESAD is offline   Reply With Quote
Old November 26th, 2006, 11:51 PM   #20 (permalink)
Member
 
Join Date: Sep 2006
Posts: 60
I fixed all of those errors with a foward slash in the path to the watermark image that was missing. I just need to make sure I have constructed that favorites table correctly.
__________________
www.GigaThreads.com
ESAD 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
sql sessions errors pengrus Photopost Pro How Do I...? 6 November 10th, 2006 04:08 PM
SQL errors being emailed after upgrade to 5.3 oldford Photopost Pro Installation & Upgrades 3 May 1st, 2006 04:12 PM
SQL Errors Exitilus Photopost Pro Installation & Upgrades 2 March 24th, 2006 11:59 AM
Upgrade to 5.21 sql errors in phpbb2.php kreever Photopost Pro Installation & Upgrades 1 January 23rd, 2006 10:45 AM
SQL errors rogerl Photopost Pro Bug Reports 3 September 13th, 2005 03:31 PM


All times are GMT -5. The time now is 04:35 PM.

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