Free Support Forum -

Iam Getting Errors

I move to online then am getting error like this…but localhost comming correct.

Warning (2): simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity “/home/checkin/public_html/staging/app/webroot//input//Merge.xml” [APP/views/events/view_word.ctp, line 99]

Uploading main document…

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]

Warning (2): fopen(/home/checkin/public_html/staging/app/webroot//input//Merge.docx) [function.fopen]: failed to open stream: No such file or directory [APP/vendors/Saaspose/Common/Utils.php, line 144]

Warning (2): curl_setopt(): supplied argument is not a valid File-Handle resource [APP/vendors/Saaspose/Common/Utils.php, line 159]

Warning (2): filesize() [function.filesize]: stat failed for /home/checkin/public_html/staging/app/webroot//input//Merge.docx [APP/vendors/Saaspose/Common/Utils.php, line 160]

Warning (2): fclose(): supplied argument is not a valid stream resource [APP/vendors/Saaspose/Common/Utils.php, line 168]

Main document uploaded
Executing mail merge…

Fatal error: Call to a member function asXML() on a non-object in /home/checkin/public_html/staging/app/views/events/view_word.ctp on line 111

Submitted from:

Hi Allen,

This is a PHP error, not the Saaspose exception. Please try setting 'allow_url_fopen = On' in the PHP.ini file of your web server or add following line at start of your code.

ini_set('allow_url_fopen', 'on');

Best Regards,
Muhammad Ijaz

Support Developer, Saaspose
Sialkot Team

Hi Allen,

Are you able to continue working with Saaspose APIs after the last suggestion from our team? Do you need any further assistance from our end? If you need any help, please feel free to ask. We'll be glad to help you.

Thanks & Regards
Shahzad Latif
Saaspose Support Team.