ecsMike
Posts: 40
|
| Posted: 02/09/2010, 7:08 AM |
|
I wrote a complex application in CodeCharge 4.2 that works perfectly. I need another application that works similarly and copied the form to another application. i changed the database that the form uses and made all of the necessary changes to form fields, validation code, etc. However when i try to run the application i get a blank white screen with no php errors displayed. I have display_errors = On in my php.ini file.
I have spent almost 2 days trying to find the error that is causing this but it is nearly impossible with absolutely nothing displayed by the application.
Does anyone know a way to troubleshoot a problem like this to narrow down where the error is occurring.
Thanks . . . Mike
|
 |
 |
ckroon
Posts: 869
|
| Posted: 02/09/2010, 9:26 AM |
|
Does it have a header/includable page that you forgot to publish?
_________________
Walter Kempees...you are dearly missed. |
 |
 |
ecsMike
Posts: 40
|
| Posted: 02/10/2010, 5:30 AM |
|
Walter:
Thanks for the reply - but no I did have all pages published.
I finally found the errors and more importantly a way to get them displayed when using IIS on the local server.
If you place:
ini_set('error_reporting', 6135);
ini_set('html_errors', 1);
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
at the very top of the [form name].php file (just after <?php), any errors encountered will be displayed in the browser.
Mike
|
 |
 |
damian
Posts: 838
|
| Posted: 02/11/2010, 1:59 PM |
|
you should change the topic to [TIP] now - this may be useful for others...
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |
ecsMike
Posts: 40
|
| Posted: 02/12/2010, 5:40 AM |
|
Please tell me how to change the topic to [Tip] and I will do so immediately.
Thanks . . . Mike
|
 |
 |
ckroon
Posts: 869
|
| Posted: 02/12/2010, 8:27 AM |
|
You should see an edit button on your initial post.
_________________
Walter Kempees...you are dearly missed. |
 |
 |
ecsMike
Posts: 40
|
| Posted: 02/12/2010, 9:56 AM |
|
Yes - there is an edit button but there is nothing there to move the post to a different forum. I am still confused about how to go about this.
Mike
|
 |
 |
ckroon
Posts: 869
|
| Posted: 02/12/2010, 1:17 PM |
|
Click Edit, then edit the Title to say (TIP) at the end of it.
An admin MAY move it to the Tips/Hints folder later.
_________________
Walter Kempees...you are dearly missed. |
 |
 |
ecsMike
Posts: 40
|
| Posted: 02/13/2010, 5:42 AM |
|
ckroon:
Thank you. I have followed your suggestion.
Mike
|
 |
 |