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 Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 26th, 2010, 03:27 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Posts: 387
Question mysql_num_rows(): supplied argument is not a valid

Hi,

I started getting this error message today, did not make any changes, not sure what happened:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/username/public_html/pictures/forums/photopost.php on line 50

The userfield does exist in vb database.

After enabling debug mode (through phpmyadmin):

An error was encountered during execution of the query:

SELECT userid,username,email,password,usergroupid,offset,mature FROM pics_users WHERE username='username'

The query returned with an errorcode of:

Table 'username_vbdatabase.pics_users' doesn't exist

I am no longer able to administer PP using my forum uesrname.

Whats going on?
DefenceTalk.com is offline   Reply With Quote
Old July 26th, 2010, 05:41 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
according to the error your gallery is installed as a standalone not integrated with vbulletin.

reinstalling to integrate properly with vbulletin will fix your issue.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; July 26th, 2010 at 05:46 PM.
Chuck S is offline   Reply With Quote
Old July 26th, 2010, 06:42 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Posts: 387
Thanks. I've had it integrated for past 7 years, why would it just de integrate?

Will upgrading to latest version help?
DefenceTalk.com is offline   Reply With Quote
Old July 26th, 2010, 07:00 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
It would not deintegrate

The application would have to have been reinstalled as a standalone or someone has been database diving.
__________________
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 July 26th, 2010, 09:18 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Posts: 387
Chuck,

Reinstall means what?

What about existing settings, photos, etc.

Do I just upgrade with new files?

I don't know about database diving, I don't mess with databases and no one else has access to the server so I am not sure what happened here.
DefenceTalk.com is offline   Reply With Quote
Old July 26th, 2010, 11:29 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Posts: 387
Well, I deleted the tables and restored from the backup. The backup was actually done after the issue came up but it for some reason fixed the issue? I restored using phpmyadmin and it kept timing out as I restored 160MB database but at the end, it gave this error:

Quote:
Error

SQL query:

/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

MySQL said: Documentation
#1298 - Unknown or incorrect time zone: 'NULL'
DefenceTalk.com is offline   Reply With Quote
Old July 27th, 2010, 07:37 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
that error is not part of photopost or its database so your fine there.

The backup could not have taken place after the issue if it was fixed. Photopost looks explicity at the setting in the settings table of photopost setting 41 has the integration type. If your integrated with vb it would normally say vb3 there and we would call vb3.php however your error says your integration setting says photopost

Code:
Content visible to verified customers only.
__________________
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 July 27th, 2010, 10:01 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Posts: 387
I did try to change that in phpmyadmin but it kept saying I don't have admin/mod permissions when I tried to access the admin page.

Also, now its doing it again but no errors. I see admin link when logged into vbulletin and when clicking on pp admin link, it takes me to login page for pp admin. It was fine few minutes ago....

but checking the phpmyadmin, it shows vb3 as the User Registration System!

Can I install fresh database and import the current photos (37k)/categories and user settings?
DefenceTalk.com is offline   Reply With Quote
Old July 27th, 2010, 10:21 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
Are we sure we are dealing with the proper database and tables here? Just thought I would throw that out there. the error your saying is absolute. For the program to be calling photopost.php it has to be installed as a standalone not a vb integrated.
__________________
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 July 27th, 2010, 10:31 AM   #10 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Posts: 387
...and now its fixed by its self.

Would you like to take a look at the database because I have no idea whats going on?
DefenceTalk.com is offline   Reply With Quote
Old July 27th, 2010, 10:41 AM   #11 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Posts: 387
From one machine it takes me to PP admin page, from another it logs me into pp admin using vbulletin username. :clueless
DefenceTalk.com is offline   Reply With Quote
Old July 27th, 2010, 06:33 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
That would be strange but please feel free to send a url and admin login to the contact us link if you want.
__________________
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 in Photopost Warnung: mysql_fetch_row(): supplied argument is not a valid MySQL Schahab Before You Buy 3 September 8th, 2009 12:00 PM
supplied argument is not a valid MySQL??? DefenceTalk.com Photopost Pro Installation & Upgrades 5 September 17th, 2007 09:14 AM
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL sabrina Photopost Pro Installation & Upgrades 16 February 23rd, 2007 11:37 AM
mysql_fetch_row(): supplied argument is not a valid MySQL result resource in cavatina Photopost Pro Installation & Upgrades 6 December 7th, 2006 09:21 PM
Warning: mysql_fetch_array(): supplied argument is not a valid Please help tidy_boy ReviewPost Installation & Upgrades 25 December 21st, 2005 03:35 PM


All times are GMT -5. The time now is 11:00 PM.

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