InvoicePlane 1.5.1 instalation Error

Dear kovah
I try to install 1.5.1 on localhost (apache 2 php 5.6 full extension) but i get error on first page:
how can i solve this ??

A PHP Error was encountered

Severity: Notice

Message: Undefined property: CI::$mdl_settings

Filename: helpers/trans_helper.php

Line Number: 82

Backtrace:

File: /var/www/html/bill/application/helpers/trans_helper.php
Line: 82
Function: _error_handler

File: /var/www/html/bill/application/helpers/trans_helper.php
Line: 31
Function: reset_language

File: /var/www/html/bill/application/modules/setup/controllers/Setup.php
Line: 268
Function: trans

File: /var/www/html/bill/application/modules/setup/controllers/Setup.php
Line: 212
Function: check_database

File: /var/www/html/bill/index.php
Line: 334
Function: require_once

This will be fixed in version 1.5.1.

Did you try using the default language?

ِyes brother
i didnt change language (default English) .just before it notify to me about Timezone , just add timezone in php.ini and restart and get that error.
B R

Hey Saeed and Kovah,
I also had this problem with the InvoicePlane 1.5.1 setup.
@Kovah Turns out the patch hasn’t been totally effective.

To fix;
Manually edit /var/www/html/InvoicePlane/ipconfig.php and add database values yourself.
eg;

These database settings are set during the initial setup

DB_HOSTNAME=localhost
DB_USERNAME=invoiceplaneuser
DB_PASSWORD=invoice123
DB_DATABASE=invoiceplane
DB_PORT=3306

This well than allow setup to proceed.
The problem was setup was trying to do a database call before the database was setup.

Hope this helps.

Jordan

2 Likes

@wicca_bee thanks for that solution, man! Would you like to join the slack channels to help with development?