ZenphotoCMS Forum
Please, What's the problem? - 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: Please, What's the problem? (/thread-4531.html)



Please, What's the problem? - adrianzak - 2009-01-26

Hi,

My gallery was working fine, I didn't made any change, but today I got this error at the top of the site:

Warning: glob() has been disabled for security reasons in home/ ...

What's the problem? How can I fix this?

Thank you.




Please, What's the problem? - sbillard - 2009-01-26

This is a change that your Internet Service Provider has made. Glob() is a function used to retrieve the contents of a folder. Some providers unnecessarily restrict this function--it can be used securly which zenphoto does--or it can be used to discover folders that perhaps should not be shown.

Fortunately, zenphoto can deal with this unreasonable exercise of paranoia. Older versions of zenphoto have a define SAFE_GLOB that you need to set to true. The current version has eleminated the use of glob() entirely.




Please, What's the problem? - adrianzak - 2009-01-28

Thanks for your fast reply.

Problem solved.

Thank you.