Jump to content

Recommended Posts

Posted

Hey guys,

I followed the instructions in the PHP course for advanced php>login system. However, I'm getting errors. I even downloaded the source files and copy and pasted them into my text editor and I'm still getting the following errors.

 

Notice: Undefined index: isBlock in /Users/brian.smith/valet/blog5/elProjecto/index.php on line 71

Notice: Undefined index: badUserCredentials in /Users/brian.smith/valet/blog5/elProjecto/index.php on line 72

657583587_ScreenShot2018-11-09at10_45_03AM.thumb.png.e1af685119135b851c64d46eb9c8bcf9.png

One difference is my file names, for example, I named my login.php file index.php. I changed them accordingly in the files.

Another is I didn't use WAMMP/MAMMP? I have Laravel and Valet installed so I created a field called elProjecto and ran the command "valet link" in the command line.

 

The functionality works fine, but the errors are displayed on the front page.

Any advice? Thanks!

  • 2 months later...
Posted

Sorry for the late reply.

You can turn off error reporting in the PHP ini. Or you can search for this string on google:

Notice: Undefined index:

.... Your answer will appear in Stack Overflow. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...