problem with htmltodocx coverter

Apr 4, 2012 at 9:44 AM
Edited Apr 4, 2012 at 9:45 AM

i downloaded zip file of htmltodocx converter and tried to run it with example.php file which is included in it.

 

I get following errors  :

Notice: Undefined index: text in C:\xampp\htdocs\htmltodocx\htmltodocx\htmlconverter\h2d_htmlconverter.php on line 134

Notice: Undefined index: text in C:\xampp\htdocs\htmltodocx\htmltodocx\htmlconverter\h2d_htmlconverter.php on line 134

Notice: Undefined index: textrun in C:\xampp\htdocs\htmltodocx\htmltodocx\htmlconverter\h2d_htmlconverter.php on line 421

Notice: Undefined index: p in C:\xampp\htdocs\htmltodocx\htmltodocx\htmlconverter\h2d_htmlconverter.php on line 134

Notice: Undefined index: text in C:\xampp\htdocs\htmltodocx\htmltodocx\htmlconverter\h2d_htmlconverter.php on line 134

Notice: Undefined index: text in C:\xampp\htdocs\htmltodocx\htmltodocx\htmlconverter\h2d_htmlconverter.php on line 134

Notice: Undefined index: textrun in C:\xampp\htdocs\htmltodocx\htmltodocx\htmlconverter\h2d_htmlconverter.php on line 421

Notice: Undefined index: p in C:\xampp\htdocs\htmltodocx\htmltodocx\htmlconverter\h2d_htmlconverter.php on line 134

Notice: Undefined index: text in C:\xampp\htdocs\htmltodocx\htmltodocx\htmlconverter\h2d_htmlconverter.php on line 134

Notice: Undefined index: text in C:\xampp\htdocs\htmltodocx\htmltodocx\htmlconverter\h2d_htmlconverter.php on line 134

Notice: Undefined index: textrun in C:\xampp\htdocs\htmltodocx\htmltodocx\htmlconverter\h2d_htmlconverter.php on line 421

Notice: Undefined index: text in C:\xampp\htdocs\htmltodocx\htmltodocx\htmlconverter\h2d_htmlconverter.php on line 134

Notice: Undefined index: text in C:\xampp\htdocs\htmltodocx\htmltodocx\htmlconverter\h2d_htmlconverter.php on line 134

Notice: Undefined index: textrun in C:\xampp\htdocs\htmltodocx\htmltodocx\htmlconverter\h2d_htmlconverter.php on line 421

 

and many more i dont understand whats the problem.

 

kindly help.



Coordinator
Apr 4, 2012 at 7:42 PM

Hi Vibhas,

You can stop this happening by getting PHP to suppress "Notice" errors - see for example http://www.dmxzone.com/go?13811. I didn't have E_NOTICE error reporting when I was developing this (at least one well known CMS I was using had a lot these - so I needed to have it switched off). I will be able to remove these errors in future by checking to see if the offending variables have been set. Anyway if you switch off the notice errors in php.ini for example (the usual default - see: http://uk3.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting) it should all run fine.

Coordinator
Apr 5, 2012 at 8:36 AM

See: http://htmltodocx.codeplex.com/workitem/441