| C | cgphp 10/24/2011 | 
| Probably you are using popup for add/edit pages. Enable firebug and check the response from the server in the Net tab. | |
| P | procheck 10/24/2011 | 
| I highly recommend Code Lobster for PHP debugging. You can step through your code and there is no need for echoing output. | |
| N | notuo author 10/24/2011 | 
| Probably you are using popup for add/edit pages. Enable firebug and check the response from the server in the Net tab. 
 I highly recommend Code Lobster for PHP debugging. You can step through your code and there is no need for echoing output. It's free for basic php debugging and they have a small charge for add-ons like Drupal. 
 | |
| N | notuo author 10/25/2011 | 
| I highly recommend Code Lobster for PHP debugging. You can step through your code and there is no need for echoing output. It's free for basic php debugging and they have a small charge for add-ons like Drupal. 
 | |
| C | cgphp 10/25/2011 | 
| Please, post the error you get in firebug and post also the code of the "After record updated" event. | |
| P | procheck 10/25/2011 | 
| For Code Lobster: | |
| N | notuo author 10/25/2011 | 
| Please, post the error you get in firebug and post also the code of the "After record updated" event. 
 For Code Lobster: You need to have Apache running. Contact their support. They will help get you going. 
 | |
| C | cgphp 10/25/2011 | 
| Expand the link (POST facturasemitidas_add.php?error....) in firebug to see the server response. | |
| N | notuo author 10/25/2011 | 
| Cristian, I cannot do that. The screen refresh within seconds and I don't have the chance to do anything.  $strSQLExists = "SELECT * FROM casos WHERE factura='" . $values["facturaID"] . "'"; | |
| C | cgphp 10/25/2011 | 
| If factura is an integer remove from the query the single quotes: global $conn;
 | |
| N | notuo author 10/25/2011 | 
| If factura is an integer remove from the query the single quotes: global $conn;
 
 | |
| P | procheck 10/25/2011 | 
| It should be: "SELECT * FROM casos WHERE factura='".$values["facturaID"] ."'"; | |
| C | cgphp 10/26/2011 | 
| It should be: "SELECT * FROM casos WHERE factura='".$values["facturaID"] ."'"; It is hard to read. Single quote then double quote. It finishes with double, single quote, then double. 
 $strSQLExists = "SELECT * FROM casos WHERE factura=". $values["facturaID"]; | |
| N | notuo author 10/26/2011 | 
| For Code Lobster, I use these settings. Your PHP code must be located in a folder under htdocs. To run it, Debug\Debug URL. In the URL Dialog it should be http://localhost/'>http://localhost/ . (In my case it is http://localhost:8080/ because that's how I set it up at the time) Virtual Folder: C:\Apache2.2\htdocs Virtual Host URL: http://localhost/'>http://localhost/ Path to php.ini: C:\PHP PHP Version: PHP_5.3.x_VC9_Thread_Safe Port 6000 Web Server is blank 
 Single quotes are for text fields. Factura is an integer. The correct query is the following: $strSQLExists = "SELECT * FROM casos WHERE factura=". $values["facturaID"];
 | |
| P | procheck 10/26/2011 | 
| Sorry Cristian. I forgot about that. Some of numbered data I receive is in text format. | |