Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION
#1
Lightbulb 
Hi

I am using PHP Version 4.4.5. When I am trying to install letoDMS 1.9 at my server I am getting the following error

Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in C:\AppServ\www\letoDMS-1.9\adodb\adodb.inc.php on line 434


the Readme file also mention
* If you have old version of PHP/MySQL try using the old version of adodb:
- rename "adodb" dir in "adodb-new"
- rename "adodb-old" in "adodb"


but I cant able to find the adodb-old folder with the code

Waiting For reply
ashish
Reply
#2
You have to downgrade the adodb to the last version compatible with PHP4.
You can download the package from their site (http://adodb.sourceforge.net/) and simply unpack it replacing the "adodb" folder in the LetoDMS folder.

On the Adodb page there'a alink to the last version compatible with php4
Reply
#3
(08-25-2010, 11:17 PM)matteo lucarelli Wrote: You have to downgrade the adodb to the last version compatible with PHP4.
You can download the package from their site (http://adodb.sourceforge.net/) and simply unpack it replacing the "adodb" folder in the LetoDMS folder.

On the Adodb page there'a alink to the last version compatible with php4

Dear Sir,
Thanks for quick response . But Still I cant able to find the Old ADODB version with the http://adodb.sourceforge.net site. can u give me proper site address from where i can download the old version
Reply
#4
Go to adodob page (http://adodb.sourceforge.net/)
in the section "PHP download" there's a link described by : "There is a version available that works with PHP 4.1 to 5.2 also"

Actually the link gives:
http://sourceforge.net/project/showfiles...e_id=34890
Reply


Forum Jump:


Users browsing this thread: