Reputation: 4084
I am using Html2pdf component in cakephp 2.0 . Its working fine in my local when I move to server it generating the Blank pdf file. i try to debug it shows following error message I gave 777 permission on all the necessary folders..
Cannot open http://200.192.34.44/reports/create [APP/Vendor/html2ps/fetcher.url.class.php, line 94]
Any one have idea ??
I am using IP address so that its not working, i need solution for this
Upvotes: 1
Views: 1357
Reputation: 4084
Finally I found that we need to make
"allow_url_fopen" "ON"
Other options you need to check the following:
If its is a Linux server and you have ssh just use wget and check the url is working fine on the same server
in php.ini
now its working fine
Upvotes: 4