Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - David Pilling

#691
General Discussion / Re: pretty flowers
April 09, 2021, 05:55:07 AM
As I say (usually about the mail list), somewhere in the system there is a max size for photos. However much people may not know or want to know about it. I am looking at a new phone, cheap and cheerful, 48Mpix camera.

Anyway there are some interesting config options for SMF - lets you set a max upload size - which has to be more graceful than the thing dumping everything with no explanation.

The two lots of options PHP and SMF have to be compatible. Interesting that we have not hit this limit with the wiki - but I never use image upload with that.

I also observe SMF seems to be set to 40MB for all uploads combined, which we will hit soon.

This is where the options are:

https://www.pacificbulbsociety.org/smf/index.php?action=admin;area=manageattachments;sa=attachments;f07ce3d5=e90132d436856ffb487d9f29075ac297

#692
General Discussion / Re: pretty flowers
April 08, 2021, 01:39:55 PM
In /etc/apache2/php/7.2/php.ini

upload_max_filesize was 32M

post_max_size was 8M

I have changed post_max_size to 32M and rebooted Apache.

#693
General Discussion / Re: pretty flowers
April 08, 2021, 01:33:15 PM
Looking at the log files is good fun - probly there are some bugs I should fix. But most of the contents are driven by hackers - every few seconds someone tries to log in to our word press installation. Anyway I found this:

[Wed Apr 07 18:11:10.611501 2021] [php7:warn] [pid 24519] [client 95.222.28.145:14703] PHP Warning:  POST Content-Length of 14394519 bytes exceeds the limit of 8388608 bytes in Unknown on line 0, referer: https://www.pacificbulbsociety.org/smf/index.php?action=post;topic=11.30;last_msg=133
[Wed Apr 07 18:17:33.315059 2021] [php7:warn] [pid 24519] [client 95.222.28.145:14687] PHP Warning:  POST Content-Length of 14394539 bytes exceeds the limit of 8388608 bytes in Unknown on line 0, referer: https://www.pacificbulbsociety.org/smf/index.php?action=post;topic=11.30;last_msg=133
#694
General Discussion / Re: pretty flowers
April 08, 2021, 09:32:54 AM
OK, I feared they might. Those logs are not easy for me to access either - I often end up setting them to 777 permissions. I will try to look later...
#695
General Discussion / Re: pretty flowers
April 07, 2021, 02:00:32 PM
Hi Martin, thing would be do a crash and look at the Apache/PHP log file to see what happened. You can look now, but best if you know the time when the crash happened.

#696
General Discussion / Re: pretty flowers
March 29, 2021, 05:49:55 AM
Martin - good ideas. It reminded me that there are commands to set the max amount of core for PHP to use. At one time we had that in a .htaccess file. Seems to not be there now, at least in the main one.

#697
General Discussion / Re: pretty flowers
March 28, 2021, 09:33:00 AM
Yes the photos are still downloading instead of expanding.

You're thinking, old bloke, anger management issues, flip phone. The phone is actually six years old. Didn't seem that old, but CoVid has passed another year by.

I tried my photoswipe pages, and photoswipe did not load. Phone too old.

Getting the red mist out of the way, I am saying that four photos, and small ones (it's an old phone) won't upload, and if you try there is some sort of crash. Possibly I could look in the PHP error log.
#698
General Discussion / Re: pretty flowers
March 28, 2021, 08:15:04 AM
photos
#699
General Discussion / Re: pretty flowers
March 28, 2021, 08:13:24 AM
Photos
#700
General Discussion / Re: pretty flowers
March 28, 2021, 08:12:21 AM
So I tried living my life on my phone. Mired in a sea of missing passwords. Eventually I got to posting to this forum, to upload files I was told I needed an upgrade, and Google/Android update told me the phone was no longer supported. Which was fine since I was going to stamp on the phone and throw it away anyway.

We went to the vaccination centre today, and I saw these blue primroses.

I've been told there is a devil set aside for anyone who posts shrub photos to the PBS, so there's a Forsythia to conclude with.

Wait there's more, having painstakingly typed all this in and selected the photos, post resulted in a new message screen and no post. Seems this was about the time Gastil posted.

Won't get fooled again, I'll copy my text before posting.

Yep, it happened again. Chucks away the post. I'll now post without the photos.

#701
General Discussion / Re: pretty flowers
March 28, 2021, 04:29:24 AM
Quote from: Martin Bohnet on March 27, 2021, 08:38:40 PM
Let's have everyone post their browsers

Chrome on Windows 10, and Chrome on Ubuntu.

I have a Mac I could try on that.

#702
General Discussion / Re: pretty flowers
March 27, 2021, 03:05:38 PM
Wikipedia says marmalade comes from Portuguese for quince. Interesting discussion. Things I never knew. Hard to believe you could have orange marmalade that did not set - usually lots of pectin about. Maybe we could debate the meaning of jelly/jello/jam.
#703
General Discussion / Re: pretty flowers
March 27, 2021, 09:35:48 AM
Quote from: gastil on March 27, 2021, 08:51:36 AM
Is the crocus photo (between some text and some more text) done with an img tag and url to david's TEG site or with an uploaded/attached image?

It was done with the new insert button next to image upload. Inline thumbnails on this page are now working correctly for me. Progress...

hover over images will probably show how they're done

click on traditional end of message uploads is still doing download. I notice they are now in a row rather than as previously a column.
#704
General Discussion / Re: pretty flowers
March 27, 2021, 08:50:49 AM
Ah but, click on thumbnail does download...

#705
General Discussion / Re: pretty flowers
March 27, 2021, 08:49:10 AM
some text
[attach id=0 msg=92]
some more text

Martin - that is a big improvement