Here is my log link http://hastebin.com/jubazifujo.coffee
When I try to save my invoice the wheel is just rotating thats it
Sadly the app didn’t logged any errors. Could you please check your web server error logs?
Ok Sir I will See it
there are no errors in web server
This is the screen shot of the page with error
Could you please open the console of your browser (search Google on how to do so) and post the output here.
Did you followed the instructions from the wiki and changed the log threshold?
this is what console says
POST http://billing.thedreamlight.in/invoices/ajax/save 500 (Internal Server Error)send @ jquery-1.12.0.min.js:4n.extend.ajax @ jquery-1.12.0.min.js:4n.(anonymous function) @ jquery-1.12.0.min.js:4(anonymous function) @ 1:345n.event.dispatch @ jquery-1.12.0.min.js:3r.handle @ jquery-1.12.0.min.js:3
see the screenshot for exact console log
Are you really sure that the web server didn’t log any error? Because such error should always be logged. Did you tried this after you set the log threshold to 2 in the configuration file?
I don’t want to interfend a topic of somebody else but I have the same problem and also no error in the loggings
Same problem for me, with no error into log.
Just to let you know it’s probably a bug, I’m having the same problem (with also no error in the logfile) unfortunately… after upgrading to 1.4.5.
The line items/prices are stored, but not the subtotal, total, etc.
No error in webserver log
Hi,
it seams that the $db_array into this function is an object and not an array, so the function throw an error that is not reported.
may be the var passed is not correct.
File /application/modules/quotes/model/mdl_quote_items.php
public function save($id = NULL, $db_array = NULL)
{
$id = parent::save($id, $db_array);
$this->load->model('quotes/mdl_quote_item_amounts');
$this->mdl_quote_item_amounts->calculate($id);
$this->load->model('quotes/mdl_quote_amounts');
if (isset($db_array['quote_id'])){
$this->mdl_quote_amounts->calculate($db_array['quote_id']);
}
return $id;
}
Hi,
got the solution, should be the same for the invoice
File /application/modules/quotes/model/mdl_quote_items.php
public function save($id = NULL, $db_array = NULL)
{
$id = parent::save($id, $db_array);
$this->load->model('quotes/mdl_quote_item_amounts');
$this->mdl_quote_item_amounts->calculate($id);
$this->load->model('quotes/mdl_quote_amounts');
if (isset($db_array->quote_id)){
$this->mdl_quote_amounts->calculate($db_array->quote_id);
}
return $id;
}
Thanks, I fixed this and updated the download package for 1.4.5
@Rakshith_Vikramraj @patrickvanelk @Remko_Jansen Please download the package from the website and replace the 'application/modules'
folder. The app should work after that.
Thanks to you for your good job!!
Thanks a lot for the quick response!
The App Started Working. thanks for superfast response
This topic was automatically closed 19 hours after the last reply. New replies are no longer allowed.