Search…

X3 Photo Gallery Support Forums

Search…
 
shadoukat
Topic Author
Posts: 22
Joined: 19 Sep 2008, 13:55

Parse error: syntax error, unexpected

05 Jan 2011, 18:59

Hi,

I just downloaded the latest zip file as of yesterday, and uploaded a new fresh installment , without altering anything except for making the main folder called home and I am getting this error:

Parse error: syntax error, unexpected ',', expecting '(' in /home/jeventsb/public_html/home/iv-includes/include/ivfunctions.inc.php on line 19

how can i get this working?? when i looked at the specific line in the code that it is having problems with, it says this in that line:

ivMessenger::add(ivMessenger::ERROR, "Can't write to file " . substr($filename, strlen(ROOT_DIR)));

any help would be greatly appreciated!! thanks in advance :)
 
MikeR
Experienced
Posts: 216
Joined: 29 Sep 2006, 09:58

Re: Parse error: syntax error, unexpected

07 Jan 2011, 09:32

same for me, impossible to install

i try a fresh install, same problem
 
shadoukat
Topic Author
Posts: 22
Joined: 19 Sep 2008, 13:55

Re: Parse error: syntax error, unexpected

07 Jan 2011, 15:47

I wonder if anyone else has noticed this? it's been 2 days and I have not gotten any response or support to this critical error.

:(
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: Parse error: syntax error, unexpected

08 Jan 2011, 09:55

Sorry I was away for 3 days. You got PHP4 installed, Imagevue X2.5 requires PHP5 to run, please contact your hosting provider support about switching your site to PHP5.
firedev.com
 
MikeR
Experienced
Posts: 216
Joined: 29 Sep 2006, 09:58

Re: Parse error: syntax error, unexpected

08 Jan 2011, 10:06

but I have all ready try the beta version, and it works well
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: Parse error: syntax error, unexpected

09 Jan 2011, 03:27

Have a link?
firedev.com
 
MikeR
Experienced
Posts: 216
Joined: 29 Sep 2006, 09:58

Re: Parse error: syntax error, unexpected

09 Jan 2011, 03:45

I find the problem : to enable PHP5 I must add a .htaccess file in the root with this command SetEnv PHP_VER 5 and I forgot to add it in the final version. Maybe it can help other people using OVH "provider"

Thank you Nick
 
shadoukat
Topic Author
Posts: 22
Joined: 19 Sep 2008, 13:55

Re: Parse error: syntax error, unexpected

09 Jan 2011, 15:31

my host already had php5 installed, i just had to choose it for my site control panel and now it works.. thanks for the help! :)
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: Parse error: syntax error, unexpected

09 Jan 2011, 23:53

I was expecting something like this. PHP4 is almost 11 (!) years old. And by now all hosting providers silently introduced PHP5 support along PHP4, but they just don't force users to switch.
firedev.com