pzucchel
Member
Posted 10 months ago #
Hi,
I suddenly have a problem by downloading pdf files, i am using the most updated version of the plugin: the pdf file downloaded from the email-before-download link is truncated, and the fonts are therefore missing.
Anybody else has the same issue? if i download the file from the direct link of the website it is all correct. I am using the temporary link solution with 1 day expiration.
the version of email-before-download is 3.2.1
http://wordpress.org/extend/plugins/email-before-download/
pzucchel
Member
Posted 10 months ago #
I should add that it was working before with 3.2. Here's the error log:
[10-Aug-2012 07:02:26] PHP Warning: readfile() [function.readfile]: Filename cannot be empty in /home2/andrewal/public_html/wp-content/plugins/email-before-download/download.php on line 144
[10-Aug-2012 07:02:33] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 for query SELECT * FROM pz_ebd_item WHERE id = ;
[10-Aug-2012 07:02:33] PHP Warning: readfile() [function.readfile]: Filename cannot be empty in /home2/andrewal/public_html/wp-content/plugins/email-before-download/download.php on line 144
[10-Aug-2012 07:46:56] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 for query SELECT * FROM pz_ebd_item WHERE id = ;
[10-Aug-2012 07:46:56] PHP Warning: readfile() [function.readfile]: Filename cannot be empty in /home2/andrewal/public_html/wp-content/plugins/email-before-download/download.php on line 144
pzucchel
Member
Posted 10 months ago #
the issue was with cURL under the justhost provider. thanks