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 Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 20th, 2007, 09:27 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2007
Posts: 2
forums/vb3.php on line 173

I'm having trouble when going to, for example:

http://www.juventudboricua.com/fotos...0/limit/recent

It says: "Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/jjuventu/public_html/fotos/forums/vb3.php on line 173"

I don't know what to do
Peter Anthony is offline   Reply With Quote
Old January 22nd, 2007, 01:25 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
Run this query in vb sql window and add any necessary prefix as you have removed the vb location field

ALTER TABLE userfield ADD field2 VARCHAR(75) DEFAULT NULL;
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 17th, 2007, 04:18 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2007
Posts: 2
Quote:
Originally Posted by Chuck S View Post
Run this query in vb sql window and add any necessary prefix as you have removed the vb location field

ALTER TABLE userfield ADD field2 VARCHAR(75) DEFAULT NULL;
I'm not sure on how to do that

It says: An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'jjuventu_foro.userfield' doesn't exist
Peter Anthony is offline   Reply With Quote
Old March 17th, 2007, 09:40 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
Make sure you add your proper mysql table prefix of your vb tables
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old November 24th, 2007, 05:03 PM   #5 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
If we're getting this error when we view photos after an upgrade, do we need to run this mysql query on our VB database? Not the Photopost database? I' asking because I was on 5.03 and I never ran this before and if I did why do I have to run it again?

Is running this on my forum database going to mess anything up?

How do I find out if I have a table prefix on my forum database?
Johnny Doomo is offline   Reply With Quote
Old November 24th, 2007, 06:03 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
You probally modified your files but yes you want to run that query on your vb database to add back in the proper field in the right table so we can grab a location.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old December 5th, 2007, 01:05 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 54
Send a message via AIM to yotsume Send a message via MSN to yotsume Send a message via Yahoo to yotsume Send a message via Skype™ to yotsume
I have this same error. Your directions are not clear at all!

In the "Manual Query" window what do I put there?

ALTER TABLE userfield ADD field2 VARCHAR(75) DEFAULT NULL;

What do I need to change in this to get this to work correctly? Can you be clear please.

Thanks,
yotsume is offline   Reply With Quote
Old December 5th, 2007, 01:19 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 54
Send a message via AIM to yotsume Send a message via MSN to yotsume Send a message via Yahoo to yotsume Send a message via Skype™ to yotsume
I ran this:

ALTER TABLE vb_user ADD field2 VARCHAR(75) DEFAULT NULL;

It ran but the error still shows in my gallery... How can I fix this mess?
yotsume is offline   Reply With Quote
Old December 5th, 2007, 04:15 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
Make sure that is the correct query as in table prefix and your issuing that command in the right database

If you are logged in as admin in global options in admin set your debug setting to display errors.

If you view the page you should see your true error here and see if it matches this thread.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old December 5th, 2007, 04:39 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 54
Send a message via AIM to yotsume Send a message via MSN to yotsume Send a message via Yahoo to yotsume Send a message via Skype™ to yotsume
this is the error message i get now:

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

Script:

Query: SELECT u.username,u.homepage,u.usertitle,u.posts,u.joindate,uf.field2,s.host,t.signature,avatar.avatarpath, NOT ISNULL(customavatar.filedata) AS hascustomavatar,u.avatarrevision FROM vb_user u LEFT JOIN vb_userfield uf ON uf.userid=u.userid LEFT JOIN vb_session s ON s.userid=u.userid LEFT JOIN vb_usertextfield t ON t.userid=u.userid LEFT JOIN vb_avatar AS avatar ON (avatar.avatarid = u.avatarid) LEFT JOIN vb_customavatar AS customavatar ON (customavatar.userid = u.userid) WHERE u.userid=1 LIMIT 1

Result: Unknown column 'uf.field2' in 'field list'

Database handle: Resource id #26

How do I fix?
yotsume is offline   Reply With Quote
Old December 5th, 2007, 04:42 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
Correct look at your query its wrong this is the right query

ALTER TABLE vb_userfield ADD field2 VARCHAR(75) DEFAULT NULL;

That should set you right. You added that field to the wrong vb table user not userfield.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old December 5th, 2007, 04:44 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 54
Send a message via AIM to yotsume Send a message via MSN to yotsume Send a message via Yahoo to yotsume Send a message via Skype™ to yotsume
Aaaa your my gallery code pimp!

All fixed! THANKS!

Question... Why did this happen on a fresh install of latest VB and Photopost?
yotsume is offline   Reply With Quote
Old December 5th, 2007, 04:46 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 54
Send a message via AIM to yotsume Send a message via MSN to yotsume Send a message via Yahoo to yotsume Send a message via Skype™ to yotsume
Oh Now all I have to do is figure out why in the built in lightbox the buttons aren't showing... URL to the images must be off somewhere...
yotsume is offline   Reply With Quote
Old December 5th, 2007, 04:48 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
you had to delete that profile field out of vbulletin for this to happen.

As far as lightbox this should help

http://www.photopost.com/forum/showp...22&postcount=9
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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
pp-inc.php on line 2877 marinecentral Photopost Pro How Do I...? 3 October 21st, 2005 05:08 PM
forums/vb3.php on line 28 error in admin CallieJo Classifieds Installation & Upgrades 6 May 2nd, 2005 06:12 PM
Alright. Install prob. Vb3.php line 350 rex_b Photopost Pro Installation & Upgrades 26 April 15th, 2005 05:44 PM


All times are GMT -5. The time now is 05:20 PM.

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