PHP Classes

Returns error message

Recommend this page to a friend!

      PHP Word DOCX to HTML with Images  >  All threads  >  Returns error message  >  (Un) Subscribe thread alerts  
Subject:Returns error message
Summary:Cannot implement due to error - see below
Author:graeme hall
Date:2021-08-03 08:39:27

  1. Returns error message   Reply   Report abuse  
Picture of graeme hall graeme hall - 2021-08-03 08:39:27
Fatal error: Uncaught Error: Call to undefined function imagecreatefromstring() in C:\xampp\htdocs\WordtoHTML\wordphp.php:253 Stack trace: #0 C:\xampp\htdocs\WordtoHTML\wordphp.php(229): WordPHP->createImage('\x89PNG\r\n\x1A\n\x00\x00\x00\rIHD...', 'rId7', 'word/media/imag...') #1 C:\xampp\htdocs\WordtoHTML\wordphp.php(139): WordPHP->checkImageFormating(Object(XMLReader)) #2 C:\xampp\htdocs\WordtoHTML\wordphp.php(472): WordPHP->checkFormating(Object(XMLReader)) #3 C:\xampp\htdocs\WordtoHTML\test.php(4): WordPHP->readDocument('sample.docx') #4 {main} thrown in C:\xampp\htdocs\WordtoHTML\wordphp.php on line 253