PHP Classes

Can't run examples on WAMP

Recommend this page to a friend!

      DrasticTools  >  All threads  >  Can't run examples on WAMP  >  (Un) Subscribe thread alerts  
Subject:Can't run examples on WAMP
Summary:I can't get DrasticTools examples working on WAMPSERVER 2
Messages:2
Author:Thierry THIERS
Date:2009-03-10 12:01:35
Update:2009-03-10 14:48:00
 

  1. Can't run examples on WAMP   Reply   Report abuse  
Picture of Thierry THIERS Thierry THIERS - 2009-03-10 12:01:35
Hello All !

I can't get DrasticTools examples working on a fresh WAMPSERVER installation ?

I build the required DB and required tables, I updated the DB connexion informations but when I launch provided examples, I only get a blank page with some notice messages :

Notice: Undefined index: op in C:\wamp\www\DrasticTools\drasticSrcMySQL.class.php on line 125

Notice: Undefined index: id in C:\wamp\www\DrasticTools\drasticSrcMySQL.class.php on line 126

Notice: Undefined index: col in C:\wamp\www\DrasticTools\drasticSrcMySQL.class.php on line 127

Notice: Undefined index: value in C:\wamp\www\DrasticTools\drasticSrcMySQL.class.php on line 128

Can someone provide little help ?

Thanks in advance,

Thierry

  2. Re: Can't run examples on WAMP   Reply   Report abuse  
Picture of Thierry THIERS Thierry THIERS - 2009-03-10 14:48:00 - In reply to message 1 from Thierry THIERS
I found what causes the problem.

On your WAMP server, if "display errors" is set to ON in PHP Settings, then indicated notice messages are not well HTML outputed and they cause the script to fail !?

Setting "display error" to OFF avoid having the problem...

FYI, here is firebug report :

[Break on this error] <b>Notice</b>: Undefined index: id in C:\wamp\www\DrasticTools\drasticSrcMySQL.class.php</b> on line <b>126</b><br />\n

invalid flag after regular expression
localhost/DrasticTools/js/mootools- ...
Line 255

Hope this could help other...

Thierry