vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Collapsable forums on forum home (https://vborg.vbsupport.ru/showthread.php?t=33961)

VirtueTech 05-16-2002 02:30 AM

Quote:

Originally posted by dabean
Hmm, find attached a debugging version of updateindex which will echo its output as it goes along. Please tell me the point at which it stops. To use this version remove the .test from the filename and replace the version of updateindex contained in the forum root, and then reattempt to manually collapse a forum as described in the post a further back.
Ok here is what I got:

loading...
Warning: Cannot add header information - headers already sent by (output started at /web/pbc2/beta225/updateindex.php:3) in /web/pbc2/beta225/admin/functions.php on line 1544
included globalincluded requiredforumid or value was not set

Here is Function.php lines:

1543 if ($cookiedomain) {
1544 setcookie($name, $value, $expire, $cookiepath, $cookiedomain, $secure);
1545 } else {
1546 setcookie($name, $value, $expire, $cookiepath, '', $secure);
1547 }

dabean 05-16-2002 02:47 AM

Quote:

Originally posted by VirtueTech


Ok here is what I got:

loading...
Warning: Cannot add header information - headers already sent by (output started at /web/pbc2/beta225/updateindex.php:3) in /web/pbc2/beta225/admin/functions.php on line 1544
included globalincluded requiredforumid or value was not set

<snipped function.php>

Bizare, what version of php?
and what value where you using for <forumid> in the url?

VirtueTech 05-16-2002 02:50 AM

Quote:

Originally posted by dabean


Bizare, what version of php?
and what value where you using for <forumid> in the url?

PHP Version 4.2.0

and

Forumid = 58

/updateindex.php?fid=58&val=1

dabean 05-16-2002 02:59 AM

register globals are on?

VirtueTech 05-16-2002 03:36 AM

Quote:

Originally posted by dabean
register globals are on?
Yes: register_globals = On

Would this cause a problem:
; Magic quotes
magic_quotes_gpc = Off
magic_quotes_runtime= Off
magic_quotes_sybase = Off

VirtueTech 05-16-2002 03:38 AM

FYI: Ok I tried it with quotes_gpc ON and it didn't work still.

VirtueTech 05-16-2002 04:54 AM

Now I restarted my machine, ran updateindex.php again and now it says this:

loading...included globalincluded requiredforumid or value was not set

dabean 05-17-2002 12:28 AM

Try this php4.2.0 tailored version of update index.

The correct result is to recieve the message "done".

Incorrect results will result in "error" being displayed, whilst semi incorrect results will echo back the values entered for forumid and val.

VirtueTech 05-17-2002 01:22 AM

Quote:

Originally posted by dabean
Try this php4.2.0 tailored version of update index.

The correct result is to recieve the message "done".

Incorrect results will result in "error" being displayed, whilst semi incorrect results will echo back the values entered for forumid and val.

Ok now it is writing to the DB but everytime I reload the forumhome the table is still expanded.

I get this on the return from updateindex.php that you sent in the above post for 4.2:

58|:done

dabean 05-17-2002 01:51 AM

Quote:

Originally posted by VirtueTech


Ok now it is writing to the DB but everytime I reload the forumhome the table is still expanded.

I get this on the return from updateindex.php that you sent in the above post for 4.2:

58|:done

Wow, I wasn't expecting that result... (the number portion).

Is this a new installation of the hack, or have you previously had this working under a older version of vbulletin?

Find attached a newer version of the getforumview.php file.. which hopefully should write correct data to the database.


All times are GMT. The time now is 01:10 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.01417 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete