Ecommerce add-on UNEXPECTED ERROR

Permalink 1 user found helpful
Hi

I am trying to install the ecommerce add-on for my website athttp://www.akhter.co.uk but run into the error message below when I click on any "ecommerce" page in the site map.

I installed everything in the PACKAGES folder but should I be installing this elsewhere as it is a customised website?
------------------------------------------------------
An unexpected error occurred.
File D:\inetpub\Akhter2012/themes/akhter_homepage/view.php not found. All themes need default.php and view.php files in them. Consult concrete5 documentation on how to create these files.
-----------------------------------------------------------

Also checkout / billing etc pages have been added to my submenu under Akhter Group is this meant to happen?

Any help greatly received


Regards

Steve

 
jero replied on at Permalink Reply
jero
You need to ensure that your theme has a file called view.php included with all the other templates. As a bare minimum, you will need a default.php and a view.php in every theme.

view.php should have the code:

<?php print $innerContent;?>


Typically you'd have this in the same place that you have the Main area in your other templates.

You might also want to include
Loader::element('system_errors',array('error'=>$error));

in view.php as well, otherwise any system pages that use view.php won't show any error messages.
blokeybloke replied on at Permalink Best Answer Reply
Resolved

Been so busy forgot to thank you on this matter, I saved a view.php page to the relevant area and it worked straightaway.

Thanks again

Steve