Fatal error on home page after activating theme

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart ThemeFatal error on home page after activating theme

This topic has been marked as not resolved.

Hello, I’m trying to install the theme, closely following the documentation, on a clean install of Open Cart v1.5.1.1. I’m getting this error:

Fatal error: Class ‘Browser’ not found in /home/alanapost/ecommerce.alanapost.net/catalog/view/theme/shoppica/template/common/footer.tpl on line 1

I’ve deleted and re-uploaded footer.tpl, re-downloaded the theme and tried again, etc multiple times and am still getting the error.

Could someone please assist me in moving past this issue? Thank you!

August 12, 2011 at 9:01 pm #498

Hi alanapost,

did you modify the index.php file according to the documentation ?

Does it include these two lines around line 216 (at the end of the file):

// Shoppica
$controller->addPreAction(new Action('module/shoppica/init'));

Also, be sure you are uploading the right directory of Shoppica – OpenCart_v.1.5.x

August 14, 2011 at 11:57 am #548

Hi, I’m wondering if I’m misreading the documentation.

Should every file in your FILES_TO_UPLOAD directory replace Open Cart’s files? Right now I have a clean installation, and then (I use Transmit on Mac) I am simply uploading all of the Shoppica files for my version of Open Cart directly. It asks me if I’d like to skip existing files or replace them, and I choose ‘Replace’. It then replaces all the pre-existing Open Cart files with Shoppica files.

But then, in the documentation where it says “If your opencart version is 1.5.x you need to replace these files:

/index.php
/image/no_image.jpg
/catalog/controller/module/manufacturer.php (for 1.5.0.5 only)
/system/library/currency.php
/system/enginge/controller.php”

I don’t understand why these files are not already being replaced when I uploaded the FILES_TO_UPLOAD directory on top of my Open Cart installation.

September 12, 2011 at 11:32 pm #1682

Right now I have a clean installation, and then (I use Transmit on Mac) I am simply uploading all of the Shoppica files for my version of Open Cart directly. It asks me if I’d like to skip existing files or replace them, and I choose ‘Replace’. It then replaces all the pre-existing Open Cart files with Shoppica files.

This is exactly what you are supposed to do. The sentence “If your opencart version is 1.5.x you need to replace these files:” is there to explain which files exactly are being replaced when you upload FILES_TO_UPLOAD. Some people find this information useful because these are core opencart files.

September 15, 2011 at 10:32 am #1729
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.