Parse error: parse error, expecting `'(''

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
gargmanjit
TestLink user
Posts: 2
Joined: Mon Nov 02, 2009 2:34 pm

Parse error: parse error, expecting `'(''

Post by gargmanjit »

Installing TL 1.8 on XP system with IIS 6 , Giving below error for the first level whe try to access link => testlink/install/index.php

Parse error: parse error, expecting `'('' in D:\Inetpub\wwwroot\testlink\lib\functions\configCheck.php on line 207

Any suggestions/work around please
gargmanjit
TestLink user
Posts: 2
Joined: Mon Nov 02, 2009 2:34 pm

Post by gargmanjit »

I'm geting mentioned error while installing testlink latest version

Parse error: parse error, expecting `'('' in D:\Inetpub\wwwroot\testlink\lib\functions\configCheck.php on line 207

Any suggestions appreciated !!!
TurboPT
Member of TestLink Community
Posts: 343
Joined: Sun Dec 10, 2006 4:51 am

Post by TurboPT »

That is inside function checkForAdminDefaultPwd(), but I don't see anything wrong in that area.

You did say TestLink 1.8, have you tried the latest 1.8.4?
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

There could be three reasons:
1. You or your colleague modified the code.
2. You have some extra settings in PHP that requires more brackets in code
3. You have wrong version of PHP (for example beta version)
brokentilez
TestLink user
Posts: 8
Joined: Wed Jan 27, 2010 2:43 am

Post by brokentilez »

I had this same error message. My hosting provider (1and1.com) was running PHP4 and I had to create a .htaccess file in the testlink directory to make it run the latest PHP5 version.

That corrected my parse error after clicking on the "New Installation" button. Now I have another error that I think I also found on this forum.
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

gargmanjit, you are wasting our time. Confirm that you use PHP 5.2 and TestLink 1.8.5.
Post Reply