example pdf export with image

Questionsexample pdf export with image
andyvill asked 6 years ago

dear Abu:

 

in https://www.phpgrid.org/demo/demos/export/export-all.phps

line 114, you include a image in the pdf export function.

in my server, without any modifications, this not work. (error 500)

question:i need to enable any php extension to export correctly the image??

in the forum, to enable correctly excel export in my server,  i first  enable zip extension for php.

is the same case??

i buy the licence in december 10, 2018.

thanks

sorry for my bad english.

 

 

3 Answers
Abu Ghufran Staff answered 6 years ago

Possibly PHP GD extension is not enabled. You can recheck and confirm it by phpinfo.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Abu Ghufran Staff answered 6 years ago

To get exact error details, please check php error log file and see the details of ERROR 500. It will tell what exactly is missing.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
andyvill answered 6 years ago

Excelent!, solved.

in the php error log , the error was

PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in blablabla.

 

thanks!

 

Your Answer

8 + 10 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?