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

My Custom Menu not displyed on PHP 5.3

Locked

Views: 633

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,513
Plugin Contributions:
177

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"
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 !