Problem with displaying PHP errors
Posted by: allan (---.65.219.172.cable.starman.ee)
Date: November 29, 2008 08:08PM

If theres an error in my PHP code then wampserver 2 displays me a blank page and no errors. It used to show errors at the beginning of useing it but I think I have changed some of the settings and then that problem began. I have tried to reinstall in but that doesnt make a difference.

How can I make it normal again?

Options: ReplyQuote
Re: Problem with displaying PHP errors
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: November 29, 2008 08:57PM

there is a difference between warning and errors. warning are turned off in wamp and errors are on. so its mostly likely ur code is not breaking any rules but it not doing wat u expect it to do. post it up if u want it checked

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Problem with displaying PHP errors
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: November 29, 2008 08:57PM

there is a difference between warning and errors. warning are turned off in wamp and errors are on. so its mostly likely ur code is not breaking any rules but it not doing wat u expect it to do. post it up if u want it checked

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Problem with displaying PHP errors
Posted by: allan (---.65.219.172.cable.starman.ee)
Date: November 29, 2008 10:09PM

I didnt understand this sentence: post it up if u want it checked?

I know that my code has to have some errors and I have wrote into the file error_repoting(E_ALL) but server doesnt show anything but a blank page.

Options: ReplyQuote
Re: Problem with displaying PHP errors
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: November 29, 2008 10:14PM

maybe there is no warning or errors in ur code? but its still not right.. post up ur code and explain what it should do

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Problem with displaying PHP errors
Posted by: allan (---.65.219.172.cable.starman.ee)
Date: November 29, 2008 10:22PM

<?php
error_reporting(E_ALL);
echo 'hi'
echo 'bye'
?>


There mus be error on the line 4, unexpected echo expected ; or something but I have only a blank page.

Options: ReplyQuote
Re: Problem with displaying PHP errors
Posted by: allan (---.65.219.172.cable.starman.ee)
Date: November 29, 2008 10:28PM

Now theres a new problem. I uninstalled and reinstalled wampserver 2.0c and now my phpMyAdmin cant load mysql exention but when I checked the PHP extentions then there where marked both mysql and mysqli extentions.

Options: ReplyQuote
Re: Problem with displaying PHP errors
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: November 29, 2008 10:29PM

yes this shouw throw errors.
maybe php isnt running at all. wat colour is the wamp icon

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Problem with displaying PHP errors
Posted by: allan (---.65.219.172.cable.starman.ee)
Date: November 29, 2008 10:31PM

White and has some black thing in the middle of it what i didnt have before reinstalling wampserver.

Options: ReplyQuote


Sorry, only registered users may post in this forum.