OE Problem

Author Message

Davide Bolzoni

Thursday 03 July 2003 7:28:59 am

My oe not insert image in text ,please help me

Wenyue Yu

Thursday 03 July 2003 7:44:59 am

Hi,

could you descripe your problem in detail?
eZ publish version, result when try to insert an image, for example.

Regards,
wenyue

Davide Bolzoni

Thursday 03 July 2003 8:55:25 am

Hy the version is:
ezp 3.1-1 (3.1)
svn 2703
php 4.3.1
OE 1.1
windows 2000

On insert image in the text body ,image is not loaded an apear the "x"

Thank' s

Tony Wood

Thursday 03 July 2003 9:00:37 am

Davide,

If you try and add an image without the OE does it work?

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Davide Bolzoni

Thursday 03 July 2003 9:07:39 am

as link work ,not work to insert as image

Tony Wood

Thursday 03 July 2003 9:20:13 am

Ok so we can be sure that the image storage and display mechanism works without the editor.

So its only when you are trying to dispaly the image. When this has happened to me it was one of these

1. editors did not have DHTML permissions in role settings?
2. var/storage directory did not have write write for web server, in my case apache.
3. issue with ini file settings. To resolve turn on debugging and see if eZ complains about anything, (not set ini settings) in the insert popup box.
4. I didn't add the imageclass in the site.ini.append.php file
[MediaClassSettings]
ImageClassID[]=5

Try these and see if it works

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Davide Bolzoni

Thursday 03 July 2003 9:24:23 am

Thank' s ,i have inserted in the ini files , ok go to debug .

Davide Bolzoni

Friday 11 July 2003 4:20:22 pm

the problem persist
thi is debug
eZ debug
Timing: Jul 12 2003 01:13:24
Script start
Timing: Jul 12 2003 01:13:24
Module start 'content'
Warning: PHP Jul 12 2003 01:13:24
Undefined variable: lang in d:\ilmweb\sites\ufoepiloti\kernel\classes\ezcontentobject.php on line 469
Warning: PHP Jul 12 2003 01:13:24
Undefined variable: lang in d:\ilmweb\sites\ufoepiloti\kernel\classes\ezcontentobject.php on line 1155
Warning: PHP Jul 12 2003 01:13:24
Undefined variable: lang in d:\ilmweb\sites\ufoepiloti\kernel\classes\ezcontentobject.php on line 1155
Notice: eZTSTranslator::load Jul 12 2003 01:13:24
Loading cached translation
Warning: ezi18n Jul 12 2003 01:13:24
No translation for file(translation.ts) in context(design/standard/content/edit): 'Edit %1 - %2' with comment()
Warning: ezi18n Jul 12 2003 01:13:24
No translation for file(translation.ts) in context(design/standard/content/datatype): 'Disable editor' with comment()
Warning: ezi18n Jul 12 2003 01:13:24
No translation for file(translation.ts) in context(design/standard/content/datatype): 'Disable editor' with comment()
Error: imageInit Jul 12 2003 01:13:24
ImageGD is not available, disabling
Warning: Jul 12 2003 01:13:24
Exec: convertim -geometry "100x100>" var/storage/reference/image//php1B.tmp.jpg jpg:var/storage/variations/image/p/h/p//php1B_100x100_337.tmp.jpg, Err: , Ret: 710
Warning: PHP Jul 12 2003 01:13:24
getimagesize(var/storage/variations/image/p/h/p/php1B_100x100_337.tmp.jpg) [<a href='http://www.php.net/function.getimagesize'>function.getimagesize</a>]: failed to create stream: No such file or directory in d:\ilmweb\sites\ufoepiloti\kernel\classes\datatypes\ezimage\ezimagevariation.php on line 234
Warning: PHP Jul 12 2003 01:13:24
filesize() [<a href='http://www.php.net/function.filesize'>function.filesize</a>]: Stat failed for var/storage/variations/image/p/h/p/php1B_100x100_337.tmp.jpg (errno=2 - No such file or directory) in d:\ilmweb\sites\ufoepiloti\kernel\classes\datatypes\ezimage\ezimagevariation.php on line 249
Error: Jul 12 2003 01:13:24
Could not create variation for var/storage/variations/image/p/h/p/php1B_100x100_337.tmp.jpg
Error: eZTemplate @ design/standard/templates/content/datatype/edit/ezimage.tpl:27[9] Jul 12 2003 01:13:24
Cannot retrieve attribute of a boolean
Timing: Jul 12 2003 01:13:24
Module end 'content'
Debug: parent node Jul 12 2003 01:13:24
0
Timing: Jul 12 2003 01:13:24
End

Timing points:
Checkpoint Elapsed Rel. Elapsed Memory Rel. Memory
Script start 0.0000 sec 0.2717 sec 0.0000KB 0.0000KB
Module start 'content' 0.2717 sec 1.8124 sec 0.0000KB 0.0000KB
Module end 'content' 2.0841 sec 0.3514 sec 0.0000KB 0.0000KB
End 2.4356 sec 0.0000KB 0.0000KB
Total runtime: 2.4360 sec

Time accumulators:
Accumulator Elapsed Percent Count Average
ini_load
Load cache 0.2019 sec 8.1773% 12 0.0168 sec
Mysql Total
Mysql_queries 0.0880 sec 3.5643% 37 0.0024 sec
Looping result 0.0059 sec 0.2377% 35 0.0002 sec
Template Total 1.8461 sec 74.8% 2 0.9230 sec
Template load 0.0821 sec 3.3242% 2 0.0410 sec
Template processing 1.7626 sec 71.4014% 2 0.8813 sec
Template load and register function 0.0306 sec 1.2395% 7 0.0044 sec
String conversion in template resource 0.0004 sec 0.0170% 1 0.0004 sec
Template parser: create text elements 0.0056 sec 0.2255% 1 0.0056 sec
Template parser: remove whitespace 0.0004 sec 0.0181% 1 0.0004 sec
Template parser: construct tree 0.0076 sec 0.3097% 1 0.0076 sec
override
Matching rules 0.0051 sec 0.2064% 5 0.0010 sec
General
INI string conversion 0.0580 sec 2.3511% 172 0.0003 sec
String conversion 0.0179 sec 0.7237% 175 0.0001 sec
Total script time: 2.4686 sec

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