Forum

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

New Discussion

Erro view invoices with attachment file.

Geraldo Antonio Kuster Junior   ( User )

Commented 4 years ago

I recently install version 2.0.20 work perfectly, but the invoices with attachment file present a internal server erro.

In debug screen i see this:

Call to undefined function rotue() (View: /home1/cloudnat/public_html/crm/resources/views/partials/media/file.blade.php) (View: /home1/cloudnat/public_html/crm/resources/views/partials/media/file.blade.php)
/home1/cloudnat/public_html/crm/storage/framework/views/8a44e4bcdaf2a9c1fbb12c0858d064a721045c22.php#40

My hosting is a hostgator, using php7.3 but i tried php7.2

Thanks all for any help

Jack Bryant   ( User )

Commented 4 years ago

Hi Geraldo,

I had the same error. For me, I was able to resolve the issue by editing file_blade.php and replacing the work "rotue" with "route". I am assuming a typo from one of the devs but this worked for me.

Cheers,
Jack.

Jack Bryant   ( User )

Commented 4 years ago

*work was supposed to be word in my response above.

Jack Bryant   ( User )

Commented 4 years ago

Sorry - really should have checked my response before submitting. The issue, as you noted, is in "file.blade.php".

Geraldo Antonio Kuster Junior   ( User )

Commented 4 years ago

Thanks all, i don't see in my log file the name "rotue", after correct this in the view files the invoices show ok

Geraldo Antonio Kuster Junior   ( User )

Commented 4 years ago

I thought that the problem with attachments not being available to the client was fixed in that version.

Any sugestion for resolve this problem?

Please login or register to leave a response.

Showing 1 to 6 of 6 discussions