vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Problems after server move (https://vborg.vbsupport.ru/showthread.php?t=257231)

thevette 01-16-2011 03:08 PM

Problems after server move
 
Moved to a new server where the path is not the same as the old one and I'm getting errors on Gameroom, Experience, etc.

These are the errors:

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

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

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

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

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

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

Anyone know how I can fix a bunch of my addon's without having to reinstall them.

Thanks in advance!

Lynne 01-16-2011 05:03 PM

Try upgrading your add-ons. Otherwise, you can google the error and find out what the problem/solution is. We can't give you specifics since those are all modifications and if you have problems with modifications, you need to post for help in the modification thread.

benstillman 01-19-2011 06:18 PM

Pretty sure that has nothing to do with changed paths. That's a newer version of PHP (like 5.3?) warning that old PHP4 code is being deprecated. Just edit your php.ini file. Put a semicolon and a space (; ) before the line "error_reporting =".

snakes1100 01-19-2011 09:13 PM

@ben, that wont stop it from spitting out the messages, as they are in the php files themselves.

You can turn off this function in php.ini then hup apache.

Code:

display_errors = off

benstillman 01-19-2011 11:25 PM

Quote:

Originally Posted by benstillman (Post 2151582)
Pretty sure that has nothing to do with changed paths. That's a newer version of PHP (like 5.3?) warning that old PHP4 code is being deprecated. Just edit your php.ini file. Put a semicolon and a space (; ) before the line "error_reporting =".

Quote:

Originally Posted by snakes1100 (Post 2151664)
@ben, that wont stop it from spitting out the messages, as they are in the php files themselves.

You can turn off this function in php.ini then hup apache.

Code:

display_errors = off

You sure? The errors are not in the .php files. It's just PHP5 telling you that there is PHP4 specific code in the files, and that it's been deprecated. Turning off the error reporting (by commenting out the line in the php.ini file) should be sufficient. It's all I did. And of course restart apache after you save the php.ini file.

snakes1100 01-20-2011 03:38 AM

I never said the errors are in the php files.

benstillman 01-20-2011 03:44 AM

Quote:

Originally Posted by snakes1100 (Post 2151814)
I never said the errors are in the php files.

Quote:

Originally Posted by snakes1100 (Post 2151664)
@ben, that wont stop it from spitting out the messages, as they are in the php files themselves.

You can turn off this function in php.ini then hup apache.

Code:

display_errors = off

:confused:

snakes1100 01-20-2011 01:05 PM

ok, you see the word "ERROR" in there where?

benstillman 01-20-2011 03:20 PM

Quote:

Originally Posted by snakes1100 (Post 2151941)
ok, you see the word "ERROR" in there where?

So what are you saying then? What's in the php files?

snakes1100 01-20-2011 03:30 PM

You apparently run a vb forum, it may be wise to view whats in your php files, notably at the top of them for error_reporting calls.


All times are GMT. The time now is 01:01 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.01062 seconds
  • Memory Usage 1,736KB
  • 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
  • (3)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete