Jump to content

undefined index?


cooldude832

Recommended Posts

Having issues on a new server getting this

 

 

Notice: Undefined index: cmd in /var/www/html/dashboard/dashboard/scripts/classes.php(467) : eval()'d code on line 9

 

 

cmd is a GET variable if that helps

cmd is also a POST variable

 

 

is it because its looking for it when its not defined?

Link to comment
https://forums.phpfreaks.com/topic/148861-undefined-index/
Share on other sites

The funny part is I can't view the code cause its locked in the MySQL

 

Whatever that means. Yeah, funny.

 

most of my configurations allow this to happen what do I need to do to let it do this in this config?

 

Turn display errors off, though your much better off to actually fix the errors in the first place.

Link to comment
https://forums.phpfreaks.com/topic/148861-undefined-index/#findComment-781678
Share on other sites

well I want error reporting on. 

 

I know its cause I'm acting on a variable before its being defined.

 

I have error reporting on in my other server config and no Notice

 

Is there a way to just block the undefined index error?

 

As for being locked in MySQL its part of the framework which is stored as binary in MySQL so I can't view it unless I use it first and then download a copy of it.

 

 

Link to comment
https://forums.phpfreaks.com/topic/148861-undefined-index/#findComment-781679
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.