Problems with installation

Started by Do2, October 20, 2009, 06:05:57 PM

Previous topic - Next topic

Do2

Hi,

i have some problems with my package. I tried to install my package on 3 boards, but everytime the same problem.
I hope you can help me, because i'm become more and more crazy. :P

Thanks for help.

Arantor

Because the blank lines you've put in your CDATA blocks are trying to be matched, and failing. Inside the package parser, linebreaks are significant (and no, there isn't a way around this without not using XML)

Example:
<search position="before">
<![CDATA[
'profile_remote_avatar' => array(false, 'profile', 'use_avatar'),
]]>
</search>


This must be specified as:
<search position="before">
<![CDATA[ 'profile_remote_avatar' => array(false, 'profile', 'use_avatar'),
]]>
</search>


This puts the end-of-line at the end of the search area so it's fine to use the code you already have for the add block.
Holder of controversial views, all of which my own.


Do2

#2
I changed this line, but the error persists. Maybe i'm a bit silly. :'(

Edit: Ah, now i understand! O:) It works. Thanks Arantor.

Advertisement: