| 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.
|