Forum

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

New Discussion

Error

Melda Melda   ( User )

Commented 3 years ago

Hi guys we fixed the issue regarding creating invoices.

Dirk Pieters   ( User )

Commented 3 years ago

Hello Melda, how is this fixed? Just upgraded to 2.1.19, but I still cannot create Invoices nor Estimates...

Scott Apthorp   ( User )

Commented 3 years ago

After thinking about it and tracing for way too long the solution is bad data in the data base, apparently the wizard needs fixed but here is a work around that resolves the issue for now. The logo company.logo is a non-existent record for the first company and following companies have an undefined record.

From a command line:
mysql -u [user] -p
use akauntingdb
delete from `0nz_settings` where `key` = "company._prefix";
delete from `0nz_settings` where `key` = "company.logo";
quit


Scott Apthorp   ( User )

Commented 3 years ago

By wizard I mean the add new company function on the Companies page reached via the Manage Companies drop down.

Scott Apthorp   ( User )

Commented 3 years ago

In /var/www/akaunting/resources/views/partials/form/file_group.blade.php it appears that the mime_type is undefined when you try to create the first invoice. I am trying to trace it back, any help would be greatly appreciated.

@php
$attachment = \Plank\Mediable\Media::find($value);

$attachments[] = [
'id' => $attachment->id,
'name' => $attachment->filename . '.' . $attachment->extension,
'path' => route('uploads.get', $attachment->id),
'type' => $attachment->mime_type,
'size' => $attachment->size,
'downloadPath' => false,
];
@endphp

Ameer Hussain Abdul   ( User )

Commented 3 years ago

Pls provide the fix

Scott Apthorp   ( User )

Commented 3 years ago

The short term fix was to clear the data records using the following:
From a command line:
mysql -u [user] -p
use akauntingdb
delete from `0nz_settings` where `key` = "company._prefix";
delete from `0nz_settings` where `key` = "company.logo";
quit

The long term fix is to update the code so that "undefined" is not used in those record fields

Fidel Kaldas   ( User )

Commented 3 years ago

Hello I suddenly got the error "500 Internal Server Error" on my account

Account user: [email protected]
https://app.akaunting.com/120021

Fidel Kaldas   ( User )

Commented 3 years ago

It seems the issue with only with the Dashboard tab, I cannot access the tab anymore

Reekjohns   ( User )

Commented 2 years ago

The error is too generic and does not tell you exact problem. What you need is to find out what is the real issue. If your site is serving a Internal Server Error, this can be caused by a number of things, such as:

Server permission
Server timeout
Script timeout
Errors in .htaccess files
Exceeded PHP memory limit.
Or some other Web Server Issues
Normally, a permissions issue on the file (or files) would be one cause of the 500 Internal Server Error. The simple solution is to run chmod 644 on the problem file(s) or chmod 755 on the directories.

$ sudo chmod -R 777 /"your files location"

The best way to debug the error depends upon the server and what’s actually running at the time. Consider some debugging tips to help diagnose and fix common causes of this problem.

http://net-informations.com/q/mis/500.html

Please login or register to leave a response.

Showing 11 to 20 of 23 discussions