![]() |
Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION - Printable Version +- LetoDMS Community Forum (https://community.letodms.com) +-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4) +--- Forum: Bugs/Errors (https://community.letodms.com/forumdisplay.php?fid=11) +--- Thread: Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION (/showthread.php?tid=146) |
Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION - ashish4u79 - 08-25-2010 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 RE: Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION - matteo lucarelli - 08-25-2010 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 RE: Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION - ashish4u79 - 08-26-2010 (08-25-2010, 11:17 PM)matteo lucarelli Wrote: You have to downgrade the adodb 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 RE: Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION - matteo lucarelli - 08-26-2010 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.php?group_id=42718&package_id=34890 |