PDA

View Full Version : Error causing by XBT Torrent Tracker !


JalsaTime
08-10-2014, 01:04 PM
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 55

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 107

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 111

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 119

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 130

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 134

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 142

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 211

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 389
VB_AREA and THIS_SCRIPT must be defined to continue

This error caused when I tried to move from Linux cent os to windows server using xampp. Please kindly help to solve. Link - http://www.jalsatime.com

http://www.jalsatime.com/forums/torrents.php

ozzy47
08-10-2014, 01:10 PM
Questions/Problems regarding modifications/styles need to be asked in the modification/style thread. That is where the support for modification/style is - not out here in the main forums. Please note that if a modification/style is unsupported (or even if it says it is supported), you may be on your own if you chose to install it.

But you could try adding this line to your config.php right below <?php

define('SKIP_DS_ERRORS', true);This turns off the extra error reporting in php 5.3 & 5.4 (for strict &

deprecated warnings), but will allow other important errors to show.

ForceHSS
08-10-2014, 01:41 PM
It looks like the version of xampp is the wrong version for what you need
Open \xampp\php\php.ini file in your text editor and find these lines that are not commented out.

error_reporting = E_ALL | E_STRICTThe above can be changed by reading the comments for this setting

You can turn this to Off

display_errors = OnIf you make any changes, save the file and restart Apache.

But remember you will not know if your scripts have any php errors.

So if you get unexpected behavior, then turn the above back On again and test your scripts.

XAMPP is by default set up for Developers who obviously need error reporting turned On.