Forum


Replies: 7   Views: 5562
Error: namespace prefix -
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by oapl  · 21-07-2014 - 11:47

Hi, it was working perfectly until did some-other changes but even though revert all changes still come up with this? any help would be appreciated. [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix v on shape is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix v on textbox is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix wp on inline is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix wp on extent is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix wp on docPr is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix wp on cNvGraphicFramePr is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix r for embed on blip is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix w10 on wrap is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix v on shape is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix v on textbox is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix wp on inline is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix wp on extent is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix wp on docPr is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix wp on cNvGraphicFramePr is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix r for embed on blip is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix w10 on wrap is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix v on shape is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix v on textbox is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix wp on inline is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix wp on extent is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix wp on docPr is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix wp on cNvGraphicFramePr is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix r for embed on blip is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix w10 on wrap is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix v on shape is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix v on textbox is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix wp on inline is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix wp on extent is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix wp on docPr is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix wp on cNvGraphicFramePr is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix r for embed on blip is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263 [Mon Jul 21 12:30:23 2014] [error] [client 92.24.102.8] PHP Warning: DOMDocument::loadXML(): Namespace prefix w10 on wrap is not defined in Entity, line: 2 in PATHXX/phpdocx_pro_new/classes/CreateDocxFromTemplate.inc on line 1382, referer: XXXX.com/pdf_article.php?articleid=1263

Posted by oapl  · 21-07-2014 - 11:51

I am using corporate version and it works fine when add one image using replaceVariableByWordFragment but using multiple times cause issues.

Posted by admin  · 22-07-2014 - 11:11

Hello, There is a patch to solve your error. Please request it at contact@phpdocx.com Regards.

Posted by Agucho  · 27-10-2014 - 09:41

I'm having this problem too. Except we haven't changed anything in the template or implementation of the library. We reinstalled apache and php. Can we see the patch? What modules/extensions may be causing this?

Posted by admin  · 27-10-2014 - 09:55

Hello, Every patch is included in phpdocx packages. So you just need to download the package on MYPHPDOCX after login to get the latest version. Regards.

Posted by Agucho  · 27-10-2014 - 10:11

I'll do that on the right account. In the meantime, can you tell me if any missing php extensions can cause this? Or what can be causing this? As I said, we didn't change template or implementation for several months and started happening today.

Posted by admin  · 27-10-2014 - 10:36

Hello, Please post the license and version you're using and the piece of code you are using to get that error. The error you refer was solved and fixed in all packages, so maybe your issue is other. Regards.

Posted by Agucho  · 30-10-2014 - 09:48

Hi, for the record, in our case we solved an encoding problem we had by installing TIdy and this error went away with it.