• Not found and Not defined exception/error catch

    By Allen Montejo 1 decade ago

    Hello, I copied all the files from the sample DB and pasted it to our DB. The component works fine on the xpage elements however  when I put it on the custom controls as a dialog inside the dojo tab. It did not rendered itself. I am getting below firebug console exception and error when the dialog shows up.

     

    <pre class="objectBox inline objectBox-string " role="presentation">
    

    "NetworkError: 404 Not Found - http://<servername>/xsp/.ibmxspres/domino/ckeditor/plugins/AttachmentExtension/plugin.js?t=B73G"

        <a class="objectLink objectLink-sourceLink a11yFocus ">plugin.js?t=B73G</a></div>
    
        &nbsp;</div>
    
    plugin.js?t=B73G
        &nbsp;</div>
    
    uncaught exception: [CKEDITOR.resourceManager.load] Resource name "AttachmentExtension" was not found at "http://sdfe03/xsp/.ibmxspres/domino/ckeditor/plugins/AttachmentExtension/plugin.js?t=B73G".

     

     

    Prior to above error, I also get exception on the firebug console:

     

     

    <pre class="objectBox inline objectBox-errorMessage hasTwisty hasBreakSwitch " role="presentation">
    

        <pre class="objectBox inline objectBox-errorMessage hasTwisty hasBreakSwitch " role="presentation">
    

                <pre class="objectBox inline objectBox-errorMessage hasTwisty hasBreakSwitch " role="presentation">
    

                    ReferenceError: CKEDITOR is not defined
    
                    &nbsp;
    
                    <table cellpadding="0" cellspacing="0">
                        <tbody>
                            <tr>
                                <td>
                                    <img aria-checked="false" class="errorBreak a11yFocus " role="checkbox" src="chrome://firebug/content/blank.gif" title="Break On This Error"/></td>
                                <td>
                                    <pre class="errorSourceCode " title="CKEDITOR.plugins.add(&quot;AttachmentExtension&quot;, {">
    

    CKEDITOR.plugins.add("AttachmentExtension", {

                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
            <p>
                &nbsp;</p>
            <pre class="objectBox inline objectBox-errorMessage hasTwisty hasBreakSwitch " role="presentation">
    

                ReferenceError: CKEDITOR is not defined
    
                &nbsp;
    
                <table cellpadding="0" cellspacing="0">
                    <tbody>
                        <tr>
                            <td>
                                <img aria-checked="false" class="errorBreak a11yFocus " role="checkbox" src="chrome://firebug/content/blank.gif" title="Break On This Error"/></td>
                            <td>
                                <pre class="errorSourceCode " title="CKEDITOR.instances[instanceIds[x]].config.axtargetUrl = url;">
    

    CKEDITOR.instances[instanceIds[x]].config.axtargetUrl = url;

                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>