Strange mb_strlen() error when entering the admin interface

Author Message

Felix Laate

Friday 27 May 2005 1:55:41 am

Hi all!

After moving a site, when trying to go to the admin interface I get this message:

Fatal error: Call to undefined function: mb_strlen() in /home/askillvoll/ezpublish-3.5.2/var/gallery/cache/template/compiled/page_toppath-76cb1c2553c8fa9221aafd8281873a69.php on line 238
Fatal error: eZ publish did not finish its request

Any ideas anyone?

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Felix Laate

Friday 27 May 2005 2:03:07 am

Hi all (again)!

I tried to do a ./bin/shell/clearcache.sh --clear-all. But "nothing" happend. Then I went to the folder specified in the error message, and it was stuffed with compiled files like e.g. 76cb1c2553c8fa9221aafd8281873a69.php. I wiped them all out, and now things work.

One wonders why --clear-all doesn't get rid of all cached files..

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Ɓukasz Serwatka

Friday 27 May 2005 3:15:30 am

Hi Felix,

After moving a site you have to set right permissions to var, settings and design dirs and var/cache, var/(site)/cache dirs should be empty. Try to clear them manualy. Check also if this problem isn`t realted to PHP accelerator runnig on your server. Database settings should be also change to correct.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 19 2025 04:31:03
Script start
Timing: Jan 19 2025 04:31:03
Module start 'layout'
Timing: Jan 19 2025 04:31:03
Module start 'content'
Timing: Jan 19 2025 04:31:04
Module end 'content'
Timing: Jan 19 2025 04:31:04
Script end

Main resources:

Total runtime1.2351 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 590.7422152.6563
Module start 'layout' 0.00550.0036 743.398439.4922
Module start 'content' 0.00921.2240 782.8906542.0938
Module end 'content' 1.23310.0019 1,324.984412.0938
Script end 1.2350  1,337.0781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.2881160.0002
Check MTime0.00140.1124160.0001
Mysql Total
Database connection0.00110.092210.0011
Mysqli_queries1.177995.3630570.0207
Looping result0.00080.0684550.0000
Template Total1.199897.120.5999
Template load0.00290.235520.0015
Template processing1.196996.905620.5985
Template load and register function0.00010.009110.0001
states
state_id_array0.00080.066110.0008
state_identifier_array0.00190.155720.0010
Override
Cache load0.00250.2053190.0001
Sytem overhead
Fetch class attribute can translate value0.00080.063420.0004
Fetch class attribute name0.00200.165750.0004
XML
Image XML parsing0.00110.087520.0005
class_abstraction
Instantiating content class attribute0.00000.001360.0000
General
dbfile0.00120.0996240.0001
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs