Log in

View Full Version : Help!!!!


PinkDaisy
09-24-2007, 10:30 AM
Ugh.. I'm desparate at this point. I am getting a weird thing on my site. I have already spoken to my host, and nothing on their end was done and they basically have no idea whats going on. I have done all I can think - backups are currently being uploaded right now, etc. and NOTHING is helping!!

When you go to my site: http://www.belliesbabiesnbeyond.com/forums - it will NOT let you get past what is shown. All my skins are not showing up, and its a blank white page with links, and it does not let you get past the user it is saying you are not (which is an account on my board that I created for our auto messages, etc.). This is SO weird.

Any ideas?? HELP?? What can I do?? I can't even get into my admin cp!! :(

Dismounted
09-24-2007, 10:40 AM
Add this to the end of your config.php (before ?>).
define('DISABLE_HOOKS', true);

PinkDaisy
09-24-2007, 10:44 AM
I will try to do this as soon as my upload is finished (backup of the files). Thanks!

Add this to the end of your config.php (before ?>).
define('DISABLE_HOOKS', true);

I dont have a "?>" in the config file, so I'm not sure where to add the php code ??

Marco van Herwaarden
09-24-2007, 10:55 AM
Either at the total end of the config.php or at the beginning on a line directly after "<?"

Dismounted
09-24-2007, 11:08 AM
I have to remember they don't put "?>" at the end of config.php anymore :p.

PinkDaisy
09-24-2007, 11:25 AM
Okay, I put that at the beginning and now getting:

define('DISABLE_HOOKS', true);



Unable to add cookies, header already sent.
File: /home/belliesb/public_html/forums/includes/config.php
Line: 1

Dean C
09-24-2007, 11:33 AM
Check your file begins with <?php and doesn't have ANY whitespace before the <. And also check that it ends in ?>. If it doesn't, then add it. It's VERY dangerous doing this btw, without the ?> your config.php will be output to the browser for all users. You might want to change your db details after this :)

PinkDaisy
09-24-2007, 11:40 AM
Yay!! That did it.. Thanks so much, yall!!! :D Now this code tht I put in that said disable hooks, does that mess up my hacks in any way?

***

Ohhh.. and what exactly would cause this to have happened, just so I know for future reference. Thanks again!!

Dean C
09-24-2007, 11:47 AM
Yes. It will disable every plugin you have on your forum. Now what you need to do is disable all your products, re-enable them one by one til you find out which is causing it :)

PinkDaisy
09-24-2007, 11:51 AM
Already done!! I had a feeling it was one from last night I just did (VBMS). UGH!!!

Thanks again sooooo much!

Dean C
09-24-2007, 12:03 PM
No problems :) Make sure you change your DB info though!

PinkDaisy
09-24-2007, 02:14 PM
No problems :) Make sure you change your DB info though!


How and where would I do that?? I didn't think any of my info changed ??

Marco van Herwaarden
09-24-2007, 04:21 PM
I have to remember they don't put "?>" at the end of config.php anymore :p.
That is why we mostly instruct to put it at the beginning after the first "<?" line ;)

PinkDaisy
09-26-2007, 03:49 PM
Okay. This is happening AGAIN and I did nothing to add or change. ??? I have also went in to add the ?> at the end and it still ain't helping. :(

Please advise!!!

--------------- Added at 14:08 ---------------

I am now getting some kind of database error and can not fix it by removing this code at all. The datebase error says:

Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT
user.username, (user.options & 512) AS invisible, user.usergroupid,
session.userid, session.inforum, session.lastactivity,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid
FROM session AS session
LEFT JOIN user AS user ON(user.userid = session.userid)
WHERE session.lastactivity > 1190819329;

MySQL Error : Got error 134 from table handler
Error Number : 1030
Date : Wednesday, September 26th 2007 @ 10:08:49 AM
Script : http://belliesbabiesnbeyond.com/forums/
Referrer :
IP Address : 76.4.85.176
Username : Jennie
Classname : vb_database

Also at the top of that database error I am seeing:
Warning: mysql_query(): Unable to save result set in /includes/class_core.php on line 363

--------------- Added at 14:23 ---------------

Okay, I got all that stuff done, but the only way I can get the fourms to work is with this disable hooks thing in..

Is there a easy way to get my hacks/mods to work with this thing in??

Dismounted
09-27-2007, 05:29 AM
Disable all you modifications manually via Admin CP. Then remove the line from config.php. Enable each modification to see which causes the problem.

Marco van Herwaarden
09-27-2007, 07:57 AM
MySQL Error : Got error 134 from table handler
MySQL error code 134: Record was already deleted (or record file crashed)

Try running a repair on your tables. If that does not solve the problem, contact your host.