Member
Member
alper   27-03-2013, 11:17
#1

Hello!

I tested to run Zenphoto on my windows server using AMPPS but becouse of it worked bad, i am now testing XAMPP.

When installing i get this issue on the startpage of my zenphoto gallery with zpskeleton theme.

Notice: Undefined variable: options_message in C:\xampp\htdocs\zenphoto\themes\zpskeleton\gallery.php on line 12

What do you guys think this means?

This is the logg:
{2524:Wed, 27 Mar 2013 09:33:10 GMT}

NOTICE: Undefined variable: warning_listitem in C:\xampp\htdocs\zenphoto\themes\zpskeleton\functions.php on line 16

require_once called from index.php [84]

{2524:Wed, 27 Mar 2013 09:33:10 GMT}

NOTICE: Undefined variable: options_message in C:\xampp\htdocs\zenphoto\themes\zpskeleton\gallery.php on line 12

include called from include (index.php [13])

from index.php [108]

Thank you!

Administrator
Administrator
acrylian   27-03-2013, 12:01
#2

Well, it says what it means...;-): There is some variable not defined for whatever reason. I have added the theme name to the topic title so its author might be able to help.

Member
Member
alper   27-03-2013, 13:18
#3

also this error:

Notice: Undefined variable: warning_listitem in C:\xampp\htdocs\zenphoto\themes\zpskeleton\functions.php on line 16

Member
Member
gjr   27-03-2013, 13:21
#4

Thanks, more undefined variables I need address in the next release. These are just notices, and you can suppress them with your php configuration on a live site. Good to have them enabled when testing though.

Quick fix for you: edit the functions.php file of the theme and add towards to top:

`

$options_message = '';

$warning_listitem = '';

`

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.