Forums / Developer / (eZ 3.5.1) HELP - hideous show-stopper image alias bug

(eZ 3.5.1) HELP - hideous show-stopper image alias bug

Author Message

Craig Hirsch

Wednesday 06 April 2005 11:14:15 pm

I am aware of the bug filed for this issue at

http://www.ez.no/community/bugs/call_to_undefined_function_storedata

but I am having a more severe problem. I am working with a brand-new install of 3.5.1 on Win/Apache(latest)/PHP(latest). When I turn on template compile for my user site, I get the dreaded error that has been noted in the bug report:

Fatal error: Call to undefined function: storedata() in c:\appserv\www\cms\ezpublish\kernel\classes\datatypes\ezimage\ezimagealiashandler.php on line 1203
Fatal error: eZ publish did not finish its request

The execution of eZ publish was abruptly ended, the debug output is present below.

The strange thing is that this has nothing to do with any of my template code. I can modify my user site's pagelayout.tpl to nothing more than "hello world" and I still get this error. I can also remove all custom image aliases from my image.ini.append and still get this error.

Please help, this is driving me crazy! Using var_dump at line 1203 ezimagealiashandler.php (in the storeDOMTree function), I can see that the failure is at the VERY FIRST run of this function. What makes the FIRST call to this function, and for which image alias?

Below I enclose the entire output of eZ when template compile is enabled, my site's homepage url is loaded with pagelayout.tpl set to "hello world," and var_dump($contentObjectAttribute) is inserted before $contentObjectAttribute->storeData(); in ezimagealiashandler.php.

Suggestions as to how to troubleshoot and fix are most appreciated. Thank you!

--
chirsch{AT}gmail{d.t}com

Ɓukasz Serwatka

Thursday 07 April 2005 2:53:20 am

Hi Craig,

Try manualy delete all cache files under var/cache and var/(prefix)/cache be cerful and don`t delete storage dir.

This should help.

Try also change to change the template code from:

{$node.object.data_map.image.content[original].url}

into

{$node.data_map.image.content[original].url}

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

Craig Hirsch

Thursday 07 April 2005 4:33:09 am

The thing is, this seems to be happening without any of my template code even being processed. The error happens seemingly very early in script execution.

I'm also not using the following anywhere, that I can tell:

{$node.object.data_map.image.content[original].url}

Unless this is present in eZ's default Standard design?

Also, I've tried clearing the cache manually many times, with no result. Any further ideas?

--
chirsch{AT}gmail{d.t}com

Craig Hirsch

Thursday 07 April 2005 4:36:20 am

Also, in my testing I've changed the entire contents of my pagelayout.tpl template to "hello world," and I still get this error when template compile is on. Doesn't this rule out the problem being with any of my created templates?

--
chirsch{AT}gmail{d.t}com

Craig Hirsch

Thursday 07 April 2005 4:42:17 am

I've looked further and

{$node.object.data_map.image.content[original].url}

is present nowhere in my design directory. Also, clearing my cache manually as you suggest does not help.

I think what I am seeing is related to, but not the same as, the problem other people have experienced. Any thoughts as to how this error could be occurring given all of this?

Thanks,
--Craig

--
chirsch{AT}gmail{d.t}com

Lex 007

Friday 22 April 2005 5:54:10 am

I've got the same problem, did you fix it ?

thx

EDIT : nevermind, for me {$node.data_map.image.content[original].url} worked