 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
November 26th, 2006, 10:11 PM
|
#1 (permalink)
| | Member
Join Date: Sep 2006
Posts: 62
| 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. "
|
| |
November 26th, 2006, 10:14 PM
|
#2 (permalink)
| | Member
Join Date: Sep 2006
Posts: 62
|
Also, whenever I go to any page other than the index page, my header image gets lost in some screwed up funky url. . . jeez. . . |
| |
November 26th, 2006, 10:25 PM
|
#3 (permalink)
| | Member
Join Date: Sep 2006
Posts: 62
|
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
|
| |
November 26th, 2006, 10:55 PM
|
#4 (permalink)
| | Member
Join Date: Sep 2006
Posts: 62
|
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.
|
| |
November 26th, 2006, 11:05 PM
|
#5 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,858
|
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. |
| |
November 26th, 2006, 11:17 PM
|
#6 (permalink)
| | Member
Join Date: Sep 2006
Posts: 62
|
You have got to be kidding me. . .
Anyway. When I turn off spider friendly URLS, the header logo doesn't get messed up. . .
|
| |
November 26th, 2006, 11:19 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
| 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.
|
| |
November 26th, 2006, 11:20 PM
|
#8 (permalink)
| | Member
Join Date: Sep 2006
Posts: 62
|
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.
|
| |
November 26th, 2006, 11:20 PM
|
#9 (permalink)
| | Member
Join Date: Sep 2006
Posts: 62
|
good tip on the header image! Thanks!
|
| |
November 26th, 2006, 11:21 PM
|
#10 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,858
|
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. |
| |
November 26th, 2006, 11:23 PM
|
#11 (permalink)
| | Member
Join Date: Sep 2006
Posts: 62
|
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.
|
| |
November 26th, 2006, 11:25 PM
|
#12 (permalink)
| | Member
Join Date: Sep 2006
Posts: 62
|
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
|
| |
November 26th, 2006, 11:27 PM
|
#13 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,858
|
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. |
| |
November 26th, 2006, 11:31 PM
|
#14 (permalink)
| | Member
Join Date: Sep 2006
Posts: 62
|
nope it sure doesn't.
|
| |
November 26th, 2006, 11:37 PM
|
#15 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,858
|
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 07:56 AM.
|
| |
November 26th, 2006, 11:47 PM
|
#16 (permalink)
| | Member
Join Date: Sep 2006
Posts: 62
|
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
|
| |
November 26th, 2006, 11:53 PM
|
#17 (permalink)
| | Member
Join Date: Sep 2006
Posts: 62
|
Here is a screen shot from phpmyadmin
SQL Server version: 4.1.21-standard
|
| |
November 27th, 2006, 12:38 AM
|
#18 (permalink)
| | Member
Join Date: Sep 2006
Posts: 62
|
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.
|
| |
November 27th, 2006, 12:41 AM
|
#19 (permalink)
| | Member
Join Date: Sep 2006
Posts: 62
|
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
|
| |
November 27th, 2006, 12:51 AM
|
#20 (permalink)
| | Member
Join Date: Sep 2006
Posts: 62
|
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.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 02:22 PM. | |