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.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 00:53:33
Script start
Timing: Jan 30 2025 00:53:33
Module start 'layout'
Timing: Jan 30 2025 00:53:33
Module start 'content'
Timing: Jan 30 2025 00:53:33
Module end 'content'
Timing: Jan 30 2025 00:53:33
Script end

Main resources:

Total runtime0.0130 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.1484151.2109
Module start 'layout' 0.00480.0021 739.359436.6563
Module start 'content' 0.00690.0050 776.015690.2813
Module end 'content' 0.01190.0011 866.296933.9766
Script end 0.0130  900.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002015.1255140.0001
Check MTime0.00097.0794140.0001
Mysql Total
Database connection0.00053.732910.0005
Mysqli_queries0.003123.616430.0010
Looping result0.00000.069610.0000
Template Total0.00086.210.0008
Template load0.00064.737910.0006
Template processing0.00021.451810.0002
Override
Cache load0.00043.310010.0004
General
dbfile0.001713.362580.0002
String conversion0.00000.029340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs