Magento Forum

   
Modern Theme Error sidebar.phtml
 
mds
Jr. Member
 
Total Posts:  27
Joined:  2007-10-04
Raleigh, NC
 

Immediately after applying the modern theme I am receiving the following error on the front end, on any page that uses the sidebar:

Parse error: syntax error, unexpected T_ENDFOREACH in C:\wamp\www\magento\app\design\frontend\default\modern\template\checkout\cart\sidebar.phtml on line 61

And also this error on the checkout page:
C:\wamp\www\magento\app\design\frontend\default\modern\template\checkout\cart\crosssell.phtml on line 49

The strange thing: these errors happen on my local installation of Magento (WAMP2, PHP5.2.5), but NOT on my server copy (MediaTemple GS). 

Any suggestions?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Mageho
Sr. Member
 
Avatar
Total Posts:  291
Joined:  2008-03-24
France, Paris
 

Check if you have short_open_tag enabled in your php.ini

 
Magento Community Magento Community
Magento Community
Magento Community
 
mds
Jr. Member
 
Total Posts:  27
Joined:  2007-10-04
Raleigh, NC
 

Brilliant!  Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
smlaci
Sr. Member
 
Avatar
Total Posts:  122
Joined:  2008-04-15
Bacau
 

i also have a problem with the modern theme. the footer links, wishlist, cart, login, all link to a blank page. home page, categories and products links work fine. can anyone help?
thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
ya tech
Jr. Member
 
Total Posts:  3
Joined:  2008-01-17
 

i have same problem

where do i find the php.ini. what should be writen in this file

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top