 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
May 24th, 2009, 12:31 PM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2008
Posts: 19
| Error message - gallery gone
We are getting this error message when we try to access our gallery...
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'scrpdng_vb'@'localhost' (using password: YES) in /usr/home/scrpdng/public_html/gallery/pp-inc.php on line 185
I cannot connect to the PhotoPost database. [$php_errormsg]
What do we need to do?
|
| |
May 24th, 2009, 01:49 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
have you recently changed your mysql database access?
The information in your config-inc.php for the database is incorrect it would appear by that error.
|
| |
May 24th, 2009, 08:11 PM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2008
Posts: 19
|
We didn't change anything but we did do a vbulletin upgrade and wonder if it happened during that. I'm really not sure how to check what you suggest, how do we go about finding out if the mysql database was changed & if so can you give us more info on how we fix it?
|
| |
May 25th, 2009, 07:44 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
You need to look in your photopost directory and make sure that the information in the config-inc.php file is correct for accessing the photopost and vbulletin database.
|
| |
May 25th, 2009, 12:02 PM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2008
Posts: 19
|
Where can I find the information to know what is correct?
|
| |
May 25th, 2009, 04:33 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
Well your server control panel in your hosting setup has the mysql info. If your photopost is installed in the same database as vbulletin you can find the proper info also in your vbulletin config.php file in there includes subdirectory of the forum files.
|
| |
May 26th, 2009, 06:36 AM
|
#7 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2008
Posts: 19
|
Can you please tell me exactly what information I am looking for to match? I have looked at both files & at first glance they appear to have the same database info in each. The only difference being the password & I'm not sure if both photopost & vbulletin would have the same password.
Thanks!
|
| |
May 26th, 2009, 09:49 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
If the Photopost mysql tables are in the vbulletin database they would definately have the same password.
My suggestion is since your trying to access the vb database then you need to make sure you have the correct mysql user and password entered in your photopost config-inc.php file. You say you recently updated vbulletin well apparently whom ever you had do the work changed your mysql password and caused this issue.
|
| |
May 26th, 2009, 09:57 AM
|
#9 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2008
Posts: 19
|
Okay, I changed the password so it's the same as in the vb database & I still get this error message: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'scrpdng_vb'@'localhost' (using password: YES) in /usr/home/scrpdng/public_html/gallery/pp-inc.php on line 185
I cannot connect to the PhotoPost database. [$php_errormsg]
|
| |
May 26th, 2009, 10:16 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
Okay relook at your vb config file. You want to compare these things and set accordingly in your vb config file.
mysql host
mysql database
mysql user
mysql password
These all must be exact to work
|
| |
May 26th, 2009, 10:38 AM
|
#11 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2008
Posts: 19
|
Everything looks identical to me. I'm lost. |
| |
May 26th, 2009, 11:51 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
They can not be. Feel free to send ftp information to the contact us link in our header.
|
| |
May 26th, 2009, 01:48 PM
|
#13 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2008
Posts: 19
|
Thank you! I just sent the info!
|
| |
May 26th, 2009, 02:14 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
No problem I will respond via that email then.
|
| |
May 26th, 2009, 05:38 PM
|
#15 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2008
Posts: 19
|
Thank you so much for all your help Chuck! You're a lifesaver! Our gallery is back up & running thanks to you!!
During all this our Featured Photos Display disappeared & I have no idea where the settings for that are! Can you please help?? Thanks again!
|
| |
May 27th, 2009, 03:59 AM
|
#17 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2008
Posts: 19
|
Thanks Chuck. The plug-in has been installed since we first installed photopost & vb & it had worked perfectly, but I'm assuming this last vb upgrade is what is causing things to go wonky & why it's not showing on our forums anymore. I'm a little confused on where to begin since the plug-in is already installed & had been working?
Thanks for any advice & help you can offer.
|
| |
May 27th, 2009, 10:36 AM
|
#18 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
My suggestion is to look in your vb admin under the plugin section. There should be a plugin there.
Just go through install the plugin and edit that forumhome template.
|
| |
May 27th, 2009, 11:52 AM
|
#19 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2008
Posts: 19
|
Here is what I see in the Admin CP:
Product vBulletin
Hook Location forumhome_complete
Title Photopost Featured Photos
Execution Order 5
Plugin PHP Code include('../gallery/inc_features.php');
Plugin is Active Yes
Down at the bottom:
Plugin PHP Code
include('../gallery/inc_features.php');
I'm not sure where to go from here since it states that the plugin is active but it's not showing up on the forums.
Thanks Chuck.
|
| |
May 27th, 2009, 11:55 AM
|
#20 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
Under your styles admin have you edited the forumhome template and placed this code where noted in the instructions? Code: Content visible to verified customers only.
|
| | |
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 | | | All times are GMT -5. The time now is 11:48 PM. | |