Fix index.php Problem

If you are reading this page, more likely OpenCart Lightning had problems modifying your index.php file.

 How to make it manually?

1. Open the root index.php file of your installation

2. Add this line after install block:

if (file_exists(DIR_SYSTEM.'lightning/gamma.php')) require(DIR_SYSTEM.'lightning/gamma.php'); //Lightning

Here is the result screenshot:

index.php modification sample

15 Responses

  1. Anastasia says:

    in journal 2 I have the index.php error :/ followed your instructions but still the same msg

    any ideas?

  2. Sonja Lekahena says:

    Same problem as Anastasia with Journal 2 and opencart 2.2

  3. i m using [MultiMerch] Digital Marketplace 7.7.4 opencart and journal theme 2.7.3 and vqmod 2.6.0 problem is that i install lighting demo 2.0.3 beta after that when i login seller account description box is disabled , so that seller not post any product on website
    i m interest to buy but resolved my problem

    • MaxD MaxD says:

      You need to find out session variable name that holds seller is logged in info, and write it at “Do not use cache when this SESSION/COOKIE elements are present:” box.

  4. itechsol says:

    i m interest to buy but resolved my problem please reply asap.

  5. Brad says:

    Im using my shop theme with opencart and vqmod installed. after installing opencart lightning, the whole website is broken and its showing error files not found. I already submitted my ftp details

  6. Mills Tag says:

    After installing extension my store is broken,opencart 2.30

  7. Sergey says:

    Click to fix Lightning index.php problem

Leave a Reply

Your email address will not be published.