catfan / Medoo

The lightweight PHP database framework to accelerate the development.
https://medoo.in
MIT License
4.84k stars 1.15k forks source link

Debugging doesn't work properly #210

Closed ghost closed 8 years ago

ghost commented 9 years ago

I've tested this several times but I think something is wrong with Medoo. In my project I use Medoo through a controller project. I use Medoo in each page so I can update the 'stats' column in a table. After that I try saving some other stuff using Jquery AJAX again using Medoo. While trying to debug Medoo in the ajax php file, I get the first query which was used to select data for 'stats'. Log doesn't work too. Of course it didn't work when I was trying to dump it from ajax file. If you need to see the code, this is the repository. Stats updates in /templates/article.php and ajax file is /includes/save-data.php. Controller class is located in /includes/functions.php.

catfan commented 9 years ago

How do you debug for that?

Have you tried this? http://medoo.in/api/debug

ghost commented 9 years ago

Exactly like what's descripted