Fatal error on changing index.php

ThemeBurn SupportForumsOpenCart ThemesShoppica 2 OpenCart ThemeFatal error on changing index.php

This topic has been marked as not resolved.

Hello team
I’m experiencing an issue during the installation of Shopping 2 for Opencart 1.5.6.1

I Followed the instructions, but after replacing index.php on my root I get this error message:
Fatal error: Class ‘Play’ not found in myroot/index.php on line 218

I tried more than once, I even re-installed opencart on my domain.
I’ve tried the manual index.php modification too but it still appears the above error.

If I dont modify the index.php file I get a warning message stating the shoppica theme is not completed and to proceed with index.php file modification.

Please help.
I didnt find the same issue in the forum.

January 24, 2014 at 12:32 pm #30095

Hi,

Do you have any extra extension that requires the modification of index.php? Maybe this is your case?

We will need the website url, admin and ftp access, so we can check.

You can use hidepost to share private information with the support staff.

Best,
ThemeBurn team

January 28, 2014 at 10:56 am #30157

I also have this problem

January 29, 2014 at 7:26 pm #30191

hi tb support,
sorry for the late reply, I’m traveling for business.

No, I dont have any extensions in the opencart 1.5.6.1 : it’s been just installed and then I’ve tried to add the Shoppica 2 theme (the installation procedure has been done through automatic software provided by my hosting).

Anyway I used the 1.5.6 opencart version and it worked perfectly: but… what if I upgrade opencart?
Will Shoppica2 theme be working?

what can be the main reason of these “fatal error”?

thanks

January 29, 2014 at 9:12 pm #30199

Same problem here in a new installation without any other extension.

 lso525
January 30, 2014 at 10:56 pm #30216

Don’t replace original index.php with shoppica index.php

Do this change manually.

Open index.php

Find the following two lines (line 222)

// Front Controller
$controller = new Front($registry);

Insert these two lines immediately* after them:

// TB
$controller->dispatch(new Action(‘common/tb’, array(‘front’ => $controller)), new Action(‘error/not_found’));

You can use attached.

Now it’s working!!!!

  • This reply was modified 3727 days ago by  theos17.
February 3, 2014 at 9:54 pm #30250

Hi,

you can check this topic.

Sorry for the inconvenience.

Regards,
ThemeBurn team

February 4, 2014 at 10:04 am #30271
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.