2011-02-09, 04:58 PM
so i'm on godaddy's free hosting which displays ads. everything works perfectly, except attachments...
attachments show up in a post as a little questionmark as if its not found. when clicking it, you're brought to a page with an ad and some random characters. i tried changing this to show full size images, as well as the other two options. its currently set to download, and i installed the pro attachments plugin because i hoped that would help.
for example, clicking on a pdf brings up a page with an ad and the following text:
%PDF-1.5 %äãÏÒ 1 0 obj [/PDF/ImageB/ImageC/ImageI/Text] endobj 4 0 obj <> stream xœ
clicking on a jpg brings up a page with an ad and the following text:
ÿØÿá"$Exif
i understand that the ads may be interfering with this, but how can i modify some html so that they will display correctly when pulled from the database? is there a line of attachments.php that we can change to fix this?
i can verify that they're uploading correctly because they're being placed in the upload directory, and their correct information is shown in the post, as shown in the image that i attached here....
please help! this is for my boss's boss and migrating hosts is an absolute last case scenario.
thanks guys.
also, a txt file that contained the html text for a facebook badge was uploaded and when clicking on that attachment you're brought to a page with an ad up top and then it actually shows the facebook badge, i.e. the html is rendered.
attachments show up in a post as a little questionmark as if its not found. when clicking it, you're brought to a page with an ad and some random characters. i tried changing this to show full size images, as well as the other two options. its currently set to download, and i installed the pro attachments plugin because i hoped that would help.
for example, clicking on a pdf brings up a page with an ad and the following text:
%PDF-1.5 %äãÏÒ 1 0 obj [/PDF/ImageB/ImageC/ImageI/Text] endobj 4 0 obj <> stream xœ
clicking on a jpg brings up a page with an ad and the following text:
ÿØÿá"$Exif
i understand that the ads may be interfering with this, but how can i modify some html so that they will display correctly when pulled from the database? is there a line of attachments.php that we can change to fix this?
i can verify that they're uploading correctly because they're being placed in the upload directory, and their correct information is shown in the post, as shown in the image that i attached here....
please help! this is for my boss's boss and migrating hosts is an absolute last case scenario.
thanks guys.
also, a txt file that contained the html text for a facebook badge was uploaded and when clicking on that attachment you're brought to a page with an ad up top and then it actually shows the facebook badge, i.e. the html is rendered.