 | |  | | | General Discussion General use discussion forum for PhotoPost products. |
May 8th, 2008, 12:17 PM
|
#1 (permalink)
| | Ultimate Member
Join Date: Jun 2007
Posts: 1,340
| Mysql Error
Can anyone shed some light on this error?
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/public_html/skidpics/forums/photopost.php on line 78.
It shows on uploadphoto.php
here is line 78:
while ( list( $userid, $username ) = mysql_fetch_row($queryv) ) {
|
| |
May 8th, 2008, 02:58 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
| Code: Content visible to verified customers only.
Line 78 of Photopost.php file not uploadphoto.php. Add in bold as noted in that query.
Last edited by Chuck S; May 8th, 2008 at 04:04 PM.
|
| |
May 8th, 2008, 03:48 PM
|
#3 (permalink)
| | Ultimate Member
Join Date: Jun 2007
Posts: 1,340
|
hmmm- that didn't resolve the issue.
Last edited by skidpics; May 8th, 2008 at 03:56 PM.
|
| |
May 8th, 2008, 04:04 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
Try reapplying it
|
| |
May 8th, 2008, 04:09 PM
|
#5 (permalink)
| | Ultimate Member
Join Date: Jun 2007
Posts: 1,340
|
got it. thanks!
|
| |
May 8th, 2008, 04:16 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
Not a problem glad to help
|
| |
May 8th, 2008, 04:19 PM
|
#7 (permalink)
| | Ultimate Member
Join Date: Jun 2007
Posts: 1,340
|
tell me something. I switched hosting finally - not sure if you remember the previous discussions about yahoo hosting (yuck) - either way, I have the errors set to 'do nothing' in admin, but I still see them here and there. What is causing the display of the errors, as they were not being displayed with my yahoo hosting.
|
| |
May 8th, 2008, 04:41 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
No idea the error your talking about here is going to show no matter what display errors would display the full error email error is gonna email the full error do nothing does nothing it does not mean its gonna keep you from seeing a line error when viewing the site if something is wrong
The issue you had above is endemic of 6.1 as It appears Michael changed by mistake that query leaving out the user on the field names.
|
| |
May 9th, 2008, 09:20 AM
|
#9 (permalink)
| | Ultimate Member
Join Date: Jun 2007
Posts: 1,340
| Another one I keep getting on image uploads.
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/local/bin/jpegtran) is not within the allowed path(s): ('.:/proc/uptime:/tmp:/home:/usr/local/lib/php:/usr/home:/usr/local/bin/') in /home/vande11/public_html/skidpics/image-inc.php on line 592
What is this? Duplicate File names?
|
| |
May 9th, 2008, 09:25 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
open_basedir is set on your server you can not use jhead jpegtran or imagemagick.
remove the jpegtran path in admin global options and your fine.
|
| |
May 9th, 2008, 09:41 AM
|
#11 (permalink)
| | Ultimate Member
Join Date: Jun 2007
Posts: 1,340
| Quote:
Originally Posted by Chuck S open_basedir is set on your server you can not use jhead jpegtran or imagemagick.
remove the jpegtran path in admin global options and your fine. | What do you mean I cannot use Imagemagick? It is running fine.. well, unless those errors are being created by it?
|
| |
May 9th, 2008, 10:09 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
I am just responding to the error. If you remove the jpegtran line does the error go away?
|
| |
May 9th, 2008, 10:48 AM
|
#13 (permalink)
| | Ultimate Member
Join Date: Jun 2007
Posts: 1,340
|
removing those entried indeed seem to do the trick.
thank you very much..
|
| |
May 9th, 2008, 11:05 AM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
Have a good weekend.
|
| | |
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 | | |
Similar Threads | | Thread | Thread Starter | Forum | Replies | Last Post | | MySQL Error | tripsmarter.com | Installs and Upgrade - vBulletin 3.6x | 4 | September 4th, 2008 12:48 AM | | 3.0.1 Another mysql error | Astaran | Classifieds Bug Reports | 3 | April 30th, 2008 05:33 PM | | PP 5.5 Mysql error... | Dr00pY | Photopost Pro Bug Reports | 5 | November 21st, 2006 11:40 AM | | Help!!! Mysql Error | tommyxv | Photopost Pro Installation & Upgrades | 2 | May 20th, 2005 08:35 AM | | MySQL error | orangeflea | Photopost Pro Installation & Upgrades | 4 | September 24th, 2004 07:04 AM | All times are GMT -5. The time now is 01:17 AM. | |