Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

could not install new downloaded akaunting

Kamal   ( User )

Commented 3 years ago

Hello,
I downloaded the new akaunting software and unzip it on localhost of xampp, and run on browser but could not set it up. After selecting the language and entering db and user name, got errors like below.

(1/1) ErrorException
Trying to access array offset on value of type int

in ArrayInput.php line 135
at HandleExceptions->handleError(8, 'Trying to access array offset on value of type int', 'D:\\xamp\\htdocs\\all-accounting-soft\\accounting-newone\\vendor\\symfony\\console\\Input\\ArrayInput.php', 135, array('value' => 'migrate', 'key' => 0))
in ArrayInput.php line 135 ...
...


Thanks

Juliowilly   ( User )

Commented 3 years ago

Hello,
I have the same issue. Do you find a solution?

Kamal   ( User )

Commented 3 years ago

No. I could not install at all. I am waiting from akaunting development team to look at this issue.

Josephat Autagavaia   ( User )

Commented 3 years ago

im having the same issue here...anyone has a solution?'

Suhartanto   ( User )

Commented 3 years ago

open this file :
akaunting/vendor/symfony/console/Input/ArrayInput.php

Go to line 135, then change from :

} elseif ('-' === $key[0]) {

to :

} elseif (isset($key[0]) && '-' === $key[0]) {

save your file, then refresh the installation page

Kamal   ( User )

Commented 3 years ago

@Suhartanto, after changing that It was able setup and install but this is very old version. I when upgrading to 2.1.19 from 1.3.17. It didn't succeed.

(2/2) ErrorException
Trying to get property 'data' of non-object (View: C:\xampp\htdocs\all-accounting-soft\accounting-fresh\resources\views\install\updates\index.blade.php)

in 8d183229442b8f859e2d4d52c43c9a7ff8064e9e.php line 52

Suhartanto   ( User )

Commented 3 years ago

@Kamal
if you want to install version 2.1.19, just download it from github (https://github.com/akaunting/akaunting). it will install with no error

Kamal   ( User )

Commented 3 years ago

@Suhartanto
Thank you for your help.

Suhartanto   ( User )

Commented 3 years ago

@Kamal
you're welcome

Juliowilly   ( User )

Commented 3 years ago

@Suhartanto
Thank you.

Please login or register to leave a response.

Showing 1 to 10 of 10 discussions