PHP Classes

Parse error: syntax error, unexpected T_VARIABLE

Recommend this page to a friend!

      Pretty PHP S3 Files Manager  >  All threads  >  Parse error: syntax error,...  >  (Un) Subscribe thread alerts  
Subject:Parse error: syntax error,...
Summary:unexpected T_VARIABLE
Messages:3
Author:Terry Woody
Date:2016-05-25 05:15:45
 

  1. Parse error: syntax error,...   Reply   Report abuse  
Picture of Terry Woody Terry Woody - 2016-05-25 05:15:45
Really nice looking script for S3!

Any idea why I might get the error below when trying to install? Never get to any install screen, only:

Parse error: syntax error, unexpected T_VARIABLE in prettys3filemanager\application\modules\extensions\aws\Aws\functions.php on line 36

Thanks in advance for input,

Woody

  2. Re: Parse error: syntax error,...   Reply   Report abuse  
Picture of Tran Tuan Tran Tuan - 2016-05-25 05:42:00 - In reply to message 1 from Terry Woody
Upgrade your PHP version to 5.5 it will fix your problem, because AWS Api need at least PHP version 5.5 so it can use namespace

  3. Re: Parse error: syntax error,...   Reply   Report abuse  
Picture of Terry Woody Terry Woody - 2016-05-25 05:49:02 - In reply to message 2 from Tran Tuan
My bad. Totally forgot that local server i was testing on is at 5.4.

Will use another version.

Thanks!