Member
Member
george2   2008-06-16, 09:39
#1
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!
Administrator
Administrator
acrylian   2008-06-16, 10:04
#2
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
Member
Member
george2   2008-06-16, 10:08
#3
change your error reporting to:

error_reporting = E_ALL & ~E_NOTICE

in php.ini
Administrator
Administrator
acrylian   2008-06-16, 10:33
#4
It was set to error_reporting = E_ALL

I still don't see what you see.
Member
Member
george2   2008-06-16, 10:39
#5
damn you then! i'm not crazy! maybe because you use an inferior mac? :p
Administrator
Administrator
acrylian   2008-06-16, 10:56
#6
Don't get personal...:-)
Member
Member
sbillard   2008-06-17, 00:53
#7
george2:

How about you update ALL the files from the build. You are missing an updated index.php from the root.
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.