Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Rickard on January 13, 2018, 03:02:08 AM

Title: Attaching large images gives blank page
Post by: Rickard on January 13, 2018, 03:02:08 AM
I am having problem with attaching large images to posts in my forums after mowe to cloud based server.
The server people have lifted the attachment limit to 50 Mb, this should not be the problem.
I have (a quite old) module, Resize Attached Images, is this perhaps the problem?
I have no limits on images size in the settings.
The page that opens has got URL https://www.poolforum.se/forum/index.php?action=post2;start=0;board=27

I white blank page.
Title: Re: Attaching large images gives blank page
Post by: Aleksi "Lex" Kilpinen on January 13, 2018, 03:26:23 AM
Take a look at your servers error log, is there anything there?
This might help http://custom.simplemachines.org/mods/index.php?mod=4111
Title: Re: Attaching large images gives blank page
Post by: aegersz on January 13, 2018, 03:45:44 AM
... just to confirm, does the host's php.ini have the following setting ?: upload_max_filesize = 50M

Aleksi is likely to be referring to where the PHP errors are logged.

Title: Re: Attaching large images gives blank page
Post by: Rickard on January 13, 2018, 04:38:14 AM
Working from home today, and have lost my password for cpanel, can not check error log, but have asked the server support to do so.

Since i wrote this i have tried to uninstall and reinstall resize attached iamges i www.atvforum.se and then tried to attach a large image and it worked!
Then i notice that the forum does not work on some pages, for example https://www.atvforum.se/Forum/index.php?action=forum
But if i go to onother page, for example: https://www.atvforum.se/Forum/index.php?topic=57937.msg587560#msg587560
It works.
If i try to add the same large picture, and now it does not work.
Strange, but not unexpected due to a lot of small problems like this after the server change.

What is this about.
Since i can not log in to cpanel, i did no backup, anyone have any idea what happend?

Another issue i have after the mowe to new server with Cpanel is that changing theme throuht admin panel somtimes mean that the server takes away code, and also adds code never earlier been present!
Most obvius this is when adding code with åäö (swedish) then it get all corrupt, and the server deletes a lot of code (not just the rowes with åäö) and adds new code making the forum crash.
Is this a cpanel problem, language problem, or settings problem in PHP or something else?
Title: Re: Attaching large images gives blank page
Post by: aegersz on January 13, 2018, 02:27:43 PM
what are your Admin > Forum > Attachments and Avatars > Attachment Settings ?

screenshot would be the easiest
Title: Re: Attaching large images gives blank page
Post by: Illori on January 13, 2018, 03:59:11 PM
Take a look at your servers error log, is there anything there?
This might help http://custom.simplemachines.org/mods/index.php?mod=4111

this is a known issue and the above mod fixes the issue.
Title: Re: Attaching large images gives blank page
Post by: Rickard on January 14, 2018, 02:27:54 AM
(https://www.varmepumpsforum.com/vpforum/Smileys/nya/afro.gif)

Worked lika a charm.
Thank you very much!