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 > ReviewPost Pro Support Forums > ReviewPost Installation & Upgrades

ReviewPost Installation & Upgrades If you're having problems getting ReviewPost Pro to work or receiving errors while running RP, seek help here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 2nd, 2006, 08:28 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2003
Location: On a ship in Hawaii
Posts: 7
Send a message via Yahoo to bergmanb
Upload photo error

Using FusionBB 1.0
Using Photopost Pro 5.21
Using PHP 4.3.11
Using MySQL 4.0.16
----------------------------

I did extensive searches in the forums here looking for the same problem but i couldn't find one so I'm posting my problem now.

I do a new installation and integrate with FusionBB. On the first attempt I customized everything and tried to do a photo upload and got an error about permissions on the directory. After fixing that I am left with this error:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/tampains/public_html/gallery/uploadphoto.php on line 428

line 426, 427 and 428 shows this:

426: // And only do these if we are quick uploading...
427: $resulta = ppmysql_query("SELECT COUNT(*), SUM(filesize) AS fsize FROM {$Globals['pp_db_prefix']}photos WHERE userid=$upuserid AND storecat=0", $link);
428: list( $uploadchk, $diskuse ) = mysql_fetch_row($resulta);


After receiving that error I went and dropped all the Photopost tables from my database and re-started the install.php again. I use the out-of-the-box configuration and I still receive the same error.

Any ideas? Thanks for any help provided.
bergmanb is offline   Reply With Quote
Old January 2nd, 2006, 09:25 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
Well maybe some more info here like url to install?

maybe a test account for us to try an upload.

Please post the full error also. You can in admin global options set to display errors in debug setting. when logged in as admin you should get the true error.

I don't see anything that should be wrong here but the exact error here will help alot

How old is your download also?
__________________
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 January 3rd, 2006, 06:39 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2003
Location: On a ship in Hawaii
Posts: 7
Send a message via Yahoo to bergmanb
Hey Chuck, sorry I forgot about the display errors info.

Here is what it shows.

We're sorry, but the system experienced an unrecoverable error. Please try again later.

Script: uploadphoto

Query: SELECT COUNT(*), SUM(filesize) AS fsize FROM pp_photos WHERE userid= AND storecat=0

Result: 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 'AND storecat=0' at line 1

Database handle: Resource id #7



I have created a test account: test/test
url: http://www.tampainsider.com/gallery/index.php

I do notice that the test account (normal user) doesn't have the same problem. I only get that error above when i'm logged in as admin trying to upload.

Thanks for the help. Need any more info?
bergmanb is offline   Reply With Quote
Old January 3rd, 2006, 09:33 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
Well are you using the latest download as have you tried downloading the code again and replacing all the files?
__________________
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
Error message during photo upload rabcross General Discussion 2 December 27th, 2005 10:30 PM
Error message trying to upload photo deusex957 Photopost Pro Bug Reports 2 September 27th, 2005 07:54 AM
Error when trying to upload photo? bill03 Photopost Pro How Do I...? 13 August 30th, 2005 09:22 AM
Skip upload etc - showing at Members photo upload(NOT A BUG) mjm Photopost Pro Bug Reports 5 July 31st, 2005 08:36 PM


All times are GMT -5. The time now is 07:06 AM.

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