View Full Version : O boy!! This is not good.. Need Help
Ok, I installed this hack that let's you look at pm's. So I go in and give it a test try.
and it missed up my DB.
So now the links at the end of VB like Contact Us - Admin - Mod - Archive - Top
Mod and Admin don't work it just go's to the main page of my website
if you go into the fourms and hit a users name and then try and hit User Options
it give's a ceazy like and go's to the desk top.
Ok so I go into Import & Maintenance/Repair / Optimize Tables
hit all, and then try to repair then no go. it fixed a few of the links like (Archive - Top-Contact Us) but the admin , mod , User Options are all busted up and not working and going to the main page.
Now I backed up my DB like 2 days go and would like to uploaded back to the DB.
the only thing is I not 100% sure how to do this. And if I get it to work will it fix my DB back to the day it was b4 ????
some one please help me out here
Zachery
04-14-2004, 08:26 PM
That hack cannot do that, it doesnt even run any harmfull code,
Try reverting all your templates.
OK i'm kind of new to all of this.
I know they was working fine be I installed and gave it a test run.
ok, if your talking about (Execute SQL Query)
it say's i'm are not authorized to execute SQL queries
and I have done every thing in Maintenance/Repair there is to do like over and over
GeekyDesigns
04-14-2004, 08:33 PM
AdminCP > Styles and Templates > Style Manager > click on the drop down. select revert all templates.
Nope. and now my header is all jaked up :(
I tryed going back to the vBulletin 3 Template thinking it was just my Template that was missed up but there all like that.
Scrub
04-14-2004, 08:38 PM
What is your site URL?
Well I have then closed now cuz my forums are all jacked up.
OK i like took out my skins all the way and reinstalled them. An it's still the same
in what file, does it have the url's ??
or better yet can some one just tell me how to upload this DB back up I did two days ago I'll give that a try
scurb I sent you a PM, of the stuff you was asking for
Scrub
04-14-2004, 10:03 PM
In order to restore your database via SSH or Telnet you will require 2 things:
1) SSH or Telnet access to your site. You will need to check with your hosting company to see if this is available.
2) An SSH/Telnet Client, such as PuTTy.
Note:
If your database backup resides on your home computer, you will first have to upload it via FTP to your website
Open your SSH/Telnet client and log into your website. The command line prompt you will see will vary by OS.
For most hosting companies, this will bring you into the FTP root folder.
Type in the following:
mysql -u dbusername -p databasename < /path/to/backupname.sql
You will be prompted for the database password. Enter it and the database will backup.
If your hosting company has you on a remote MySQL server, such as mysql.yourhost.com, you will need to add the servername to the command line. The servername will be the same as in your config.php. The command line will be:
mysql -h servername -u dbusername -p databasename < /path/to/backupname.sql
Scrub
04-14-2004, 10:08 PM
Okay, for those masterminds who know what they're doing.
In the member.php, you have a link to their user options in moder.php. Well, the link shows as:
http://www.site_here.com/forums/moderator.php?do=useroptions&u=3
But when you click it and load up, it takes you to:
http://www.site_here.com/index.php?loc=user.php%3Fdo%3Dedit%26u%3D3
What would be causing that? :confused:
All templates are standard aswell.
Giveit2u43
04-14-2004, 10:30 PM
Check the Replacement variables manager.
Scrub
04-14-2004, 10:33 PM
That was the first thing I checked, and there were no replacment variables in there.
Scrub
04-14-2004, 10:42 PM
All that was wrong, was his config.php file didn't have:
$admincpdir = 'admincp';
$modcpdir = 'modcp';
And that was messing those links up. :confused:
I would just like to take this time to say that scrub is a hell of a guy, and know's his ++++...
Well done man, and I thank you
Edit:
Not only did he fix my missup but he fixed my VBA too :)
I like this guy :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.