Forum

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

New Discussion

Unable to init from given url (...) ???

Kemal   ( User )

Commented 4 years ago

Hi. Akaunting gives an error from "Bills screen ( https://xxx.xxx/sales/invoices/1 ) "
LOG.error: Unable to init from given url (https://xxx.xxx/public/img/company.png). {"userId":1,"exception":{}}

(1/1) NotReadableException
Unable to init from given url (https://xxx.xxx/public/img/company.png).

in AbstractDecoder.php line 84
at AbstractDecoder->initFromUrl('https://xxx.xxx/public/img/company.png')
in AbstractDecoder.php line 330
at AbstractDecoder->init('https://xxx.xxx/public/img/company.png')
in AbstractDriver.php line 66
at AbstractDriver->init('https://xxx.xxx/public/img/company.png')
in ImageManager.php line 54
at ImageManager->make('https://xxx.xxx/public/img/company.png')
in Facade.php line 261
at Facade::__callStatic('make', array('https://xxx.xxx/public/img/company.png'))
in Logo.php line 37
... ... ...
..
..
..
continues...

how do i solve?

Denis Dulici   ( Admin )

Commented 4 years ago

Hello,

You can apply this change.

Regards

Kemal   ( User )

Commented 4 years ago

https://xxx.xxx/public/img/company.png is working in the browser, but
error continues this Bills screens!

Vishal   ( User )

Commented 4 years ago

Hi Denis which changes need to apply I also face same issue. Also image upload not working whole website can you please suggest some solution

Kemal   ( User )

Commented 4 years ago

I think I solved the problem.

"allow_url_fopen" script should be opened. A script that creates a security issue. I had to delete akaunting from my rental server. I installed it on localhost again :(


As an alternative to the "allow_url_fopen" script, "Curl" should be used. I guess it's not possible right now!

Please login or register to leave a response.

Showing 1 to 5 of 5 discussions