MyBB Community Forums

Full Version: Attached Images Not Showing to Any Member
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello all,

Fresh install of 1.8 today,  all great except image attachments do not show.

They seem to upload fine, I only started with mybb today so I'm very green, so forgive this if it is a silly question.  All users have permission to download images. 

Can't screenshot it, but if I hover over the 'broken link' image I get the correct file name and size shown.

[attachment=39831]

I have checked the permissions on the upload folder which all seems okay.
[attachment=39832]

Tried JPG and PNG (only formats I have allowed), tried a hard refresh as well as other devices but the same issue occurs.  After test uploads the attachment space increments in the stats page of the admin panel, however in my uploads folder there doesn't seem to be anything there beyond what I image was attachment 3.

The tell-tale upload % bar in Chrome increments as the file is being uploaded, so it must be going 'somewhere'. Changing the theme has no impact.

Any pointers most welcome!

Andy
Still no further forward with this, as I was hoping to have fixed this by today.

Spent most of today playing with it, this is what I know.

Uploads are appearing in the folder, they come with both the ATTACH file as well as a thumbnail file. The database is recording these images correctly, and they are pointing the right locations and file names.

The php "attachment" executes, it just don't return anything?

Any suggestions?
Any chance of a link to a post with a broken attachment and perhaps a test account?
(2018-01-05, 05:27 PM)Euan T Wrote: [ -> ]Any chance of a link to a post with a broken attachment and perhaps a test account?

Certainly.

Try test / 123456

www.pennilessphotographer.com/forum

Forum isn't in use at the moment, deleted some attachments so if ignore the broken 'attachment' posts where you find them.

Cheers,
Andy
(2018-01-05, 06:56 PM)Andy0 Wrote: [ -> ]
(2018-01-05, 05:27 PM)Euan T Wrote: [ -> ]Any chance of a link to a post with a broken attachment and perhaps a test account?

Certainly.

Try test / 123456

www.pennilessphotographer.com/forum

Forum isn't in use at the moment, deleted some attachments so if ignore the broken 'attachment' posts where you find them.

Cheers,
Andy

Thanks. I've just created a test post and got a broken image from it too.
Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/2974

Thanks for contributing to MyBB!

Regards,
The MyBB Group
Euan, that's great.

Thank you very much for your assistance, sorry to have thrown you a weird one!

I've had a quick look at GitHub, and the only things I can potentially add:

- Host is 'Fasthosts' on a basic *nix shared package (at the moment)
- Images appear correctly in the DB with correct links, correct Unix Timestamp etc.
- Only plug-in I have installed is My Advertisements.

Hope that clarifies, and please let me know if I can provide any more information for you.

Regards,
Andy
^ would you like to PM me temporary access to forum admin panel & files (FTP) to check ..
(if required, you can provide your own login credentials & change them later)
Works fine for me on my forum with the latest version of MyBB.
basically the problem was due to Byte Order Mark / white space at the beginning of a plugin file.
the issue was checked & cleaned by using PHP Files Cleaner plugin
Pages: 1 2