Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Undefined error trying to save settings
#2
(07-13-2012, 12:10 AM)dhandler Wrote: When I try and make changes to the settings through Admin Tool -> Settings, after hitting SAVE, I get the following error:

( ! ) Notice: Undefined variable: xml in C:\wamp\www\LetoDMS\inc\inc.ClassSettings.php on line 424
Call Stack
# Time Memory Function Location
1 0.0007 754528 {main}( ) ..\op.Settings.php:0
2 0.0482 7596504 Settings->save( ) ..\op.Settings.php:133
3 0.0493 7597616 Settings->getXMLNode( ) ..\inc.ClassSettings.php:554

Line 554 from the file reads as:

$node = $this->getXMLNode($xml, '/configuration/system', 'smtp');

Any ideas?

Not really. If the variable xml wasn't defined the error should have turned up earlier and besideds that there is not reason why $xml should not be defined. Anyway, I would first check the configuration file. Is ist still valid? Next, place a var_dump($xml) right before the line causing the error.

Uwe
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: