svn[1286] - php error

Posts from previous Beta sessions

svn[1286] - php error

Postby bisaz » Sun Aug 26, 2007 5:53 pm

Greetings.

After uploading svn[1286] files i got this php error:

Fatal error: Undefined class name 'self' in roster2/lib/template_enc.php on line 60
Last edited by bisaz on Mon Aug 27, 2007 1:41 am, edited 1 time in total.
bisaz
WR.net Apprentice
WR.net Apprentice
 
Posts: 24
Joined: Sun Dec 10, 2006 6:31 am

svn[1286] - php error

Postby Subxero » Sun Aug 26, 2007 7:58 pm

same here

edit lib/template_enc.php

search for all "self::" remplace by "RosterTplEncode::"

now works
Last edited by Subxero on Sun Aug 26, 2007 8:05 pm, edited 1 time in total.
Subxero - Priest 70 Holy - Asphelt Knight Officer - Zul'jin Horde.
User avatar
Subxero
WR.net Artisan
WR.net Artisan
 
Posts: 234
Joined: Thu Jul 06, 2006 4:08 pm
Realm: Zul'jin (PvE) - US

Re: svn[1286] - php error

Postby Feithar » Sun Aug 26, 2007 8:51 pm

Same problem for me.

Subxero's fix did the trick and got me up and running again. Thanks!
User avatar
Feithar
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Sun Nov 26, 2006 7:58 am

svn[1286] - php error

Postby zanix » Mon Aug 27, 2007 1:40 am

Let me guess, everyone with this error has php4 :(
I guess you can't use self:: in php4

Fixed svn[1288]
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

svn[1286] - php error

Postby ds » Mon Aug 27, 2007 2:12 am

That is good to know... I used self:: in a few places in my code, I will change that now. Good catch!!
Image
ds
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 297
Joined: Sat Jul 08, 2006 9:58 am

Re: svn[1286] - php error

Postby Helm » Tue Aug 28, 2007 7:38 pm

Hello Hello,
pleeeeeeaseeeeee
is it possible for somebody up a newer Version, a hotfix or a previous Version?
Atm i am stuck with this error page and cant continue the Testing since Days...I know I know I am a Admin by myself I should make backups etc etc I KNOW :P

Thx a lot in Advance
Ardawan
Last edited by Helm on Tue Aug 28, 2007 8:15 pm, edited 2 times in total.
Image
Cosmo: Who else is going to change the world, Marty? Greenpeace?
User avatar
Helm
WR.net Apprentice
WR.net Apprentice
 
Posts: 17
Joined: Fri Jul 21, 2006 12:11 pm
Location: Berlin

svn[1286] - php error

Postby zanix » Tue Aug 28, 2007 10:55 pm

Make the fixes yourself, it's not that hard :)

Using a text editor (other than notepad) open lib/template_enc.php and change every self:: to RosterTplEncode::
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: svn[1286] - php error

Postby Helm » Wed Aug 29, 2007 2:23 am

AMAG!....so sorry...ofc...standing in the Post...Scusi, sorry, worked etc etc..
I am ashamed and gonna stood my Head into the sand.

Or I simply start to read stuff more carefully.

Thx, like all the Time

Ardawan
Image
Cosmo: Who else is going to change the world, Marty? Greenpeace?
User avatar
Helm
WR.net Apprentice
WR.net Apprentice
 
Posts: 17
Joined: Fri Jul 21, 2006 12:11 pm
Location: Berlin

svn[1286] - php error

Postby zanix » Wed Aug 29, 2007 3:44 am

Helm wrote:AMAG!....so sorry...ofc...standing in the Post...Scusi, sorry, worked etc etc..
I am ashamed and gonna stood my Head into the sand.

Or I simply start to read stuff more carefully.

Thx, like all the Time

Ardawan

It's ok helm :thumright: , it's better to know the fix rather than just have someone do it for you.

Sorry there isn't a new build up, I fell behind on the nightly build again because I had some nasty spyware get on my computer somehow.

After 6 hours of scanning and cleaning from a boot CD, it appears to be gone.
Last edited by zanix on Wed Aug 29, 2007 3:44 am, edited 1 time in total.
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: svn[1286] - php error

Postby tuigii » Wed Aug 29, 2007 5:54 am

zanix wrote:...because I had some nasty spyware get on my computer somehow....


Ok, I sit back and wait for the first posts to appear that "confirms" that "PHP code that interprets LUA code on a far far away web server steals our (wow) passwords....".

Why not changing your post and say something like "Had to change the RAID config - it was running hot" :wink: (they always do anyway..)

You must be a good admin, no doubt about it, but please note that the best ones never talk about 'sp#@/_^## stuff' in their systems.... Makes the forum members very nervous :wink:

Get my point ?

(anyway, I know your humain, now :D - so even I could understand all this code stuff - I'll dive back in.. but it starts to be difficult - it's running out of bugs :lol: ).
Last edited by tuigii on Wed Aug 29, 2007 5:59 am, edited 2 times in total.
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

svn[1286] - php error

Postby zanix » Wed Aug 29, 2007 6:14 am

I think one of my roomies used my machine
Because the iGoogle page was signed into his name and not mine
I just formatted my computer a few days ago and haven't enabled passwords yet.
He probably looked up some pRon and clicked on something...grrrr
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: svn[1286] - php error

Postby bosco » Wed Aug 29, 2007 6:48 am

zanix wrote:Let me guess, everyone with this error has php4 :(
I guess you can't use self:: in php4

Fixed svn[1288]

Don't forget that all platforms are not runing php5. Most have updated, but some can't update due to developement with php4.
bosco
WR.net Apprentice
WR.net Apprentice
 
Posts: 26
Joined: Mon Jan 15, 2007 12:24 pm

Re: svn[1286] - php error

Postby PleegWat » Wed Aug 29, 2007 12:37 pm

bosco wrote:
zanix wrote:Let me guess, everyone with this error has php4 :(
I guess you can't use self:: in php4

Fixed svn[1288]

Don't forget that all platforms are not runing php5. Most have updated, but some can't update due to developement with php4.


It got in there by accident. The author in question didn't know it was php5-only, and we all develop on php5.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

svn[1286] - php error

Postby zanix » Wed Aug 29, 2007 2:18 pm

PleegWat wrote:It got in there by accident. The author in question didn't know it was php5-only, and we all develop on php5.

Indeed
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: svn[1286] - php error

Postby tuigii » Wed Aug 29, 2007 9:04 pm

I had home system using PHP4 or PHP5 by simply using a switch in .htacess.
The easy of install is amazing.
PHP5 is faster, more secure and will be supported.
PHP4 will fall out of support anyway very soon.

What could be the reason that some hosters stick with PHP4 - they threw out that guy (admin ?) that maintained their system ?

Looks like V2 came out a couple of month to soon :?
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Next

Return to Archived

Who is online

Users browsing this forum: No registered users and 0 guests

cron