Share » Forums » Developer » XMLArea extension development

XMLArea extension development

XMLArea extension development

Monday 20 December 2004 7:23:19 am - 216 replies

Author Message

STEVO +

Tuesday 29 November 2005 7:34:59 am

erm, actually i'm not that confident with this svn business. i'd rather someone else did it if they can!

liu spider

Tuesday 29 November 2005 7:59:52 am

ok, I will try to do it

first, where do you think we shall branch the existing xmlarea code for 3.5?

what about
http://pubsvn.ez.no/community/stable/3.5/extension/xmlarea ?

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

STEVO +

Tuesday 29 November 2005 8:17:44 am

sounds good to me, liu.

Tomasz Jakubowski

Tuesday 29 November 2005 12:49:30 pm

Hi,
I have problem with link tag.
When object contains link tag, for example: <link href='/'>dsfdgf</link>
then edit object genrate: Fatal error: A database transaction in eZ publish failed.

Debug output:

Warning: PHP  	Nov 29 2005 21:34:59

Undefined index:  first_param in s:\klienci\tomp\ez\extension\xmlarea\autoloads\template_xmlarea_operator.php on line 67

Error: eZTemplate @ extension/xmlarea/design/standard/templates/content/datatype/edit/ezxmltext.tpl:15[20] 	Nov 29 2005 21:34:59

Unknown template variable 'edit_lang' in namespace 'ContentAttribute'

Error: eZMySQLDB 	Nov 29 2005 21:34:59

Query error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1. Query: SELECT * FROM ezurl WHERE id IN (  )

Error: eZDBInterface::commit TRANSID-2202d955f0cf8f76c167b7283253ba02 	Nov 29 2005 21:34:59

Transaction in progress failed due to DB error, transaction was rollbacked. Transaction ID is TRANSID-2202d955f0cf8f76c167b7283253ba02.
Notice: eZMySQLDB::query(-1 rows, 0.376 ms) query number per page:38  	Nov 29 2005 20:55:55

SELECT * FROM ezurl WHERE id IN (  )

Error: eZMySQLDB 	Nov 29 2005 20:55:55

Query error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1. Query: SELECT * FROM ezurl WHERE id IN (  )

Notice: eZMySQLDB::query(0 rows, 0.864 ms) query number per page:39 	Nov 29 2005 20:55:55

UNLOCK TABLES

Error: eZDBInterface::commit TRANSID-e5b17c669863b20cd75631060729a500 	Nov 29 2005 20:55:55

Transaction in progress failed due to DB error, transaction was rollbacked. Transaction ID is TRANSID-e5b17c669863b20cd75631060729a500.

ez: 3.6 rev 14218
mysql: 4.1.12
lang: pol-PL

thanks,
Tompson

STEVO +

Wednesday 30 November 2005 5:30:08 am

tomasz, you need to use this version

http://pubsvn.ez.no/viewcvs/community/trunk/extension/xmlarea-for-36/

which is compatable with 3.6+

Tomasz Jakubowski

Wednesday 30 November 2005 3:26:16 pm

Hi

I understand where is the problem. Change name of extension folder from xmlarea-for-36 to xmlarea solve problem ;)

thanks,
Tompson

liu spider

Wednesday 14 December 2005 5:42:15 pm

I copied current xmlarea to http://pubsvn.ez.no/community/stable/3.5/extension/

STEVO+, could you check out xmlarea-for-3.6 and commit to xmlarea manually?

sorry for the delay

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

Samuel Sauder

Thursday 12 January 2006 8:56:28 am

Tomasz,
Renaming the directory did not work for me. Once I created a symbolic link

ln -sv xmlarea-for-36 extension/xmlarea

then it did. There seems to be references to both ways in the config package.

(using revision 807 xmlarea)

Pasi Suominen

Friday 03 February 2006 4:21:53 pm

i'm getting error when i try to modify embedded picture...

ezpublish 3.7.2 and xmlarea-for-36

Fatal error: Call to undefined function: stripcomments() in /var/www/xxx/htdocs/lib/ezxml/classes/ezxml.php on line 154
Fatal error: eZ publish did not finish its request

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

Warning: Invalid argument supplied for foreach() in /var/www/xxx/htdocs/kernel/common/eztemplatedesignresource.php on line 854

Notice: Undefined variable: matchFileArray in /var/www/xxx/htdocs/kernel/common/eztemplatedesignresource.php on line 933

Warning: array_keys(): The first argument should be an array in /var/www/xxx/htdocs/kernel/common/eztemplatedesignresource.php on line 524

Warning: Invalid argument supplied for foreach() in /var/www/xxx/htdocs/kernel/common/eztemplatedesignresource.php on line 524

Warning: Invalid argument supplied for foreach() in /var/www/xxx/htdocs/kernel/common/eztemplatedesignresource.php on line 854

Notice: Undefined variable: matchFileArray in /var/www/xxx/htdocs/kernel/common/eztemplatedesignresource.php on line

Fraser Hore

Sunday 05 March 2006 7:43:02 am

I'm having trouble adding a simple link to a document. I'm using xmlarea-for-36 on ez3.7.3, which is installed in the root directory. I put the document in the root directory.

when i enter: href='/filename.pdf' this gets published: href='index.php/siteaccessname/filename.pdf

Clicking the link brings up a Module doesn't Exist error.

Any help would be much appreciated!

Cheers,

Fraser

Betsy Gamrat

Sunday 05 March 2006 8:12:41 am

You may be able to use relative links (../../) to indicate the correct path.

For example -

This XMLText link:

<link href='../../../robots.wizard/doc.htm' target='_blank'>User Manual</link>

Yields this HTML code:

<a href="/ez/index.php/plain/../../../robots.wizard/doc.htm" target="_blank">User Manual</a>

The robots.wizard directory is at the same level as the ez directory.

You can also use the full URL (http://domain.com/file.pdf).

Good luck.

Fraser Hore

Sunday 05 March 2006 9:44:37 am

Thanks Betsy! Both of your suggestions worked for the first publish. But if i edit again, the ../../ or the http://www.mydomain.com are stripped away. Very strange. I have to reenter one of these solutions otherwise index.php/mysiteacces is prepended.

Oh well, at least i have a solution to my immediate problem which helps a lot!

Cheers,

Fraser

Betsy Gamrat

Monday 06 March 2006 5:32:46 am

Fraser,

Another workaround is to create a symlink in the eZ directory that points to the actual source. You can use ln -s /target_dir and then refer to target dir as if it is really in the eZ directory.

These are just workarounds, there are probably better solutions, but sometimes, you need the quickest solution, before the best.

Good luck

Marko Žmak

Wednesday 03 May 2006 6:03:52 am

I have a problem with   in xmlarea. Tried what was suggested here in this thread but didn't work. I also posted the problem in Setup and Design section:

http://ez.no/community/forum/setup_design/xmlarea_problem_with_nbsp

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Lucas Rocha

Tuesday 23 May 2006 7:04:20 am

For those who are having problems with xmlarea on eZ Publish >= 3.7.x at the 154 line of /var/www/xxx/htdocs/lib/ezxml/classes/ezxml.php, you need to replace all domTree method static calls with instance calls inside xmlarea code.

liu spider

Tuesday 23 May 2006 7:07:37 am

this extension has no update for a long time

you may want to try sjsd

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu