TinyPortal

Development => Support => Topic started by: ryouko on November 04, 2012, 11:35:25 AM

Title: Odd error orcoring after installing a bridge.
Post by: ryouko on November 04, 2012, 11:35:25 AM
Okay here is my issue

i am using the SMF with TP for my TOR guild and it runs rather nicly we needed a raid planner
so i dusted off my defuncked copy of phpraider and installed it then set up a log on bridge using
the installer.
The planner and the site work fine tbh there is no issue there log on the site you can go to the planner
and be logged on there with out havin to create a new account.

the problem is the error message i get at the top of the phpraider page that is going on about one of the
TP php files......

any one able to help me out a little.

Link to my site: http://www.flame-of-sinthara.co.nr
SMF version: SMF ver. 2.0.2
TP version: TP ver. 1.107
Default Forum Language: English
Theme name and version: SWTOR Risen (tweeked)
Browser Name and Version: Firefox
Mods installed: Avea, ICQ Chat,
Related Error messages:
Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in /home/th2/public_html/dai-bendu/Sources/TPSubs.php on line 616

Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in /home/th2/public_html/dai-bendu/Sources/TPSubs.php on line 617

Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in /home/th2/public_html/dai-bendu/Sources/TPSubs.php on line 618

Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in /home/th2/public_html/dai-bendu/Sources/TPSubs.php on line 619

Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in /home/th2/public_html/dai-bendu/Sources/TPSubs.php on line 620

Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in /home/th2/public_html/dai-bendu/Sources/TPSubs.php on line 621


many thanx

mark
Title: Re: Odd error orcoring after installing a bridge.
Post by: IchBin on November 05, 2012, 03:36:49 AM
There's a class with a set of functions in that file on those lines that the error is referencing. I think it's asking you to put the modifier on the variables. You should be able to add private before each var in order to get rid of those errors.
Title: Re: Odd error orcoring after installing a bridge.
Post by: ryouko on November 07, 2012, 04:22:02 PM
hi there

sorry been away for a while thanx for the answer hoerver
when i add private infront of the 6 lines it messes everything up an i dont get anything diplayed that

i think the lines are

class chain

{

   var $table;

   var $rows;

   var $chain_table;

   var $primary_field;

   var $parent_field;

   var $sort_field;


after the edit the site goes down completly an i get this error

Parse error: syntax error, unexpected T_VAR, expecting T_VARIABLE in /home/th2/public_html/dai-bendu/Sources/TPSubs.php on line 616
Title: Re: Odd error orcoring after installing a bridge.
Post by: IchBin on November 07, 2012, 08:15:08 PM
Don't think the var keyword is no longer needed in newer versions of PHP.

private $table;
private $rows;
private $chain_table;
private  $primary_field;
private $parent_field;
private $sort_field;
Title: Re: Odd error orcoring after installing a bridge.
Post by: ryouko on November 08, 2012, 07:15:43 AM
stunning thanx that worked :) no more errors :D