PDA

View Full Version : New to vbulletin, completely lost


zlongrscom
10-31-2013, 11:29 PM
My company has been using vBulletin 4, the people that set it up no longer work for the company. I have been asked to make our forums site work again, I have no idea where to start. I see tutorials that talk about logging in as admin etc, I don't see any place to log in. Can I only edit my site from the server it's setup on? When you go to my site it gives this error message:

The database has encountered a problem.
Please try the following:
Load the page again by clicking the Refresh button in your web browser.
Open the www.computer-repair-experts.com home page, then try to open another page.
Click the Back button to try another link.
The www.computer-repair-experts.com forum technical staff have been notified of the error, though you may contact them if the problem persists.

We apologise for any inconvenience.


---Any help at all would be greatly appreciated, even just a little tip or where to get started, assume I know NOTHING about any of this!

Lynne
11-01-2013, 12:15 AM
The actual database error should be sent to the email address entered into the /includes/config.php file. Go check that email and get back to us with what the exact database error is. We can't help unless we know what that error is.

Digital Jedi
11-01-2013, 12:25 AM
The actual database error should be sent to the email address entered into the /includes/config.php file. Go check that email and get back to us with what the exact database error is. We can't help unless we know what that error is.
Isn't it in the source code?
Can't connect to MySQL server on '74.111.35.83' (10060)
E:\computer-repair-experts.com\includes\class_core.php on line 311
Or does the email say something different?

Max Taxable
11-01-2013, 01:05 AM
Details from the page source code:<!--
Database error in vBulletin :

mysql_connect() [&lt;a href='function.mysql-connect'&gt;function.mysql-connect&lt;/a&gt;]: Can't connect to MySQL server on '74.111.35.83' (10060)
E:\computer-repair-experts.com\includes\class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Thursday, October 31st 2013 @ 09:02:44 PM
Error Date : Thursday, October 31st 2013 @ 09:03:05 PM
Script : http://www.computer-repair-experts.com/index.php
Referrer : https://vborg.vbsupport.ru/showthread.php?t=304065
IP Address : 51.27.27.34
Username :
Classname : vB_Database
MySQL Version :
-->

Lynne
11-01-2013, 01:38 AM
Usually the error isn't shown in the page source anymore and hasn't been for many, many versions (what version are you running?). If that is the error, then either the information in the config.php file is incorrect, or this is a hosting issue and you will need to talk to your host about it.

Max Taxable
11-01-2013, 02:14 AM
Usually the error isn't shown in the page source anymore and hasn't been for many, many versions (what version are you running?). If that is the error, then either the information in the config.php file is incorrect, or this is a hosting issue and you will need to talk to your host about it.I'm thinking someone might have edited that php file using just a standard text editor, KWIM?

Max Taxable
11-01-2013, 04:08 PM
You should remove those files from your post here immediately, you are giving away master db usernames, passwords, and so on.

zlongrscom
11-01-2013, 04:13 PM
Thank you for that, didn't even realize. That could have been bad.

Had to delete the post so here it is again with out the attachments:

This is all going over my head. The email address is the includes/config.php is for an employee that doesn't work here anymore and that email address can't be checked. I take it I should change that email address? As far as the hosting, I'm pretty sure we are the host. We have our own server room, I just know nothing about any of that. Can I fix this from my machine or do I have to go to the computer being used as the server?

Max Taxable
11-01-2013, 04:17 PM
This is all going over my head. The email address is the includes/config.php is for an employee that doesn't work here anymore and that email address can't be checked. I take it I should change that email address?Definitely. As far as the hosting, I'm pretty sure we are the host. We have our own server room, I just know nothing about any of that. Can I fix this from my machine or do I have to go to the computer being used as the server?I can't tell that from the information I have.

zlongrscom
11-01-2013, 04:17 PM
Oh and I'm confused because we have a folder for version 3.8.4 and a folder for version 4, like we updated, but then the config.php file I was just looking at says version 3.8.4 - I have been trying to get vBulletin's tech support to help me but they say they can't because I am using an old version and they only support versions 4 and 5. But then why do I have a folder that says version 4?

Max Taxable
11-01-2013, 04:18 PM
DO attach your 'class_core.php' file here and let me have a look at it.Oh and I'm confused because we have a folder for version 3.8.4 and a folder for version 4, like we updated, but then the config.php file I was just looking at says version 3.8.4 - I have been trying to get vBulletin's tech support to help me but they say they can't because I am using an old version and they only support versions 4 and 5. But then why do I have a folder that says version 4?It's possible someone uploaded the version 4 file but it is not pointed to. The db error is being generated by the 3.8.4 version of the software so that is the active one.

Can you get in AdminCP? yoursite/admincp.php

zlongrscom
11-01-2013, 04:34 PM
If I go to http://www.computer-repair-experts.com/admincp.php it just says page cannot be found.

I attached class_core.php

Max Taxable
11-01-2013, 04:40 PM
If I go to http://www.computer-repair-experts.com/admincp.php it just says page cannot be found.

My bad, it should be http://www.computer-repair-experts.com/admincp/index.php

I attached class_core.phpGot it... On first look I see nothing wrong. I'd thought that maybe someone had edited the file using notepad - that causes errors.

zlongrscom
11-01-2013, 04:43 PM
When I go to that link it just says database error

Max Taxable
11-01-2013, 04:45 PM
When I go to that link it just says database errorI suspected as much.

The deal is, the software is unable to connect to the database. This could be for many reasons, including the lack of existence of said database.

Can you verify the existence of the database in the server?

zlongrscom
11-01-2013, 04:53 PM
I mean all the folders and everything are there and all of the .php files etc. is that what you mean?

Max Taxable
11-01-2013, 05:00 PM
I mean all the folders and everything are there and all of the .php files etc. is that what you mean?The database in the server. The SQL. Not the files and folders, the database. Access the phpmysql in the server. Look for a database named "forum"


I will return shortly... Don't let my lack of replies dissuade you. Others will be along as well.

Lynne
11-01-2013, 05:02 PM
Usually, if every page is getting a database error, you either have a crashed table or a full session table. You really need to change the email in the config.php file to your own so you can have the database error emailed to you and then you can tell us what it is.

zlongrscom
11-01-2013, 05:58 PM
I just found out someone else is working on this who actually knows what they're doing in my company. Poor communication on our part. I will wait and see how that goes, so for now I guess I am all set. Thank you so much for your help, most forum sites like this, people rarely respond and when they do it's never as helpful as you all! Sorry for taking up your time! I will be back if they don't get it up and running. Thanks again!