ZenphotoCMS Forum
zpMasonry error when upgrading to zenphoto 1.4.4.8 - 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: zpMasonry error when upgrading to zenphoto 1.4.4.8 (/thread-11255.html)



zpMasonry error when upgrading to zenphoto 1.4.4.8 - NaturalEnquirer - 07-08-2013

gjr,

I upgraded zenphoto 1.4.3.5 to 1.4.4.8 and got errors in zpMasonry theme only. I updated zpMasonry to 1.4.4.3b but galleries and images still do not display.

Also I get these errors in Options > Themes:

Notice: Use of undefined constant OPTION_TYPE_TEXT - assumed 'OPTION_TYPE_TEXT' in C:\mysites\nif\galleries\themes\zpmasonry\themeoptions.php on line 91

Notice: Use of undefined constant OPTION_TYPE_TEXT - assumed 'OPTION_TYPE_TEXT' in C:\mysites\nif\galleries\themes\zpmasonry\themeoptions.php on line 94

Notice: Use of undefined constant OPTION_TYPE_TEXT - assumed 'OPTION_TYPE_TEXT' in C:\mysites\nif\galleries\themes\zpmasonry\themeoptions.php on line 103

Notice: Use of undefined constant OPTION_TYPE_TEXT - assumed 'OPTION_TYPE_TEXT' in C:\mysites\nif\galleries\themes\zpmasonry\themeoptions.php on line 124

Thank you for your help.




zpMasonry error when upgrading to zenphoto 1.4.4.8 - fretzl - 08-08-2013

I noticed that too. Edit your themeoptions.php like this:

On line 91 it should be OPTION_TYPE_CHECKBOX
On line 94 it should be OPTION_TYPE_TEXTBOX
On line 103 it should be OPTION_TYPE_CHECKBOX
On line 124 it should be OPTION_TYPE_SELECTOR

Not sure if this will get your images to show though.




zpMasonry error when upgrading to zenphoto 1.4.4.8 - acrylian - 08-08-2013

I recently send some fixes of zpMasonry, zpminimal and zpFocus to gjr to help to make them more or less work with 1.4.5. However it seems I overlooked those option issues.

Since he will abandon them I don't know if he will incorporate those fixes with a final release of them before doing that.