Errors on page

I've just installed zen photo for the first time and it can be seen at http://ourcatphotos.com/zenphoto/

Unfortunetly there seems to be several php errors such as:

Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in /var/www/vhosts/ourcatphotos.com/httpdocs/zenphoto/zp-core/classes.php on line 50

Is there anything I have done wrong / Can do to fix this?

Thank you.

Comments

  • acrylian Administrator, Developer
    You have apparently php 5.1.3 or older on your server:

    Note: The PHP 4 method of declaring a variable with the var keyword is still supported for compatibility reasons (as a synonym for the public keyword). In PHP 5 before 5.1.3, its usage would generate an E_STRICT warning.
    http://www.php.net/manual/en/language.oop5.visibility.php

    So don't worry everything should work fine even with that note.
  • Ok well that's good to know, I guess i just need to switch off warnings :)

    Ta!
Sign In or Register to comment.