Page 1 of 1

Parse error: syntax error, unexpected

Posted: 05 Jan 2011, 18:59
by shadoukat
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 :)

Re: Parse error: syntax error, unexpected

Posted: 07 Jan 2011, 09:32
by MikeR
same for me, impossible to install

i try a fresh install, same problem

Re: Parse error: syntax error, unexpected

Posted: 07 Jan 2011, 15:47
by shadoukat
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.

:(

Re: Parse error: syntax error, unexpected

Posted: 08 Jan 2011, 09:55
by Nick
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.

Re: Parse error: syntax error, unexpected

Posted: 08 Jan 2011, 10:06
by MikeR
but I have all ready try the beta version, and it works well

Re: Parse error: syntax error, unexpected

Posted: 09 Jan 2011, 03:27
by Nick
Have a link?

Re: Parse error: syntax error, unexpected

Posted: 09 Jan 2011, 03:45
by MikeR
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

Re: Parse error: syntax error, unexpected

Posted: 09 Jan 2011, 15:31
by shadoukat
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! :)

Re: Parse error: syntax error, unexpected

Posted: 09 Jan 2011, 23:53
by Nick
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.