Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

no errors ever shown?

Featured Replies

Hello,

 

Im never getting error messages shown, for example if i dont close bracket it doesnt say error or what the error is it just doesnt run the script any further,

 

I have tried error_reporting(E_ALL); at the top of the php file and it still doesnt show errors

 

Any ideas why errors may not be being shown?

 

Thanks

You need to make sure display_errors is set to on in your php.ini file or in a .htaccess file if it's permitted. Plenty of examples on how to do this on google

Hello,

 

Im never getting error messages shown, for example if i dont close bracket it doesnt say error or what the error is it just doesnt run the script any further,

 

I have tried error_reporting(E_ALL); at the top of the php file and it still doesnt show errors

 

Any ideas why errors may not be being shown?

 

Thanks

 

ini_set('display_errors',1);

 

put the at the top of your file after error_reporting

Edited by webdesigner93

That method is useful except when you have a parse error, since it won't run that code which is why I gave the above two methods and not that one

That method is useful except when you have a parse error, since it won't run that code which is why I gave the above two methods and not that one

 

mm even if its at the top of the file above the parse error? cause in the pass its ran fine for me when ive had hidden parse errors

Yes even if it's the first bit of code executed. This has always been the case. Chances are you were already on a system that had display_errors set to on

 

Simple test for you. Put this in a file

<?php
ini_set('display_errors', 1);

class blah {

 

Then run it...then set to 0 and try again... The outcome should be you see errors both times or you see a white screen two times

Edited by Jay Gilford

Yes even if it's the first bit of code executed. This has always been the case. Chances are you were already on a system that had display_errors set to on

 

Simple test for you. Put this in a file

<?php
ini_set('display_errors', 1);

class blah {

 

Then run it...then set to 0 and try again... The outcome should be you see errors both times or you see a white screen two times

 

mm weird your right but i swore when ive seen a white screen before i put that at the top and it would show the php errors or it might of been mysql errors it would show idk anyways i apologize lol learn something new everyday :p

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.