php error on joomla site -
we have 2 instances running of joomla hosted site. 1 on test server while other 1 on live server.
we getting 1 issue on test server, site displaying correctly not on live server.
we zeroed on 1 particular line in page source view, here difference of 1 function both test live server
test server
<script language="javascript"> $(document).ready( function (){ $(".pikame403").pikachoose(); }); </script>
live server
<script language="javascript"> $(document).ready( function (){ $(".pikame<?=$list['id']?>").pikachoose(); }); </script>
to me looks on live server, php not concatinating id. hints/suggestions welcome. nice if indicate addins store code.
not servers allow utilize short tags <?=
echoing. on test server short tags switched on, on production -- switched off, don't work.
you can solve problem in 2 ways:
switch on short tags on production server.
do not utilize short tags (which recommend). alter code <?=$list['id']?>
<?php echo $list['id']; ?>
.
php joomla pikachoose
No comments:
Post a Comment