vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Latest Threads On Forum Home (https://vborg.vbsupport.ru/showthread.php?t=83230)

dreck 06-19-2005 09:55 PM

I got the same error with 'latest threads on forumhome 110.xml':
Code:

Warning: Invalid argument supplied for foreach() in /index.php(450) : eval()'d code on line 78
But the lastest threads appear to be fine.

*Edit* It also affects the size of the forum width?

This is on my '/testvb/index.php' forum.

Great hack if we can get rid of the error!

Thanks!

Marco van Herwaarden 06-20-2005 03:42 AM

@dreck

What is the PHP version you are using?

.Tim 06-20-2005 04:16 AM

I get this error (except it says line 4 instead of 11):

Quote:

Originally Posted by Reverend
Getting error at top of page with this:

Warning: Invalid argument supplied for foreach() in /index.php(450) : eval()'d code on line 11

and the latest threads show up just fine. So I do this to get rid of the error:

Quote:

Originally Posted by hellsatan
Try changing:
PHP Code:

$forumcache 

to
PHP Code:

$vbulletin->forumcache 

Satan

And the latest threads disappear. :(

dreck 06-20-2005 04:39 AM

Quote:

Originally Posted by MarcoH64
@dreck

What is the PHP version you are using?

PHP version 4.3.11

Thanks.

Chris M 06-20-2005 10:07 AM

Hrm - I still do not get this error on my board - I guess they haven't fixed the bug that strips the slashes...

It should not affect the size of the forum width - You might need to alter the template mod to reflect whatever custom forumhome width modifications you have made...

http://www.vbulletin.com/forum/bugs3...view&bugid=184

In this, Freddie Bingham suggests editing class_core.php to remove this bug, or disabling [high]magic_quotes_gpc[/high] in php.ini

As this will be a necessary alteration for all hacks and plugins that use regex, I suggest doing one of the two ;)

Satan

dreck 06-20-2005 05:16 PM

Quote:

Originally Posted by hellsatan
Hrm - I still do not get this error on my board - I guess they haven't fixed the bug that strips the slashes...

It should not affect the size of the forum width - You might need to alter the template mod to reflect whatever custom forumhome width modifications you have made...

http://www.vbulletin.com/forum/bugs3...view&bugid=184

In this, Freddie Bingham suggests editing class_core.php to remove this bug, or disabling [high]magic_quotes_gpc[/high] in php.ini

As this will be a necessary alteration for all hacks and plugins that use regex, I suggest doing one of the two ;)

Satan

O.. ic, I will try that. I guess their will be a fix for this in the next beta.

Thanks!

Reverend 06-20-2005 07:39 PM

Quote:

Originally Posted by dreck
*Edit* It also affects the size of the forum width?

Same here as well.

Reverend 06-20-2005 07:49 PM

Also, editing class_core.php as suggested by Freddie hasn't fixed the error

Warning: Invalid argument supplied for foreach() in /index.php(450) : eval()'d code on line 4

grundybin 06-21-2005 01:55 AM

Ok I have it working on BETA 2 without any errors but...
telewizor OLED
It shows threads that have had a recent reply... when the User doesnt have access to it (such as in an restricted forum admin section)

Chris M 06-21-2005 08:35 AM

Quote:

Originally Posted by grundybin
Ok I have it working on BETA 2 without any errors but...

It shows threads that have had a recent reply... when the User doesnt have access to it (such as in an restricted forum admin section)

Are you entirely sure?

I have tested this extensively myself and cannot reproduce this :ermm:

Satan


All times are GMT. The time now is 12:53 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.01416 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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