Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8257829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T02:19:56+00:00 2026-06-08T02:19:56+00:00

My friend wants me to tweak his website. But I’m getting the errors Deprecated:

  • 0

My friend wants me to tweak his website. But I’m getting the errors

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\toolmanager\toolmanager\index.php on line 7

Fatal error: Cannot re-assign auto-global variable _REQUEST in C:\xampp\htdocs\toolmanager\toolmanager\includes\classloader_platform.php on line 154

when I try to run the code on apache with PHP5. Here’s the code:

        require("includes/classloader_platform.php");
line 7->$classloader =& NEW classloader('0','30',$_GET,'1');
        $classloader->initialize($classloader);

line 154-> function __construct($cache=false,$cache_lifecycle=false,$_REQUEST,$template_parser=false) {
           ini_set("memory_limit","200M");
           //globalize _REQUEST
           $this->_REQUEST=$_REQUEST;
...

I think it’s because he wrote it by PHP4 standards so would it be better to switch apache to PHP4 or are there some simple fixes for these errors?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T02:19:58+00:00Added an answer on June 8, 2026 at 2:19 am

    Do not revert to PHP 4. It is old and unsupported.

    For “Deprecated: Assigning the return value of new by reference”, just remove the &. It’s redundant.

    $classloader = NEW classloader(...);
    

    For “Fatal error: Cannot re-assign auto-global variable“, rename the function argument $_REQUEST to something else such as $REQUEST, then rename the subsequent occurrences of it within the function. You can’t have a function argument with the same name as a superglobal.

    function __construct($cache=false,$cache_lifecycle=false,$REQUEST,$template_parser=false) {
        // ...
        $this->_REQUEST=$REQUEST;
        // ...
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A friend wants to start a dating website, she wants me to help her.
One of my friend wants to have a website which calculates the distance between
My friend has the following app.config. He wants to get the value of address
I have a friend that is starting up a new project. He wants to
my friend wants to set up a website. He is photographer, and he'd like
Hi my friend who's studying CSS wants to make a simple t-shirt catalog website.
A friend of mine wants me to convert his code into a doubly linked
My friend wants me to turn his Cocoa application into a firefox plugin. The
In gcc I am writting friend class FriendMaker<T>::Type but Visual Studio wants friend FriendMaker<T>::Type
I develop code using .net, and sometimes using ruby. My friend wants me to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.