vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Odd Error at the top of my pages. (https://vborg.vbsupport.ru/showthread.php?t=272537)

Bulldog Stang 10-22-2011 09:52 AM

Odd Error at the top of my pages.
 
Here is what is displaying:

Deprecated: Assigning the return value of new by reference is deprecated in /home/ustangs/public_html/forums/includes/init.php on line 55

Deprecated: Assigning the return value of new by reference is deprecated in /home/ustangs/public_html/forums/includes/init.php on line 107

Deprecated: Assigning the return value of new by reference is deprecated in /home/ustangs/public_html/forums/includes/init.php on line 111

Deprecated: Assigning the return value of new by reference is deprecated in /home/ustangs/public_html/forums/includes/init.php on line 119

Deprecated: Assigning the return value of new by reference is deprecated in /home/ustangs/public_html/forums/includes/init.php on line 130

Deprecated: Assigning the return value of new by reference is deprecated in /home/ustangs/public_html/forums/includes/init.php on line 134

Deprecated: Assigning the return value of new by reference is deprecated in /home/ustangs/public_html/forums/includes/init.php on line 142

Deprecated: Assigning the return value of new by reference is deprecated in /home/ustangs/public_html/forums/includes/init.php on line 211

Deprecated: Assigning the return value of new by reference is deprecated in /home/ustangs/public_html/forums/includes/init.php on line 389

Deprecated: Assigning the return value of new by reference is deprecated in /home/ustangs/public_html/forums/includes/class_core.php on line 2552

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/init.php:55) in [path]/arcade.php on line 97

I am open to suggestions on how to fix this. I have tried everything that I know how to do and I have had no luck.

Bulldog

nerbert 10-22-2011 12:00 PM

Some months ago my web hosting service upgraded to a newer version of php but then quickly installed some work around that allowed the older version to be used. While the process was underway I got strange error messages warning that this or that had been deprecated. I would check out your host's web page and see if there's any news on that matter and talk with them about the problem.

kh99 10-22-2011 12:32 PM

Yeah, it looks like a php version thing. You should really upgrade to the latest vbulletin release that's compatible with the php you have. But if you don't want to do that you can edit the vb files and replace all these:

PHP Code:

error_reporting(E_ALL & ~E_NOTICE); 


with this:

PHP Code:

error_reporting(E_ALL & ~E_NOTICE & ~8192); 


(hopefully using a program with a search and replace function, because there's a lot of those lines).

Lynne 10-22-2011 04:25 PM

What version php is your server running and was this recently changed? What version of vbulletin are you running?

Bulldog Stang 10-23-2011 02:57 AM

I am running vb 3.8.6 Patch Level 1.

Myphp is version 3.4.5. I am not sure if this was recently changed or not.

kh99 10-23-2011 01:07 PM

Quote:

Originally Posted by Bulldog Stang (Post 2260415)
Myphp is version 3.4.5. I am not sure if this was recently changed or not.

I don't think that can be your php version - the latest version of php is 5.3.8, and you probably couldn't be using any version that doesn't start with at least 4.


All times are GMT. The time now is 06:50 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.01052 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
  • (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
  • (6)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