Closed (fixed)
Project:
Filebrowser
Version:
6.x-2.0-rc8
Component:
Administrative Interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Apr 2009 at 00:24 UTC
Updated:
18 May 2009 at 17:11 UTC
I uploaded the most recent Filebrowser module to my site running a new Drupal 6 upgrade, and when I attempted to install the module from the Administer/Site Building/Modules page, I got the following error message:
Parse error: syntax error, unexpected ')', expecting '(' in /home/***/public_html/sites/all/modules/filebrowser/filebrowser.module on line 81
Line 81 looks like this, although it means nothing to me:
if ($zip->open($match['path'], ZIPARCHIVE :: CREATE) === TRUE) {
The Parse error came up on every page on my site, so I have deleted the filebrowser module folder.
Any ideas what's wrong?
thanks
Phil
Comments
Comment #1
Yoran commentedWhat version of PHP are you using ? It looks like you have no object support.
Comment #2
philiphart commentedThanks. I'm with OpenSourceHost - I thought I had PHP5 but am still on 4. Have requested an upgrade but taking some time to get that implemented.
Will report back once I can try it with PHP5..
Comment #3
philiphart commentedWorking fine now with PHP5. Looks like a great replacement for Fileshare module.
Comment #4
Yoran commentedOk perfect, that was an easy one :)