Free Support Forum - aspose.com

For me Error...while uploading to online.....In Local Its Comming Correct

Notice (8): Undefined index: scheme [APP/vendors/Saaspose/Common/Utils.php, line 216]

Notice (8): Undefined index: host [APP/vendors/Saaspose/Common/Utils.php, line 216]

Notice (8): Undefined offset: 0 [APP/vendors/Saaspose/Common/Utils.php, line 118]

Fatal error: Uncaught exception ‘Exception’ with message ‘Error Code: 0, ’ in /home/checkin/public_html/staging/app/vendors/Saaspose/Words/MailMerge.php:126 Stack trace: #0 /home/checkin/public_html/staging/app/views/events/view_word.ctp(87): WordMailMerge->ExecuteTemplate(‘Test.doc’, ‘<?xml version="…’) #1 /home/checkin/public_html/staging/core/cake/libs/view/view.php(667): include(’/home/checkin/p…’) #2 /home/checkin/public_html/staging/core/cake/libs/view/view.php(381): View->_render(’/home/checkin/p…’, Array) #3 /home/checkin/public_html/staging/core/cake/libs/controller/controller.php(773): View->render(NULL, NULL, NULL) #4 /home/checkin/public_html/staging/core/cake/dispatcher.php(249): Controller->render() #5 /home/checkin/public_html/staging/core/cake/dispatcher.php(213): Dispatcher->_invoke(Object(EventsController), Array) #6 /home/checkin/public_html/staging/app/webroot/index.php(86): Dispatcher->dispatch(NULL) #7 {main} thrown in /home/checkin/public_html/staging/app/vendors/Saaspose/Words/MailMerge.php on line 126


Submitted from: https://apps.saaspose.com/signin

Hi Allen,

Do you want to say it is working on your local computer and not working on your live server? If yes, please share which operating system and which version of PHP is installed on your live server; we will test the code accordingly to reproduce/resolve the issue.

Best Regards,
Muhammad Ijaz

Support Developer, Saaspose
Sialkot Team
http://www.saaspose.com

Hi,

Now Local also it is not working

It say 400 error

Hi Allen,

Can you please share signedURI and your XML file? 400 means there is a problem with your URI?

Best Regards,
Muhammad Ijaz

Support Developer, Saaspose
Sialkot Team
http://www.saaspose.com

Hi,

Same Coding While Uploading to Online am getting this error but in local with new APP Sid and Password workin good,but with new App sid and Password not working...iam getting this error.

This my Signed Uri= http://api.saaspose.com/v1.0/words/Test.doc/executeTemplate?appSID=3a0b4f2e-c754-40e8-8484-eceb1e53a1d6&signature=QeB4ItonCuJrDmR7Zbm6FcqDObs=

Error while creating the given xml in online

Uncaught exception 'Exception' with message 'Error Code: 0, ' in /home/checkin/public_html/staging/app/vendors/Saaspose/Words/MailMerge.php:119 Stack trace: #0 /home/checkin/public_html/staging/app/views/events/view_word.ctp(169): WordMailMerge->ExecuteTemplate('Test.doc', '<?xml version="...') #1 /home/checkin/public_html/staging/core/cake/libs/view/view.php(667): include('/home/checkin/p...') #2 /home/checkin/public_html/staging/core/cake/libs/view/view.php(381): View->_render('/home/checkin/p...', Array) #3 /home/checkin/public_html/staging/core/cake/libs/controller/controller.php(773): View->render(NULL, NULL, NULL) #4 /home/checkin/public_html/staging/core/cake/dispatcher.php(249): Controller->render() #5 /home/checkin/public_html/staging/core/cake/dispatcher.php(213): Dispatcher->_invoke(Object(EventsController), Array) #6 /home/checkin/public_html/staging/app/webroot/index.php(86): Dispatcher->dispatch(NULL) #7 {main} thrown in /home/checkin/public_html/staging/app/vendors/Saaspose/Words/MailMerge.php on line 119

From: Support [mailto:notifications-support@saaspose.zendesk.com]
Sent: 06 March 2013 17:34
To: Allen
Subject: [Saaspose Support] Re: For me Error...while uploading to online.....In Local Its Comming Correct

Hi Allen,

We have added a new sample at http://saaspose.com/docs/display/words/How+to+Execute+Mail+Merge+Template+%28PHP+REST%29

This sample can be deployed and tested on your live server. You just need to grant read/write access to all users for 'Temp' folder in this sample and load index.php in the browser. Please check this sample and let us know if it works for you.

Best Regards,
Muhammad Ijaz

Support Developer, Saaspose
Sialkot Team
http://www.saaspose.com