Page 1 of 1
error message in Album Module
Posted: Mon Jan 20, 2014 7:31 pm
by newvision
I am running CMS Made Simple 1.11.8. I installed the album module. I've attached the CSS to the tempalt on the page that I want it to appear. I am getting the following error message:
( ! ) Notice: Undefined variable: categories in C:\wamp64-2\www\drkyre\modules\Album\action.default.php on line 115
See attached image.

Re: error message in Album Module
Posted: Mon Jan 20, 2014 7:42 pm
by Jo Morg
newvision wrote:I am getting the following error message:
( ! ) Notice: Undefined variable: categories in C:\wamp64-2\www\drkyre\modules\Album\action.default.php on line 115
A notice is not exactly an error, you can disregard that. You should disable error reporting on a production site, leaving it only logging errors.
Re: error message in Album Module
Posted: Mon Jan 20, 2014 7:47 pm
by newvision
Thanks. I'll disable it. that doesn;t change the problem, though.
Re: error message in Album Module
Posted: Mon Jan 20, 2014 8:00 pm
by newvision
I don't know how to turn that off. Can you please tell me? Thanks!

Re: error message in Album Module
Posted: Mon Jan 20, 2014 8:36 pm
by Jo Morg
newvision wrote:I don't know how to turn that off. Can you please tell me? Thanks!

There are several possibilities, one of them being in php.ini:
http://pt1.php.net/manual/en/errorfunc. ... -reporting.
Note that if the module misbehaves, then posting this notice may help the developer or anyone trying to help in troubleshooting. However it is usually safe to dismiss these notices.
Re: error message in Album Module
Posted: Tue Jan 21, 2014 6:16 am
by Rolf
Use the default .htaccess file, there are a few lines there you need to remove the # in front to disable the error messages
http://docs.cmsmadesimple.org/troublesh ... d-function