vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   PHP 5.3 and vBulletin 3.6.4 (https://vborg.vbsupport.ru/showthread.php?t=261299)

NeXuM 04-01-2011 04:02 PM

PHP 5.3 and vBulletin 3.6.4
 
My webhost just upgrader PHP to version 5.3 and now i am getting errors on three vbulletin forums (version 3.6.4)

Quote:

Deprecated: Assigning the return value of new by reference is deprecated in /var/alternc/html/a/anarchoi/includes/init.php on line 45

Deprecated: Assigning the return value of new by reference is deprecated in /var/alternc/html/a/anarchoi/includes/init.php on line 93

Deprecated: Assigning the return value of new by reference is deprecated in /var/alternc/html/a/anarchoi/includes/init.php on line 97

Deprecated: Assigning the return value of new by reference is deprecated in /var/alternc/html/a/anarchoi/includes/init.php on line 105

Deprecated: Assigning the return value of new by reference is deprecated in /var/alternc/html/a/anarchoi/includes/init.php on line 116

Deprecated: Assigning the return value of new by reference is deprecated in /var/alternc/html/a/anarchoi/includes/init.php on line 120

Deprecated: Assigning the return value of new by reference is deprecated in /var/alternc/html/a/anarchoi/includes/init.php on line 128

Deprecated: Assigning the return value of new by reference is deprecated in /var/alternc/html/a/anarchoi/includes/init.php on line 197

Deprecated: Assigning the return value of new by reference is deprecated in /var/alternc/html/a/anarchoi/includes/init.php on line 404

Deprecated: Assigning the return value of new by reference is deprecated in /var/alternc/html/a/anarchoi/includes/class_core.php on line 2345

Deprecated: Function set_magic_quotes_runtime() is deprecated in class_core.php on line 1514

is there a way to fix those errors ? i really cant upgrade to a newer version of vbulletin, i have spent hundreds of hours customizing my forums.... half of my forum is based on mods that doesnt exist in newer versions, and if i upgrade i will loose my custom scripts, custom mods, custom template, etc....

If it is impossible to fix the errors without upgrading, could someone please tell me how the errors can affect my forum ?? If i just turn off error display, will it affect my forum somehow ? are the deprecated functions very important for the basic functionement of the forum?

Lynne 04-01-2011 04:22 PM

vB3.6 (and 3.7 and most of 3.8) will not work with PHP 5.3.

NeXuM 04-01-2011 04:38 PM

one of my forums under 3.6.4 is still working but displaying a couple of errors...

if i turn off the error displaying, can i know how these errors will affect my forums ?

thanks

Lynne 04-01-2011 05:10 PM

I do not know what they will do. Running 3.6.4 is not supported under PHP 5.3. It's not been tested at all.

FudgeBalls2002 06-17-2011 02:48 PM

Just happened to me this morning...I have a heavily modded forum and didn't really want to pay money to upgrade there's really no option for this problem?

Paul M 06-17-2011 02:54 PM

The errors are mostly just warnings of deprecated functionality, so the forum should work, except you will need to disable the error messages somehow. However, the functionality is likely to be removed from php at some point, then you will have problems.

Frosty 06-17-2011 03:15 PM

Just decrease the version, I did the same. It should work without any problems or whatsoever on PHP 5.1.6.

Adrian Schneider 06-17-2011 03:40 PM

You could probably do a mass find replace...

"=&" with "="

This should take care of the majority of them, but I'd definitely back up first or try it locally first.

Zachery 06-17-2011 04:00 PM

Try
ini_set(display_errors, 0);

In your config.php file.

Eslob 02-04-2012 11:29 AM

Quote:

Originally Posted by Adrian Schneider (Post 2209017)
You could probably do a mass find replace...

"=&" with "="

This should take care of the majority of them, but I'd definitely back up first or try it locally first.

This fixes the problem.

As i have dedicated server and my forum on it.

I got this error and now i'm downgrading my php version to 5.2.X.

And keep the php as it is without upgrades, unless if i plan to go for 4.X.


All times are GMT. The time now is 10:08 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.02582 seconds
  • Memory Usage 1,738KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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