undefined constants in setup

just about to install a new install from svn, and see these notices:

Notice: Use of undefined constant WEBPATH - assumed 'WEBPATH' in
zp-core\functions-i18n.php on line 168

Notice: Use of undefined constant WEBPATH - assumed 'WEBPATH' in zp-core\functions-i18n.php on line 169

and then after pressing 'go':

About to create tables...

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in zp-core\functions.php on line 2052
Done with table create!

Comments

  • acrylian Administrator, Developer
    I don't see any of those errors with my freshly upldated svn install. The only thing I see when browsing the gallery is:
    PHP Notice: Use of undefined constant OFFSET_PATH - assumed 'OFFSET_PATH' in /Applications/MAMP/htdocs/zenphoto-svn/zp-core/functions.php on line 31

    Re: array_key_exists: http://www.zenphoto.org/support/topic.php?id=3239#post-19437
  • change your error reporting to:

    error_reporting = E_ALL & ~E_NOTICE

    in php.ini
  • acrylian Administrator, Developer
    It was set to error_reporting = E_ALL

    I still don't see what you see.
  • damn you then! i'm not crazy! maybe because you use an inferior mac? :p
  • acrylian Administrator, Developer
    Don't get personal...:-)
  • george2:

    How about you update ALL the files from the build. You are missing an updated index.php from the root.
Sign In or Register to comment.