Forums / General Questions / My Custom Menu not displyed on PHP 5.3

My Custom Menu not displyed on PHP 5.3

Locked

Started by solo_400 on 5 Feb 2010, 10:01 PM · Views: 638

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
5 Feb 2010, 10:01 PM
#1
solo_400 avatar

solo_400

Zen Follower

Join Date:
Aug 2009
Posts:
369
Plugin Contributions:
0

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.'buttons/'.$_SESSION['language'].'/menu/primapagina.gif')?></a><a href="<?=zen_href_link(FILENAME_PRODUCTS_NEW)?>"><?=zen_image(DIR_WS_TEMPLATE.'buttons/'.$_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.'buttons/'.$_SESSION['language'].'/menu/special.gif')?></a><a href="<?=zen_href_link(FILENAME_REVIEWS)?>"><?=zen_image(DIR_WS_TEMPLATE.'buttons/'.$_SESSION['language'].'/menu/review.gif')?></a><a href="<?=zen_href_link(FILENAME_CONTACT_US)?>"><?=zen_image(DIR_WS_TEMPLATE.'buttons/'.$_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 ?

5 Feb 2010, 10:08 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

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: ```

<?= ``` should be replaced with: ``` <?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.

6 Feb 2010, 1:57 PM
#3
solo_400 avatar

solo_400

Zen Follower

Join Date:
Aug 2009
Posts:
369
Plugin Contributions:
0

Re: My Custom Menu not displyed on PHP 5.3

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