 | |  | | | Classifieds How do I...? Wondering how to do something in Classifieds? |
May 16th, 2009, 11:06 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Nov 2005
Posts: 122
| Classifieds databaseAccess denied for user error
No Configurations were made last night, but my entire classifieds section is down with the error on a white background
Could not connect to PhotoPost Classifieds databaseAccess denied for user xxxxx@'localhost' to database xxxxx
A bit scary since we go live tomorrow. What config file do I need to look at to fix?
it actually gives usernames but i placed the xxx's
|
| |
May 16th, 2009, 12:04 PM
|
#2 (permalink)
| | Member Verified Customer
Join Date: Nov 2005
Posts: 122
|
For some reason my database access has been denied. I fixed it but am now getting We're sorry, but the system experienced an unrecoverable error. Please try again later.
at Message - Eastvale Classifieds
I repaired all DB's and same error
Last edited by pcgorilla; May 16th, 2009 at 02:39 PM.
|
| |
May 16th, 2009, 02:28 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Nov 2005
Posts: 122
|
I try the admin and I get the same error
Last edited by pcgorilla; May 16th, 2009 at 02:39 PM.
|
| |
May 16th, 2009, 05:22 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
Well something definately happened to your database. If your logged in as admin you can run this query to set debug to display errors and it should tell you the error so we can assist you in how to fix it.
You need to do this using phpmyadmin or if your classifieds tables are in the vb database you can use the vb sql box in vb admin. Code: Content visible to verified customers only.
|
| |
May 16th, 2009, 05:42 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Nov 2005
Posts: 122
|
I cannot access the Classifieds admin at all. Same message. Are you talking about the VB Admin?
I have a seperate database from VBulletin Forum
|
| |
May 16th, 2009, 05:44 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
You need to login to vb as admin
You need to run that query in phpmyadmin then in your cpanel etc
You should then if you visit classifieds see the correct error.
|
| |
May 16th, 2009, 09:16 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Nov 2005
Posts: 122
|
I ran the query in the PHP admin, same error and no difference. I ran it in the vbulletin Cpanel and got this message:
An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'eastval2_boards.cp_settings' doesn't exist
they are in seperate databases and I cannot access the admin cpanel of the classifieds..
|
| |
May 17th, 2009, 02:03 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
If you ran the query on the right database in phpmyadmin and your classifieds tables are prefixed with cp_ and you log into vb as admin and show as logged in when viewing the classifieds you should indeed see your true error.
You can send server info admin info urls etc to the contact us link if you want us to take a look
|
| |
May 17th, 2009, 03:19 AM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Nov 2005
Posts: 122
|
I followed the directions and see the same error. I will send info through contact info.
|
| |
May 17th, 2009, 12:02 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Nov 2005
Posts: 122
|
I removed the line
if ( $User['adminedit'] == 1 )
from pp-inc and got this message
and here is my error:
Script:
Query: SELECT u.userid,u.username,u.email,u.password,u.usergroupid,u.timezoneoffset,s.sessionhash,u.salt,s.lastactivity,u.membergroupids FROM user u LEFT JOIN session s ON s.userid=u.userid WHERE u.userid=5
Result: Table 'eastval2_classifieds.user' doesn't exist
Database handle: Resource id #57
|
| |
May 17th, 2009, 12:09 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Nov 2005
Posts: 122
|
On the above error, userID is me, logged in as I am user5. When I login as user 60, it changes to userid=60 , etc...
|
| |
May 17th, 2009, 12:53 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
You have the wrong database information in your photopost config-inc.php file then.
There are two database portions there. The first one is classifieds database information and the second one is the forums. You must have changed both to the classifieds one trying to fix the intial error you where reporting not being able to connect to the classifieds database as now you cant connect to the forum.
|
| |
May 17th, 2009, 12:58 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Nov 2005
Posts: 122
|
I just checked, I have both set up as follows
// PhotoPost Classifieds database host address, or leave as localhost
$host="localhost";
// PhotoPost Classifieds's database name
$database="CLASSIFIEDS DB NAME";
// MySQL username and password to access PhotoPost Classifieds's database
//
// These two variables are for the userid and password needed to access
// the PhotoPost Classifieds database named above.
$mysql_user="CLASSIFIED USERNAME";
$mysql_password="CLASSIFIED PASSWORD";
// User database host address, or leave as localhost
$host_bb="localhost";
// If you want to use a prefix for your database tables, enter it here.
// NOTE: This variable can only be set PRIOR to your first installation of PhotoPost Classifieds;
// existing databases will not be changed and you will be unable to connect if you change
// this variable after performing a default installation.
$pp_db_prefix = "cp_";
// User database MySQL database name
//
// This is the variable for the User Database; if you are using Internal
// as your registration system, then these variables are the same as the
// ones above. If you are linking to a message board system,
// thse variables should be set to the database, user and password for that
// database.
$database_bb="VBULLETIN DATABASE";
// MySQL username and password to access user database
//
// These two variables are for the userid and password needed to access
// the PhotoPost Classifieds or BB database.
$user_bb="VBULLETIN DATABASE USERNAME";
$password_bb="VBULLETIN PASSWORD";
|
| |
May 17th, 2009, 01:02 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
That can not be so with the error posted here Code: Content visible to verified customers only.
That error tells me that your config information is telling classifieds to look into the classifieds database for the vb tables.
Make sure your ftp client is uploading the file if you have modified it.
|
| |
May 17th, 2009, 01:05 PM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Nov 2005
Posts: 122
|
I verified all that. Can I email you my pp-inc and my config file?
|
| |
May 17th, 2009, 01:15 PM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
Hello Main Index - Eastvale Classifieds
Your issues where caused by something you modified in the code. I replaced default files and low and behold your operational.
|
| |
May 17th, 2009, 01:17 PM
|
#17 (permalink)
| | Member Verified Customer
Join Date: Nov 2005
Posts: 122
|
and THIS is why I made my switch to your product Chuck. Nice.
What default files did you replace? I just want to make sure it does not happen again. and if it does, I understand how to get it up.
|
| |
May 17th, 2009, 01:21 PM
|
#18 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
Well I just replaced the default core php files
I would just suggest if you do modify your files hack or mod things whatever one wants to call it to make sure you keep a list of any files and such you modify. You could then replace just those to see if it helps. We can not say what hacks/mods will do to peoples code so bringing the files back to core defaults will of course always work and is what vbulletin or our company will tell you do to obtain product support.
|
| |
May 17th, 2009, 01:22 PM
|
#19 (permalink)
| | Member Verified Customer
Join Date: Nov 2005
Posts: 122
|
Good tip. Will do. Thanks again.
|
| |
May 17th, 2009, 01:26 PM
|
#20 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
Not a problem glad to assist thats why I am here |
| | |
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 02:29 PM. | |