Setup Problem: "Parse error: syntax error..."

Hello there!

I try to install Zenphoto for the first time.

Here is what I get: when I run it from:
http://www.uth.ch/zenphoto/zp-core/setup.php :
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/www/web85/html/zenphoto/zp-core/functions-basic.php on line 1470

And here is, what I get, if I run it from
http://www.uth.ch/zenphoto/ :
Parse error: syntax error, unexpected '=', expecting ')' in /home/www/web85/html/zenphoto/zp-core/template-functions.php on line 4372

Two different errors interestingly...

With regards to the server: This is just a standard php webserver. Honestly I am not sure about the software and the configurations running on it. All I can see about this is here:
https://www.hosteurope.ch/webhosting/webhosting-pakete/

Anyway, I was confident, that the zenphoto Installation-Script would tell me, in case any server configuration is wrong. I am surprised to get such a "low level" error message.

Here is what I see in the only server-logfile I have access to:

62.202.32.145 - - [24/Apr/2013:12:08:04 +0200] "GET /zenphoto HTTP/1.1" 301 231 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
62.202.32.145 - - [24/Apr/2013:12:08:05 +0200] "GET /zenphoto/ HTTP/1.1" 200 154 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
62.202.32.145 - - [24/Apr/2013:12:08:05 +0200] "GET /favicon.ico HTTP/1.1" 404 223 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
62.202.32.145 - - [24/Apr/2013:12:10:53 +0200] "GET /zenphoto/zp-core/setup.php HTTP/1.1" 200 187 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
62.202.32.145 - - [24/Apr/2013:12:10:53 +0200] "GET /favicon.ico HTTP/1.1" 404 223 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
62.202.32.145 - - [24/Apr/2013:12:12:57 +0200] "GET /zenphoto/zp-core/setup.php HTTP/1.1" 200 187 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
62.202.32.145 - - [24/Apr/2013:12:12:59 +0200] "GET /zenphoto/zp-core/setup.php HTTP/1.1" 200 187 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
62.202.32.145 - - [24/Apr/2013:12:12:59 +0200] "GET /zenphoto/zp-core/setup.php HTTP/1.1" 200 187 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
62.202.32.145 - - [24/Apr/2013:12:13:00 +0200] "GET /zenphoto/zp-core/setup.php HTTP/1.1" 200 187 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
62.202.32.145 - - [24/Apr/2013:12:29:53 +0200] "GET /zenphoto/ HTTP/1.1" 200 154 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"

Can anyone help me out?

Thanks a million!

Comments

  • acrylian Administrator, Developer
    No idea about the error. Line 1470 in the current functions-basic.php file is just a comment…

    The serverlog is just the access log, we need th error log. Best you ask the hosteurope staff where to find that.

    Hosteurope normally is fine as far as I know their German section. But you really need to find out your configuration details like PHP version and such. Either that should be possible via their backend or via a php file containing php_info(). Since you seem not really familiar with web stuff you probably should just ask them about it.
  • Hi Acrylian

    thank you indeed for your fast reply!

    I sent a request to the hoster via their ticket-system... last time it took rather long until I got a reply. However, I wait...

    Best regards
  • acrylian Administrator, Developer
    Let us know if you have more info. Config info about the webspace is in any case info you should have if you trying to self host a CMS like Zenphoto.
  • Minimum requirements for Zenphoto is PHP 5 or greater. You are most likely running a version of PHP 4.
Sign In or Register to comment.