PHP doesn't show any errors


UserIsCorrupt

I know this question has been asked many times in the past, but none of the solutions worked for me.

Here is my PHP code:

<?php
  function
?>

This should generate an error. However, it just returns a 500 error and doesn't load.

I tried the less severe error generating code like this:

<?php
  $test = $example;
?>

Calling an undefined variable produces an error on another computer.

In mine php.ini, I have display_errors = On, display_startup_errors = Onand error_reporting = E_ALL.

EDIT Thanks to aspiringCodingArtisan's suggestion, I realized I was editing the wrong php.inifile. The problem is solved.

improve the encoder

Are you looking at the correct php.inifile? If you have something like MAMP, you will find it has multiple PHP versions.

Related


Python asyncio doesn't show any errors

superman I am trying to get some data from thousands of URLs by using asyncio. Here is a brief overview of the design: QueuePopulate a bunch of URLs at once with one URLProducer generate a bunchConsumers Each Consumerkeeps fetching urls from Queueand sending G

Python asyncio doesn't show any errors

superman I am trying to get some data from thousands of URLs by using asyncio. Here is a brief overview of the design: QueuePopulate a bunch of URLs at once with one URLProducer generate a bunchConsumers Each Consumerkeeps fetching urls from Queueand sending G

Python asyncio doesn't show any errors

superman I am trying to get some data from thousands of URLs by using asyncio. Here is a brief overview of the design: QueuePopulate a bunch of URLs at once with one URLProducer generate a bunchConsumers Each Consumerkeeps fetching urls from Queueand sending G

Python asyncio doesn't show any errors

superman I am trying to get some data from thousands of URLs by using asyncio. Here is a brief overview of the design: QueuePopulate a bunch of URLs at once with one URLProducer generate a bunchConsumers Each Consumerkeeps fetching urls from Queueand sending G

PHP Mailer doesn't show any errors but doesn't send emails

learn animation I'm helping create a booking form, but have decided to send the mail through the domain instead of the server. This is mainly to improve security and reduce restrictions on responses and data transfer. I've been working hard the past few days a

PHP Mailer doesn't show any errors but doesn't send emails

learn animation I'm helping create a booking form, but have decided to send the mail through the domain instead of the server. This is mainly to improve security and reduce restrictions on responses and data transfer. I've been working hard the past few days a

Electron window doesn't open but doesn't show any errors

Jeff Context: I 've seen this question, but it doesn't solve my problem. When I try to run my electron app, I don't get any errors and it seems to compile, but the electron window doesn't pop up. Reply: Date: 2019-05-08T03:02:22.036Z Hash: 3303fd48d099a538493f

ionic cordova doesn't build but doesn't show any errors

Tristan I just made a "new" ionic app, but I can't get Cordova to build the APK. I put the new quotes because I created a new project and copied over from the previous project's src. Something went horribly wrong with the dependencies of the plugin installed o

Ajax doesn't work. it doesn't show any errors

Ati I am using Ajax in my application. Previously it worked fine and checked many times. Not working now. I didn't change anything in this code. I checked the URL path and also checked the Jquery click event. It doesn't show any errors in the console log. $(".

Electron window doesn't open but doesn't show any errors

Jeff Context: I 've seen this question, but it doesn't solve my problem. When I try to run my electron app, I don't get any errors and it seems to compile, but the electron window doesn't pop up. Reply: Date: 2019-05-08T03:02:22.036Z Hash: 3303fd48d099a538493f

Electron window doesn't open but doesn't show any errors

Jeff Context: I 've seen this question, but it doesn't solve my problem. When I try to run my electron app, I don't get any errors and it seems to compile, but the electron window doesn't pop up. Reply: Date: 2019-05-08T03:02:22.036Z Hash: 3303fd48d099a538493f

ionic cordova doesn't build but doesn't show any errors

Tristan I just made a "new" ionic app, but I can't get Cordova to build the APK. I put the new quotes because I created a new project and copied over from the previous project's src. Something went horribly wrong with the dependencies of the plugin installed o

PHP doesn't show errors on MAMP

Arthur Guiot I'm using basic MAMP on my mac, PHP shows no errors, I've changed the configuration of PHP and Apache, but still can anyone help me? Simon First, make sure you are editing the correct file. MAMP usually creates several php.ini files. Call phpinfo(

MSBuild won't deploy and doesn't show any errors

Mohammad Rostami Sehqli I am trying to publish my project using MSBuild. This is an order: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe" D:\HamrahFarda\KhandeShow\KhandeShow.sln /t:UserService /p:DeployOnBuild=tru

MSBuild won't deploy and doesn't show any errors

Mohammad Rostami Sehqli I am trying to publish my project using MSBuild. This is an order: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe" D:\HamrahFarda\KhandeShow\KhandeShow.sln /t:UserService /p:DeployOnBuild=tru

MSBuild won't deploy and doesn't show any errors

Mohammad Rostami Sehqli I am trying to publish my project using MSBuild. This is an order: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe" D:\HamrahFarda\KhandeShow\KhandeShow.sln /t:UserService /p:DeployOnBuild=tru

MSBuild won't deploy and doesn't show any errors

Mohammad Rostami Sehqli I am trying to publish my project using MSBuild. This is an order: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe" D:\HamrahFarda\KhandeShow\KhandeShow.sln /t:UserService /p:DeployOnBuild=tru

PHP doesn't show any MySQL data

shuwo shuwo association nt.php?no= nt.php <?php // Connect to MySQL $link = mysql_connect( 'localhost', '********', '*****' ); if ( !$link ) { die( 'Could not connect: ' . mysql_error() ); } // Select the data base $db = mysql_select_db( '***

PHP doesn't show any MySQL data

shuwo shuwo association nt.php?no= nt.php <?php // Connect to MySQL $link = mysql_connect( 'localhost', '********', '*****' ); if ( !$link ) { die( 'Could not connect: ' . mysql_error() ); } // Select the data base $db = mysql_select_db( '***

PHP doesn't show any MySQL data

shuwo shuwo association nt.php?no= nt.php <?php // Connect to MySQL $link = mysql_connect( 'localhost', '********', '*****' ); if ( !$link ) { die( 'Could not connect: ' . mysql_error() ); } // Select the data base $db = mysql_select_db( '***