NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Undefined variable: fieldName in dbg_eval() on line1


Joined: 12 Mar 2009
Posts: 1
Reply with quote
We just bought a NuSphere License and I'm new to PHP.

I am attempting to debug my web app page, and receive several errors on the page that have this format:

Notice: Undefined variable: fieldName in dbg_eval() on line 1

Not too sure what to do.

Thanks.

Doug.
View user's profileFind all posts by drdexter33Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
What version of debugger do you use?

Normally, no errors should be shown on the pages. All of them should be logged to a log file. In order to do this set display_errory=Off, log_errors=On, error_log=/path/to/logfile in your php.ini file.

Regarding dbg_eval(), its name suggests that error is thrown while debuger was evaluating an expression in Watch window. It's possible to have a function or an object method call in Watch window where you can set error handler function and capture the errors triggered while that function is evaluating. If the error handler shows the error dump on screen, debugger has almost nothing to do with this. You may want to remove such call from Watch or update you code to avoid showing the errors.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Undefined variable: fieldName in dbg_eval() on line1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic