Professional Web Applications Themes

Error message when trying to open PHP include? - Macromedia Contribute General Discussion

Hi there, I have seen a number of posts here about issues with Contribute editing PHP pages and am starting to get concerned... I have another one to add to the list. I have created a site that uses PHP includes for the header and the drop down menus, so that the client can go in and edit one or two files to change things sitewide. Sounds good, right? Well, in Contribute I can't open either of the PHP files that are being included to edit them. I keep getting errors and whether I click on "YES" or "NO" (to ...

  1. #1

    Default Error message when trying to open PHP include?

    Hi there,

    I have seen a number of posts here about issues with Contribute editing PHP
    pages and am starting to get concerned... I have another one to add to the list.

    I have created a site that uses PHP includes for the header and the drop down
    menus, so that the client can go in and edit one or two files to change things
    sitewide. Sounds good, right? Well, in Contribute I can't open either of the
    PHP files that are being included to edit them. I keep getting errors and
    whether I click on "YES" or "NO" (to the question of whether I want to continue
    running scripts on the page) it doesn't let me out...the error warning box
    keeps popping up and I am in an endless loop. The only way out is
    CTRL-ALT-DELETE.

    One guess I had is that I am maybe missing something important in the included
    PHP file that is necessary for it to be recognized as a proper PHP file? In
    other words, the included PHP files contain no header tags or anything like
    that, it is literally just some divs that are supposed to be inserted at a
    particular point on every page. Am I missing something, or am I encountering a
    limitation of Contribute?

    Many thanks!!

    Tim

    <div id="MMMenuContainer1118164251_0">
    <div id="MMMenu1118164251_0" onmouseout="MM_menuStartTimeout(0);"
    onmouseover="MM_menuResetTimeout();">
    <a href="open-account.php" id="MMMenu1118164251_0_Item_0"
    class="MMMIFVStyleMMMenu1118164251_0"
    onmouseover="MM_menuOverMenuItem('MMMenu1118164251 _0');">
    Getting&nbsp;Started
    </a>
    <a href="online-banking.php" id="MMMenu1118164251_0_Item_1"
    class="MMMIVStyleMMMenu1118164251_0"
    onmouseover="MM_menuOverMenuItem('MMMenu1118164251 _0');">
    Online&nbsp;Banking
    </a>
    <a href="bill-pay.php" id="MMMenu1118164251_0_Item_2"
    class="MMMIVStyleMMMenu1118164251_0"
    onmouseover="MM_menuOverMenuItem('MMMenu1118164251 _0');">
    Online&nbsp;Bill&nbsp;Payment
    </a>
    <a href="telephone.php" id="MMMenu1118164251_0_Item_3"
    class="MMMIVStyleMMMenu1118164251_0"
    onmouseover="MM_menuOverMenuItem('MMMenu1118164251 _0');">
    Telephone&nbsp;Banking
    </a>
    <a href="faq.php" id="MMMenu1118164251_0_Item_4"
    class="MMMIVStyleMMMenu1118164251_0"
    onmouseover="MM_menuOverMenuItem('MMMenu1118164251 _0');">
    FAQs
    </a>
    <a href="corporate-values.php" id="MMMenu1118164251_0_Item_5"
    class="MMMIVStyleMMMenu1118164251_0"
    onmouseover="MM_menuOverMenuItem('MMMenu1118164251 _0');">
    Corporate&nbsp;Values
    </a>
    </div>
    </div>
    <div id="MMMenuContainer1118164251_1">
    <div id="MMMenu1118164251_1" onmouseout="MM_menuStartTimeout(0);"
    onmouseover="MM_menuResetTimeout();">
    <a href="hours.php" id="MMMenu1118164251_1_Item_0"
    class="MMMIFVStyleMMMenu1118164251_1"
    onmouseover="MM_menuOverMenuItem('MMMenu1118164251 _1');">
    Hours </a>
    <a href="branch-locations.php" id="MMMenu1118164251_1_Item_1"
    class="MMMIVStyleMMMenu1118164251_1"
    onmouseover="MM_menuOverMenuItem('MMMenu1118164251 _1');">
    Branch&nbsp;Locations </a>
    <a href="atm-locations.php" id="MMMenu1118164251_1_Item_2"
    class="MMMIVStyleMMMenu1118164251_1"
    onmouseover="MM_menuOverMenuItem('MMMenu1118164251 _1');">
    ATM&nbsp;Locations </a> </div>
    </div>
    <div id="MMMenuContainer0022162402_2">
    <div id="MMMenu0022162402_2" onmouseout="MM_menuStartTimeout(0);"
    onmouseover="MM_menuResetTimeout();">
    <a href="http://readingcoop.mortgagewebcenter.com/Default.asp"
    id="MMMenu0022162402_2_Item_0" class="MMMIFVStyleMMMenu0022162402_2"
    onmouseover="MM_menuOverMenuItem('MMMenu0022162402 _2');">
    Mortgage
    </a>
    <a href="personal_equity.php" id="MMMenu0022162402_2_Item_1"
    class="MMMIVStyleMMMenu0022162402_2"
    onmouseover="MM_menuOverMenuItem('MMMenu0022162402 _2');">
    Home&nbsp;Equity
    </a>
    <a href="rates_savings.php" id="MMMenu0022162402_2_Item_2"
    class="MMMIVStyleMMMenu0022162402_2"
    onmouseover="MM_menuOverMenuItem('MMMenu0022162402 _2');">
    Savings
    </a>
    <a href="rates_auto.php" id="MMMenu0022162402_2_Item_3"
    class="MMMIVStyleMMMenu0022162402_2"
    onmouseover="MM_menuOverMenuItem('MMMenu0022162402 _2');">
    Auto
    </a>
    <a href="rates_specials.php" id="MMMenu0022162402_2_Item_4"
    class="MMMIVStyleMMMenu0022162402_2"
    onmouseover="MM_menuOverMenuItem('MMMenu0022162402 _2');">
    Specials
    </a>
    </div>
    </div>
    <div id="MMMenuContainer1118212259_2">
    <div id="MMMenu1118212259_2" onmouseout="MM_menuStartTimeout(0);"
    onmouseover="MM_menuResetTimeout();">
    <a href="personal_checking.php" id="MMMenu1118212259_2_Item_0"
    class="MMMIFVStyleMMMenu1118212259_2"
    onmouseover="MM_menuOverMenuItem('MMMenu1118212259 _2');">
    Checking </a>
    <a href="personal_savings.php" id="MMMenu1118212259_2_Item_1"
    class="MMMIVStyleMMMenu1118212259_2"
    onmouseover="MM_menuOverMenuItem('MMMenu1118212259 _2');">
    Savings </a>
    <a href="personal_hsa.php" id="MMMenu1118212259_2_Item_2"
    class="MMMIVStyleMMMenu1118212259_2"
    onmouseover="MM_menuOverMenuItem('MMMenu1118212259 _2');">
    Health&nbsp;Savings&nbsp;Account </a>
    <a href="personal_ira.php" id="MMMenu1118212259_2_Item_3"
    class="MMMIVStyleMMMenu1118212259_2"
    onmouseover="MM_menuOverMenuItem('MMMenu1118212259 _2');">
    Certificates&nbsp;&amp;&nbsp;IRAs </a>
    <a href="personal_lending.php" id="MMMenu1118212259_2_Item_4"
    class="MMMIVStyleMMMenu1118212259_2"
    onmouseover="MM_menuOverMenuItem('MMMenu1118212259 _2','1');">
    <span class="MMMenuItemSpanMMMenu1118212259_2">Loans</span>
    <img src="images/arrows.gif" alt="" class="MMArrowStyleMMMenu1118212259_2"
    /> </a>
    <a href="personal_investing.php" id="MMMenu1118212259_2_Item_5"
    class="MMMIVStyleMMMenu1118212259_2"
    onmouseover="MM_menuOverMenuItem('MMMenu1118212259 _2');">
    Investing </a> </div>
    <div id="MMMenu1118212259_2_1" onmouseout="MM_menuStartTimeout(0);"
    onmouseover="MM_menuResetTimeout();">
    <a href="http://readingcoop.mortgagewebcenter.com/Default.asp"
    id="MMMenu1118212259_2_1_Item_0" class="MMMIFVStyleMMMenu1118212259_2_1"
    onmouseover="MM_menuOverMenuItem('MMMenu1118212259 _2_1');">
    Mortgage&nbsp;Center </a>
    <a href="personal_equity.php" id="MMMenu1118212259_2_1_Item_1"
    class="MMMIVStyleMMMenu1118212259_2_1"
    onmouseover="MM_menuOverMenuItem('MMMenu1118212259 _2_1');">
    Home&nbsp;Equity&nbsp;Loans </a>
    <a href="personal_reverse.php" id="MMMenu1118212259_2_1_Item_2"
    class="MMMIVStyleMMMenu1118212259_2_1"
    onmouseover="MM_menuOverMenuItem('MMMenu1118212259 _2_1');">
    Reverse&nbsp;Mortgages </a>
    <a href="personal_auto.php" id="MMMenu1118212259_2_1_Item_3"
    class="MMMIVStyleMMMenu1118212259_2_1"
    onmouseover="MM_menuOverMenuItem('MMMenu1118212259 _2_1');">
    Auto&nbsp;Loans </a>
    <a href="faq-loans.php" id="MMMenu1118212259_2_1_Item_4"
    class="MMMIVStyleMMMenu1118212259_2_1"
    onmouseover="MM_menuOverMenuItem('MMMenu1118212259 _2_1');">
    Loan&nbsp;FAQs </a>
    <a href="personal_calculator.php" id="MMMenu1118212259_2_1_Item_5"
    class="MMMIVStyleMMMenu1118212259_2_1"
    onmouseover="MM_menuOverMenuItem('MMMenu1118212259 _2_1');">
    Loan&nbsp;Calculator </a> </div>
    </div>
    <div id="MMMenuContainer1118170016_2">
    <div id="MMMenu1118170016_2" onmouseout="MM_menuStartTimeout(0);"
    onmouseover="MM_menuResetTimeout();">
    <a href="business_checking.php" id="MMMenu1118170016_2_Item_0"
    class="MMMIFVStyleMMMenu1118170016_2"
    onmouseover="MM_menuOverMenuItem('MMMenu1118170016 _2');">
    Checking
    </a>
    <a href="business_savings.php" id="MMMenu1118170016_2_Item_1"
    class="MMMIVStyleMMMenu1118170016_2"
    onmouseover="MM_menuOverMenuItem('MMMenu1118170016 _2');">
    Savings
    </a>
    <a href="business_hsa.php" id="MMMenu1118170016_2_Item_2"
    class="MMMIVStyleMMMenu1118170016_2"
    onmouseover="MM_menuOverMenuItem('MMMenu1118170016 _2');">
    Health&nbsp;Savings&nbsp;Account
    </a>
    <a href="business_lending.php" id="MMMenu1118170016_2_Item_3"
    class="MMMIVStyleMMMenu1118170016_2"
    onmouseover="MM_menuOverMenuItem('MMMenu1118170016 _2','1');">
    <span class="MMMenuItemSpanMMMenu1118170016_2">Lending</span>
    <img src="images/arrows.gif" alt="" class="MMArrowStyleMMMenu1118170016_2"
    />
    </a>
    <a href="business_other.php" id="MMMenu1118170016_2_Item_4"
    class="MMMIVStyleMMMenu1118170016_2"
    onmouseover="MM_menuOverMenuItem('MMMenu1118170016 _2');">
    Other&nbsp;Business&nbsp;Services
    </a>
    <a href="business_merchant.php" id="MMMenu1118170016_2_Item_5"
    class="MMMIVStyleMMMenu1118170016_2"
    onmouseover="MM_menuOverMenuItem('MMMenu1118170016 _2');">
    Merchant&nbsp;Services
    </a>
    </div>
    <div id="MMMenu1118170016_2_1" onmouseout="MM_menuStartTimeout(0);"
    onmouseover="MM_menuResetTimeout();">
    <a href="faq-loans.php" id="MMMenu1118170016_2_1_Item_0"
    class="MMMIFVStyleMMMenu1118170016_2_1"
    onmouseover="MM_menuOverMenuItem('MMMenu1118170016 _2_1');">
    Loan&nbsp;FAQs </a>
    <a href="business_calculator.php" id="MMMenu1118170016_2_1_Item_1"
    class="MMMIVStyleMMMenu1118170016_2_1"
    onmouseover="MM_menuOverMenuItem('MMMenu1118170016 _2_1');">
    Loan&nbsp;Calculator </a> </div>
    </div>
    <div id="MMMenuContainer1118172115_3">
    <div id="MMMenu1118172115_3" onmouseout="MM_menuStartTimeout(0);"
    onmouseover="MM_menuResetTimeout();">
    <a href="investing_investing.php" id="MMMenu1118172115_3_Item_0"
    class="MMMIFVStyleMMMenu1118172115_3"
    onmouseover="MM_menuOverMenuItem('MMMenu1118172115 _3');">
    Investing </a>
    <a href="investing_insurance.php" id="MMMenu1118172115_3_Item_1"
    class="MMMIVStyleMMMenu1118172115_3"
    onmouseover="MM_menuOverMenuItem('MMMenu1118172115 _3');">
    Insurance </a>
    <a href="investing_hsa.php" id="MMMenu1118172115_3_Item_2"
    class="MMMIVStyleMMMenu1118172115_3"
    onmouseover="MM_menuOverMenuItem('MMMenu1118172115 _3');">
    Health&nbsp;Savings&nbsp;Account </a> </div>
    </div>

    figtreegroup Guest

  2. #2

    Default Re: Error message when trying to open PHP include?

    I think it's the content of the include that is causing your troubles. Somehow
    you created a menu using Fireworks(?) or Dreamweaver(?) and Contribute
    indicates javascripterrors, not php errors...
    Maybe its better, in this case, constructing a menu that contains only an
    unordered list (check out project7 menus, or stu nichols css site for more
    examples). Updating the menu will be simpeler and also with less chance of
    errors by users. You can open such a file without any troubles in Contribute.

    ThinkInk Guest

  3. #3

    Default Re: Error message when trying to open PHP include?

    Thanks ThinkInk, that's a good suggestion...I will try it using a simpler CSS
    menu and see what happens

    Incidentally, I discovered another interesting thing about this...I can get it
    to work the way it is if I get into Contribute through IE, in other words if I
    click the little button in IE that says "Edit in Contribute" I don't get this
    error. I'm able to get right in and make changes. I guess it's the browser
    built into Contribute that doesn't like the file.

    figtreegroup Guest

Similar Threads

  1. #25963 [Sus->Asn]: postgres error message include \n characters
    By sniper@php.net in forum PHP Development
    Replies: 0
    Last Post: November 18th, 03:46 AM
  2. #25963 [Opn->Sus]: postgres error message include \n characters
    By helly@php.net in forum PHP Development
    Replies: 0
    Last Post: October 25th, 12:48 PM
  3. #25963 [Fbk->Opn]: postgres error message include \n characters
    By edechaux at irci dot fr in forum PHP Development
    Replies: 0
    Last Post: October 24th, 01:36 PM
  4. #25963 [Opn->Fbk]: postgres error message include \n characters
    By helly@php.net in forum PHP Development
    Replies: 0
    Last Post: October 23rd, 06:02 PM
  5. #25963 [NEW]: postgres error message include \n characters
    By edechaux at irci dot fr in forum PHP Development
    Replies: 0
    Last Post: October 23rd, 09:50 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139