Parse error

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
bantu_blr
TestLink user
Posts: 1
Joined: Wed Apr 11, 2007 8:51 pm

Parse error

Post by bantu_blr »

Hi all,

I have installed TestLink 1.7.0 - RC1 with MySQL 5.0 & PHP 4.4.6
it works great, but when I select any kind of reports such as "Results --> Metrics of Active Build", I get the following error.

Code: Select all

[b]Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in C:\Inetpub\wwwroot\testlink\lib\functions\results.class.php on line 163[/b]
[/size]

Please help me.

Thanks in advance.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

1.7 Requires PHP 5.x
the error you have got is due to wrong PHP version
reneva
TestLink user
Posts: 1
Joined: Fri Jul 13, 2007 9:53 am

Do you find solution?

Post by reneva »

Hi bantu_blr and all,

Do you find the solution to your problem?
I have the same problem.

Code: Select all

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in C:\Programme\xampp\httdocs viewnew\testlink\lib\functions\results.class.php on line 37
My provider sad, the server suport PHP3, PHP4 and PHP5. But if I look at php configuration, I see that on server is running "PHP Version 4.4.7".

Can somebody help my?

p.s. sorry for my english :oops:
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

You NEED TO USE PHP 5 or higher.
Post Reply