vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   vBulletin Upgrade Problem (https://vborg.vbsupport.ru/showthread.php?t=74062)

taffy056 01-09-2005 01:06 PM

vBulletin Upgrade Problem
 
Hi,

After upgrading from VB 3.0.3 to 3.0.5 I get the following errors when I try to read certain threads, this only happens where members have posted messages, where guests post messages there is no error. So this leads me to beleive that it is the warning hack that causing this problem, has anyone had this problem upgrading, and can someone suggest a solution.

PHP Code:

WarningInvalid argument supplied for foreach() in /includes/functions_showthread.php on line 695 

Forum Message
Code:

Unable to add cookies, header already sent.
File: /homepages/26/d90465391/htdocs/wsc92543615/forum/includes/init.php
Line: 27

Thanks,

taffy

Dean C 01-09-2005 01:25 PM

If the warning hack is the only modification you have installed I would suggest making sure you have re-applied the changes correctly and if you have ask for support in the warning hack support thread :)

taffy056 01-09-2005 01:38 PM

Hi Dean,

I have posted a question there about deleting and then re-installing the hack, I have other hacks installed (below) as well, but they appear to be up and running correctly, the only one I seem to have a problem with is the warning hack. But I was only asking here in case someone else could help, also it in case it wasn't the warning hack at all.

PetzVB v2
v3 Arcade
RPG
vBookie
vbChat
vStocks
Shoutbox Hack 1.04b

Deaths 01-09-2005 01:42 PM

With me uShop caused the error, but I think for you it's v3 Arcade ;).

You need to re-apply the changed made to init.php.

taffy056 01-09-2005 02:44 PM

Hi,

I have just removed line 27 (below) in the init.php file, and everything is working correctly, what does this piece of code do, and with it removed will it have adverse effect on anything?

PHP Code:

echo "<br /><strong>Warning</strong>: $errstr in <strong>$errfile</strong> on line <strong>$errline</strong><br />"

taffy

Dean C 01-09-2005 02:54 PM

Won't do any harm removing it :) It looks like a debug facility that forgot to be removed.

taffy056 01-09-2005 05:02 PM

Thanks Dean :)

Quote:

Originally Posted by Dean C
Won't do any harm removing it :) It looks like a debug facility that forgot to be removed.



All times are GMT. The time now is 10:57 AM.

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.00992 seconds
  • Memory Usage 1,726KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete