ZenphotoCMS Forum
zpSkeleton: What does this error mean? Thank you! - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: zpSkeleton: What does this error mean? Thank you! (/thread-10952.html)



zpSkeleton: What does this error mean? Thank you! - alper - 27-03-2013

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!




zpSkeleton: What does this error mean? Thank you! - acrylian - 27-03-2013

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.




zpSkeleton: What does this error mean? Thank you! - alper - 27-03-2013

also this error:

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




zpSkeleton: What does this error mean? Thank you! - gjr - 27-03-2013

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 = '';

`