AS 2.7.1 T_NEW error

Sync Blizzards' Armory data with WoWRoster (addon depreciated no longer works see ApiSync)

Moderators: Ulminia, poetter

AS 2.7.1 T_NEW error

Postby pitschi81 » Sun Jun 07, 2009 9:16 am

Hi there!

I've got a "new" error, at least I found nothing about in this board. Everytime I try to update the memberlist or the charakters of the guild the following error occurs after 1-2 seconds I clicked the button:

Parse error: syntax error, unexpected T_NEW in /mnt/web6/53/11/51449511/htdocs/forum/roster/addons/armorysync/inc/armorysync.class.php on line 1592

I don't know what to do, what could that be?
pitschi81
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Sat Jun 06, 2009 5:35 pm

Re: AS 2.7.1 T_NEW error

Postby PleegWat » Sun Jun 07, 2009 10:27 am

What's your PHP version? AS isn't compatible with PHP 4.
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

Re: AS 2.7.1 T_NEW error

Postby pitschi81 » Sun Jun 07, 2009 12:58 pm

That's it! I was using PHP version 4, now I changed it to v5 and it works! Thanks for the hint! :D
pitschi81
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Sat Jun 06, 2009 5:35 pm

Re: AS 2.7.1 T_NEW error

Postby tuigii » Mon Jun 08, 2009 7:52 am

So, the error wasn't new ..... cause PHP 5 is needed to run AS, euh, ArmorySync.
Thought Ulminia did said that somewhere.

BTW : PHP4 isn't maintained anymore. Switch it off :check:
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

Re: AS 2.7.1 T_NEW error

Postby cyberbane » Sun Jun 14, 2009 3:33 pm

I am getting the same error.

According to my host control panel I am running on PHP ver 5.2.6

Do I need to change something in a config file somewhere to make sure it is running on this?

Thanks in advance.
Image
User avatar
cyberbane
WR.net Apprentice
WR.net Apprentice
 
Posts: 11
Joined: Mon Jul 10, 2006 6:35 am

Re: AS 2.7.1 T_NEW error

Postby cyberbane » Sun Jun 14, 2009 4:07 pm

Well after some thought, its a long time since I messed with my website, I remembered .htaccess files.

added

AddHandler application/x-httpd-php5 .php
SetEnv PHP_VER 5

to the roster root directory and all seems good now. I think.....
Image
User avatar
cyberbane
WR.net Apprentice
WR.net Apprentice
 
Posts: 11
Joined: Mon Jul 10, 2006 6:35 am


Return to ArmorySync - Depreciated

Who is online

Users browsing this forum: No registered users and 1 guest

cron