Forums / Install & configuration / undefined function glob()

undefined function glob()

Author Message

Ben Overmyer

Thursday 06 January 2011 12:56:33 pm

Hi all,

In trying to finish an upgrade to eZ Publish 4.4, we've run across the following problem. We're unable to clear the cache either through the web admin interface or the command line. Running the purge from command line generates the following error:

Fatal error: Call to undefined function glob() in *****/kernel/classes/clusterfilehandlers/ezfsfilehandler.php on line 729

A bit of Googling reveals that this problem generally occurs with PHP v4.3 or earlier. However, we're running v5.3.2.

What could be causing this?

André R.

Thursday 06 January 2011 2:45:11 pm

does this apply?

"Note: This function isn't available on some systems (e.g. old Sun OS)."

Probably not, but what kind of OS is it?
Is it disabled in php.ini maybe(disable_functions)?

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Ben Overmyer

Tuesday 18 January 2011 7:16:00 am

Sorry for the delay in replying.

It's Red Hat Enterprise v5.4, 64 bit mode.