Coinbase

Author Topic: Bug in installation.xml  (Read 4257 times)

0 Members and 1 Guest are viewing this topic.

Offline jack40k

  • Newbie
  • *
  • Posts: 8
    • Email
Bug in installation.xml
« on: November 16, 2008, 05:40:33 am »
------------------------------------------------------------------------------------------------

<file name="$sourcedir/ManagePermissions.php">
<operation>
<search position="replace"><![CDATA[         'pm' => array(]]>
</search>
<add><![CDATA[         'ad_manage' => array(
            'ad_manageperm' => false,
         ),
         'pm' => array(]]>
</add>
</operation>
</file>


------------------------------------------------------------------------------------------------

Now you see how is tells you to find the line of code: 'pm' => array(]]>. Well there's no such thing in ManagePermissions.php. It's actually: 'pm' => array(

When you find that you need to replace it with: 'ad_manage' => array(
            'ad_manageperm' => false,
         ),
         'pm' => array(

The "]]>" at the end of array never existed.

Hope this helps.

Offline ccbtimewiz

  • Sr. Member
  • ****
  • Posts: 326
    • Dream Portal
Re: Bug in installation.xml
« Reply #1 on: November 16, 2008, 06:10:03 pm »
The ]]> is not search code, it's XML parse code.

SMF Ads Support Forum

Re: Bug in installation.xml
« Reply #1 on: November 16, 2008, 06:10:03 pm »
.