Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2009
    Posts
    368
    Plugin Contributions
    0

    Default My Custom Menu not displyed on PHP 5.3

    New problem today with pfp 5.3 .

    <div class="dt xxx">
    <div class="dr"><!--menu-->
    <div class="dc"><a href="<?=zen_href_link(FILENAME_DEFAULT)?>"><?=zen_image(DIR_WS_TEMPLATE.'button s/'.$_SESSION['language'].'/menu/primapagina.gif')?></a><a href="<?=zen_href_link(FILENAME_PRODUCTS_NEW)?>"><?=zen_image(DIR_WS_TEMPLATE.'b uttons/'.$_SESSION['language'].'/menu/produsenoi.gif')?></a><a href="index.php?main_page=products_all"><?=zen_image(DIR_WS_TEMPLATE.'buttons/'.$_SESSION['language'].'/menu/toateprodusele.gif')?></a><a href="<?=zen_href_link(FILENAME_SPECIALS)?>"><?=zen_image(DIR_WS_TEMPLATE.'butto ns/'.$_SESSION['language'].'/menu/special.gif')?></a><a href="<?=zen_href_link(FILENAME_REVIEWS)?>"><?=zen_image(DIR_WS_TEMPLATE.'button s/'.$_SESSION['language'].'/menu/review.gif')?></a><a href="<?=zen_href_link(FILENAME_CONTACT_US)?>"><?=zen_image(DIR_WS_TEMPLATE.'but tons/'.$_SESSION['language'].'/menu/contact.gif')?></a><a href="<?=zen_href_link(FILENAME_GV_FAQ)?>"><?=zen_image(DIR_WS_TEMPLATE.'buttons/'.$_SESSION['language'].'/menu/altceva.gif')?></a></div>
    </div>
    </div>

    always worked and still working on live environment . With php 5.3 menu is invisible ....
    Ideas ?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: My Custom Menu not displyed on PHP 5.3

    That's probably because you're using the sloppy "short tags" method of denoting PHP code, which is by default not supported by PHP 5.3 and higher.

    All references to:
    Code:
    <?=
    should be replaced with:
    Code:
    <?php echo

    Also, all references to just "<?" should be changed to "<?php"
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Aug 2009
    Posts
    368
    Plugin Contributions
    0

    Default Re: My Custom Menu not displyed on PHP 5.3

    I lov u Dr. Byte ... !!!!!!!!!!!!! so happy , it works !

 

 

Similar Threads

  1. Replies: 1
    Last Post: 8 Feb 2011, 02:07 AM
  2. Checkboxes for each of the displyed order row
    By manoj in forum Managing Customers and Orders
    Replies: 1
    Last Post: 18 Jun 2010, 02:10 AM
  3. Custom menu , Java + Css? not flash, looks amazing
    By edwardtilbury in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 10 Apr 2009, 09:25 PM
  4. Custom menu with PHP variables
    By andben in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 Jan 2009, 02:17 PM
  5. header.php and meta_tags.php do not seem to be drawing from my custom folder
    By cynthia_haide in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 11 Oct 2007, 07:21 PM

Posting Permissions

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