Closed Thread
Results 1 to 2 of 2

Thread: Deprecated: Assigning the return value of new by reference is deprecated__ on line

  1. #1
    Join Date
    Mar 2011
    Posts
    1

    Deprecated: Assigning the return value of new by reference is deprecated__ on line

    I am getting this error on the home page pls help

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,635

    Re: Deprecated: Assigning the return value of new by reference is deprecated__ on lin

    Your script is out of date. That is what the 'Deprecated' warnings are about. The servers have been updated to run PHP 5.3 and your script uses features that are 'deprecated', ie they work, but they are discouraged and may not work in future versions of PHP.

    You have to either
    1. Get an updated version of the script
    2. Find and correct the problem areas yourself
    3. Add the line
    error_reporting(E_ALL & ~E_DEPRECATED);
    at the top of the PHP section of your home page
    Nothing is always absolutely so.

Closed Thread

Similar Threads

  1. PHP-errors, worked before. NOT deprecated.
    By verfone in forum Free Hosting
    Replies: 8
    Last Post: 07-22-2010, 09:00 AM
  2. Reference Book Suggestions
    By sbonner in forum Graphics & Webdesign
    Replies: 1
    Last Post: 05-31-2010, 05:15 AM
  3. PHP function reference
    By as4s1n in forum Programming Help
    Replies: 5
    Last Post: 03-12-2010, 12:46 PM
  4. Replies: 2
    Last Post: 09-25-2009, 05:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers