Gives Error In Posting Journal Entry
It fails to post Journal Entry...gives and error msg that account table is empty....
This is a Simple PHP entitled Accounting Journal Management System with Trial balance. This is a web-based application project that helps a certain company to store their transaction records for easy retrieval. The application generates a working trial balance and trial balance reports. It is easy to use with a simple and pleasant user interface using the Bootstrap Framework and AdminLTE template.
I developed this project using the following:
The Accounting Journal Management System with Trial balance Project is accessible only for the company's accounting staff. The System users have 2 different roles which are the Administrators and Staff. The Administrator users have the privilege to access and manage all the features and functionalities of this project while the Staff have only limited access. The system requires the users to enter their system credentials in order to access the data, features, and functionalities. This has a feature that generates a date-wise Working Trial Balance and Trial Balance Report. The Admin users can dynamically manage the list of Accounts and Account Groups (debit/credit). In the journal entry list, staff users can only manage the entries that they have encoded only.
Requirements
Installation/Setup
Username: admin
Password: admin123
That's it. You can now explore the features and functionalities of this Accounting Journal Management System with Trial balance in PHP. I hope this project will help you with what you are looking for and you'll find something useful for your future projects.
Explore more on this website for more Free Source Codes and Tutorials.
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
It fails to post Journal Entry...gives and error msg that account table is empty....
Hi, maybe you are referring to the warning prompt. Account Table in journal form must be filled and, debit and credit must be equal too in order to save the entry successfully. Thanks. If I got it wrong, feel free to leave a comment.
thanks for your kind reply. yes i got it now...one entry had to be debited and other had to be credited to be equal. But now when i make it online on live server Journal Entry Modal isnt working properly and failing to load drop down list of Account....it only loads account groups....its working fine on xampp server....my live server has PHP 8.0 installed...is it due to php version difference?
You're Welcome. I could be but I have developed the project locally using XAMPP v3.2 which has a PHP version 8.2. You can check the possible errors using the DevTools of your browser so we could get detailed information about the error that occurred. Also, make sure to configure the base URL constant in the initialize.php.
thanks for your kind reply again.....i have checked the DevTool....here is there error
Uncaught SyntaxError: Unexpected end of JSON input
at Function.parse [as parseJSON] (<anonymous>)
at <anonymous>:2:21
at b (jquery.min.js:2:839)
at Pe (jquery.min.js:2:48536)
at S.fn.init.append (jquery.min.js:2:49887)
at S.fn.init.<anonymous> (jquery.min.js:2:50979)
at $ (jquery.min.js:2:32392)
at S.fn.init.html (jquery.min.js:2:50657)
at Object.success (www.k-websol.com/:562:49)
at c (jquery.min.js:2:28294)
Every form submission in the project are sent using Ajax Request. So in your DevTools under the network tab. Check the last request with the URL something like "http://localhost/ajms/classes/Master.php?f=save_journal". Then, click the said URL, DevTools will show you some details about the sent Request. You will see a Response and Preview tab their then you can select either of the 2 tabs. There you can check the detailed information about the error that occurred.
this is what i get in response tab
A page or script is accessing at least one of navigator.userAgent
, navigator.appVersion
, and navigator.platform
. Starting in Chrome 101, the amount of information available in the User Agent string will be reduced.
To fix this issue, replace the usage of navigator.userAgent
, navigator.appVersion
, and navigator.platform
with feature detection, progressive enhancement, or migrate to navigator.userAgentData
.
Note that for performance reasons, only the first access to one of the properties is shown.
You are hosting the app online, right? Send me the URL @ [email protected] so I could check it.
i had sent u email 2 days ago...but didnt get any response from you....
and plz also let me know how do i make base url constant....
currently am using define('base_url','/ajms');
only live server shud i user define('base_url','http://www.domainname.com/ajms/'); ???
Yes you should use this, define('base_url','http://www.domainname.com/ajms/')
this part done already...was just confirming if i was having right base url...