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 March 15th, 2006, 09:29 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2006
Posts: 24
Question Error logging into adm-index.php after new install

I'm installing PhotoPost onto my VB 3.5.4 site and everything's going alright until the end of the install. I'm seeing two errors...

#1 is on step 5 of the install at the "Photopost configuration verification" - I get an error at the top of the page that says:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/tinastea/public_html/photopost/forums/vb3.php on line 460

#2 happens if I move on. The next page says that PhotoPost has been successfully installed and tells me to go to adm-index.php. But when I go there I get an error at the top of the page that says:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/tinastea/public_html/photopost/forums/vb3.php on line 25

Adm-index.php still gives me the otpion to log into my site. (though it doesn't really take me anywhere except to URL/index.php/photopost/mixc.php)

Can anyone tell me what to do next? Thanks!
mrsquid is offline   Reply With Quote
Old March 15th, 2006, 09:49 PM   #2 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Hello,

Sounds like Table prefix's. Your tables on install may have a table prefix that was not filled out in the config files.

photopost/config-int.php
- config-int.php

EX:

Code:
Content visible to verified customers only.
Zachariah is offline   Reply With Quote
Old March 15th, 2006, 10:07 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2006
Posts: 24
You're kinda right... pp_ is the prefix, but that was already in the config files.

Other thoughts?
mrsquid is offline   Reply With Quote
Old March 15th, 2006, 10:31 PM   #4 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Your Tables for the forums do that have a prefix also ?
- If so use phpMyadmin pp_setting record 83 and add the prefix.

Last edited by Zachariah; March 15th, 2006 at 10:39 PM.
Zachariah is offline   Reply With Quote
Old March 16th, 2006, 09:59 AM   #5 (permalink)
Registered User
Verified Customer
 
KW802's Avatar
 
Join Date: Nov 2005
Posts: 1,400
[ Moving to PhotoPost PHP Pro ]
KW802 is offline   Reply With Quote
Old March 18th, 2006, 10:23 AM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2006
Posts: 24
Quote:
Originally Posted by Zachariah
Your Tables for the forums do that have a prefix also ?
- If so use phpMyadmin pp_setting record 83 and add the prefix.
I just looked at my forum tables and they don't have a prefix.

I went into phpMyadmin and don't understand what I'm supposed to do with "pp_setting record 83 and add the prefix" - what's that mean? If I make that change, it won't hose up anything on my forum, will it?
mrsquid is offline   Reply With Quote
Old March 18th, 2006, 10:52 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
If you get this

Quote:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/tinastea/public_html/photopost/forums/vb3.php on line 25
Your issue can be only one of two things. I would suggest you rerun install.php and input the proper information.

1. You have entered the incorrect vbulletin database info on the config section under user database on Photopost Install

2. You did not enter the proper forum database table prefix on the next to last step of install where asked.

Your issue can only be one of these two things. It is up to you to determine which one is your issue here. Basically Photopost is not able to run queries against the vbulletin database. Both your vbulletin table prefix and database information is found in the vbulletin config.php file located in your forum includes directory.
__________________
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 18th, 2006, 12:40 PM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2006
Posts: 24
OK - we're getting REALLY close. I no longer get those 2 original errors. But now when I make it through the install process and adm-index.php has me log into my, it still takes me to URL/index.php/photopost/misc.php. My site looks OK, but anything that's a graphic comes up as a boxed red X.
mrsquid is offline   Reply With Quote
Old March 18th, 2006, 02:50 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
You would need to post a url here if you want us to suggest anything about graphics but I would assume here your using a custom vb style and as such you need to modify your style in vb admin and make sure you correct in the styles admin the relative image paths and make them full urls so photopost knows where to find the images.

As far as login on install did you properly enter the vb license number from the config file to your config in Photopost? If not you can correct this by entering it now in the config-inc.php file

Did you specify the proper vbulletin cookie prefix on install? By default it is bb and if you do not enter it you will not get into photopost admin cause we can not authenticate you since both the cookie prefix and license number along with user password make up the password cookie in vbulletin.

At this point you need to post a url so I can see where you are on install.
__________________
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 19th, 2006, 11:50 AM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2006
Posts: 24
Quote:
Originally Posted by Chuck S
You would need to post a url here if you want us to suggest anything about graphics but I would assume here your using a custom vb style and as such you need to modify your style in vb admin and make sure you correct in the styles admin the relative image paths and make them full urls so photopost knows where to find the images.
My question wasn't so much about graphics as it is about the fact that the login took me to URL/index.php/photopost/misc.php. That seemed like a strange path to me.

Quote:
Originally Posted by Chuck S
As far as login on install did you properly enter the vb license number from the config file to your config in Photopost? If not you can correct this by entering it now in the config-inc.php file.
Yes - the license # is copied/pasted

Quote:
Originally Posted by Chuck S
Did you specify the proper vbulletin cookie prefix on install? By default it is bb and if you do not enter it you will not get into photopost admin cause we can not authenticate you since both the cookie prefix and license number along with user password make up the password cookie in vbulletin.
This was the silver bullet. I added bb as the vbulletin cookie prefix and now I'm good. Thanks much!
mrsquid is offline   Reply With Quote
Old March 19th, 2006, 11:52 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Glad to help just made sure I covered ever aspect of your post and all questions
__________________
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
can't get into adm-index.php after logging in jjj0923 Photopost Pro Installation & Upgrades 9 January 13th, 2006 04:02 PM
Logging into adm-index.php keeps logging me out of forum bandit_LSS Photopost Pro Installation & Upgrades 8 January 13th, 2006 08:27 AM
After install, no user text on index.php or adm-index.php silknet01 Classifieds Installation & Upgrades 6 April 14th, 2005 01:43 PM
Clean Install of 4.86 - Blank adm-index.php Issue LeMans350z Photopost Pro Installation & Upgrades 4 February 19th, 2005 05:38 PM
Install successful yet problem with adm-index.php?? omeganostral Photopost Pro Installation & Upgrades 4 October 6th, 2004 02:12 PM


All times are GMT -5. The time now is 01:10 PM.

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