Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-07-2007, 08:33 PM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Hack Has Me Stuck In Debug Mode+More

On top of the debug issue, if i change my forum display order, it does not save the changes. I tried to change a sub forum to make it a forum of a category instead, but it does not save.

I can not even disable the plug in system unless i do it globally in config.php

Even with config.php edited it still does not save my changes if i edit a forum.

It also will not save any template changes. Nor can i disable hacks via vb options or manually. The only way to disable the debug mode and the hacks is by adding the following code to my config.php file
PHP Code:
define('DISABLE_HOOKS'true); 
Any ideas?

Here is a list of my installed hacks:
http://img119.imageshack.us/img119/6995/tablege2.gif
Also I have vBug Tracker Lite and vBulletin AJAX Cron installed.

I am in the process of deleting some of my hacks. Even though I delete them they still function. The odd thing is there is no trace of them in the plugin table. I looked through the table, and see the hack, then delete the hack yet the hack still functions.
Reply With Quote
  #2  
Old 03-07-2007, 09:44 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As I said to you, your problems started when you upgraded the board with all hacks, plugins and products enabled. There is something messed in there that is not allowing you to use the options.

First, let me know, if my microstats hack is completly removed.
Do you see any options left in vBulletin Options? (BB MicroStats)
Anything else is properly cleaned, after the steps we did toghether with the perfomed queries.

In the vBulletin package there are some tools to restore/clean the database, without losing any stored data.
That's the reason I asked you to contact vBulletin Team and help you clean your data in no time.

Let me know if you have any other questions.
Reply With Quote
  #3  
Old 03-07-2007, 09:51 PM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TECK View Post
As I said to you, your problems started when you upgraded the board with all hacks, plugins and products enabled. There is something messed in there that is not allowing you to use the options.

First, let me know, if my microstats hack is completly removed.
Do you see any options left in vBulletin Options? (BB MicroStats)
Anything else is properly cleaned, after the steps we did toghether with the perfomed queries.

In the vBulletin package there are some tools to restore/clean the database, without losing any stored data.
That's the reason I asked you to contact vBulletin Team and help you clean your data in no time.

Let me know if you have any other questions.
Actually I updated the day 3.6.5 was released and the problem just happened out of the blue today.

Microstats is 100% gone.

I assume you mean the tools.php file?

I also did this. I completely dropped the plug in table from my live database. Replaced it with a back up from my unmodified test board, so basicly I have a stock vbulletin plugin table now, yet debug mode is stuck on and every hack still shows as installed.

I uploaded tools.php and run the database repair function on the plugin tabe, but had no luck.
Reply With Quote
  #4  
Old 03-07-2007, 10:42 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, this is really wierd.
Is it a big forum you have there? (live)
Do you have a backup file from last week?

If you do, install a 3.6.5 test board on your PC, then import the backup into it.
Next do a backup, using MySQL Administrator. (test board)
Then do a backup, using the MySQL Administrator. (live board)

Use a compare tool like Araxis Merge or something similar and compare both files, you will see at least if the tables are not broken and if there are any anomalies in there.

There is something corrupted inside your live data.. we need to find out what.

EDIT: Make sure you dont have any cache enabled, like APC, etc.
If you do, disable it for now.
Reply With Quote
  #5  
Old 03-08-2007, 04:18 AM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TECK View Post
Hmm, this is really wierd.
Is it a big forum you have there? (live)
Do you have a backup file from last week?

Use a compare tool like Araxis Merge or something similar and compare both files, you will see at least if the tables are not broken and if there are any anomalies in there.

EDIT: Make sure you dont have any cache enabled, like APC, etc.
If you do, disable it for now.
Big forum, ehh like 20+ members a day on average. I have one back up i think but it is not a week old but it is from before the back up most likley.

I had a template cache plug in installed from here but i deleted it for now.

Nope dont have a db back up from before the upgrade.
Reply With Quote
  #6  
Old 03-08-2007, 02:07 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So you dont have a backup dating before the upgrade. Ok.
You do have a test board, right? (your PC, not on the website)
Do a backup now from your live data.
Then do a fresh install of vBulletin 3.6.5 on your test board.
Once is installed, import with MySQL Administrator the live data into your test board.

See if you have the same errors, at least we will know for sure is it's the data that cause problems.

BTW, there is no need to quote me every time.
It's filling the database with useless info.

While thinking out loud. What template cache hack you installed? Some of them create a folder where templates are stored.
Also do you have an accelerator like APC or eAccelerator installed on your live server?
Look at phpinfo() and tell me if you see there any saction called APC or eAccelerator.

BTW, I hope you will not install it again and instead you will use a proper cache, like xCache?
In general you should install as little hacks as possible. For example, I have no hacks installed on my board, beside the microstats.

See if you really needed, if your board will die without this hack, DO NOT install it just for fun.
Reply With Quote
  #7  
Old 03-08-2007, 02:45 PM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a test board on the web, not on the computer, but some how I was able to solve the problem there.

Then do a fresh install of vBulletin 3.6.5 on your test board.
Once is installed, import with MySQL Administrator the live data into your test board.

So basically make a fresh installed test board and then merge the 2 databases? Can I use impex.

I do not see APC,eAccelerator or xCache installed. I was using this cache system:
https://vborg.vbsupport.ru/showthread.php?t=121876
Reply With Quote
  #8  
Old 03-08-2007, 04:47 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

... but some how I was able to solve the problem there.
What exacly you solved? Is the test board working properly?

So basically make a fresh installed test board and then merge the 2 databases? Can I use impex.
No, use MySQL Administrator to create a backup of the live database.
Once the databse file created, import it into your test board to see if you can replicate the same errors like you have now online.
You need to install PHP, MySQL and a web server into your PC, so you can replicate exacly the online conditions. Do not use a test board on your live server, you will not be able to create 2 databases with teh same name and 2 users with the same info.
If you are not familiar with how to setup vBulletin on your PC, I will update my popular tutorial to reflect the latest changes.
Just make sure you DON'T use those crappy pre-made all-in-one packages that install PHP, MySQL and Apache for you. They are the worst combination possible, you don't learn nothing.
Let me know what OS you run in your PC, I will tell you what to do here in this thread.
(Let's hope you have Vista Ultimate/Business, it will a breeze to install everything manually )

I do not see APC, eAccelerator or xCache installed. I was using this cache system ...
Ya, the hack is well coded. Still, don't use it.
Instead, install MemCached for your vBulletin datastore and xCache for the PHP files.
Reply With Quote
  #9  
Old 03-08-2007, 04:50 PM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope not a vista user yet. Still using Win XP Media Center.
Reply With Quote
  #10  
Old 03-08-2007, 04:58 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good. It will be easy, in 15min you will have your server up and running on your PC.
Let me know when you are ready to start.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:28 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08024 seconds
  • Memory Usage 2,288KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete