Warm-up: FlatPress 1.5 - Community Test

For devs and testers: Tests of current development versions, technical details of the code.
Post Reply
User avatar
macadoum
Posts: 49
Joined: Sat Jan 20, 2024 10:32 pm

Re: Warm-up: FlatPress 1.5 - Community Test

Post by macadoum » Sun Dec 28, 2025 8:02 pm

I got an error 500 while trying to access Uploader -> Memory

https://macadoum.free.nf/admin.php?p=up ... on=storage
My test installation of FlatPress : https://macadoum.free.nf/ :D

User avatar
fraenkiman
Posts: 470
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Re: Warm-up: FlatPress 1.5 - Community Test

Post by fraenkiman » Sun Dec 28, 2025 8:32 pm

macadoum wrote: Sun Dec 28, 2025 8:02 pm I got an error 500 while trying to access Uploader -> Memory
Do you have access to the server error log?
If so, try to reproduce the problem, check the server error log as soon as possible, and post the contents here.

If you have changed any language files, check them.

Thank you very much and best regards,
Frank
:pencil: You are strong in PHP and Java Script? :point_right: Then help us to improve FlatPress. :point_left:

:exploding_head: Looking for ideas, templates, examples and answers to frequently asked questions?
:bulb: You'll find it here.

My :de: FlatPress-Blog: https://frank-web.dedyn.io

User avatar
macadoum
Posts: 49
Joined: Sat Jan 20, 2024 10:32 pm

Re: Warm-up: FlatPress 1.5 - Community Test

Post by macadoum » Sun Dec 28, 2025 10:20 pm

fraenkiman wrote: Sun Dec 28, 2025 8:32 pm
macadoum wrote: Sun Dec 28, 2025 8:02 pm I got an error 500 while trying to access Uploader -> Memory
Do you have access to the server error log?
If so, try to reproduce the problem, check the server error log as soon as possible, and post the contents here.

If you have changed any language files, check them.

Thank you very much and best regards,
Frank
Yes, I was able to access the error log :

Code: Select all

Warning: include(fp-interface/lang/browserlang.php): Failed to open stream: No such file or directory in /home/vol1_4/infinityfree.com/if0_40666887/htdocs/defaults.php on line 119

Warning: include(): Failed opening 'fp-interface/lang/browserlang.php' for inclusion (include_path='/home/vol1_4/infinityfree.com/if0_40666887/htdocs/') in /home/vol1_4/infinityfree.com/if0_40666887/htdocs/defaults.php on line 119

Warning: Undefined variable $browserLang in /home/vol1_4/infinityfree.com/if0_40666887/htdocs/defaults.php on line 120

Fatal error: Uncaught Error: Call to undefined function disk_total_space() in /home/vol1_4/infinityfree.com/if0_40666887/htdocs/fp-plugins/storage/plugin.storage.php:674 Stack trace: #0 /home/vol1_4/infinityfree.com/if0_40666887/htdocs/admin/includes/panels.prototypes.php(136): admin_uploader_storage->main() #1 /home/vol1_4/infinityfree.com/if0_40666887/htdocs/admin/main.php(96): AdminPanelAction->exec() #2 /home/vol1_4/infinityfree.com/if0_40666887/htdocs/admin/main.php(218): main() #3 /home/vol1_4/infinityfree.com/if0_40666887/htdocs/admin.php(5): require('/home/vol1_4/in...') #4 {main} thrown in /home/vol1_4/infinityfree.com/if0_40666887/htdocs/fp-plugins/storage/plugin.storage.php on line 674
Image

It looks like an undefined language string ?
My test installation of FlatPress : https://macadoum.free.nf/ :D

User avatar
macadoum
Posts: 49
Joined: Sat Jan 20, 2024 10:32 pm

Re: Warm-up: FlatPress 1.5 - Community Test

Post by macadoum » Sun Dec 28, 2025 11:12 pm

The warnings are resolved : I had a missing browserlang.php

But the fatal error is still here :

Image

My disk space usage is fine : only 18MB over 5GB of free storage
My test installation of FlatPress : https://macadoum.free.nf/ :D

User avatar
fraenkiman
Posts: 470
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Re: Warm-up: FlatPress 1.5 - Community Test

Post by fraenkiman » Mon Dec 29, 2025 12:34 am

Hello macadoum,
macadoum wrote: Sun Dec 28, 2025 11:12 pm But the fatal error is still here :

Image
Wild guess: Your host has disabled disk_* functions. Someone doesn't want to reveal their cards :lol: .

I have added a few checks for such cases before attempting to access disk_total_space() and disk_free_space().

Please replace the existing file fp-plugins/storage/plugin.storage.php with this one and try to reproduce the problem again.
plugin.storage.zip
(7.03 KiB) Downloaded 11 times
Many thanks,
Frank
:pencil: You are strong in PHP and Java Script? :point_right: Then help us to improve FlatPress. :point_left:

:exploding_head: Looking for ideas, templates, examples and answers to frequently asked questions?
:bulb: You'll find it here.

My :de: FlatPress-Blog: https://frank-web.dedyn.io

User avatar
macadoum
Posts: 49
Joined: Sat Jan 20, 2024 10:32 pm

Re: Warm-up: FlatPress 1.5 - Community Test

Post by macadoum » Mon Dec 29, 2025 6:20 am

fraenkiman wrote: Mon Dec 29, 2025 12:34 am Hello macadoum,
macadoum wrote: Sun Dec 28, 2025 11:12 pm But the fatal error is still here :

Image
Wild guess: Your host has disabled disk_* functions. Someone doesn't want to reveal their cards :lol: .

I have added a few checks for such cases before attempting to access disk_total_space() and disk_free_space().

Please replace the existing file fp-plugins/storage/plugin.storage.php with this one and try to reproduce the problem again.

plugin.storage.zip

Many thanks,
Frank
Now it's working, thanks !
My test installation of FlatPress : https://macadoum.free.nf/ :D

User avatar
macadoum
Posts: 49
Joined: Sat Jan 20, 2024 10:32 pm

Re: Warm-up: FlatPress 1.5 - Community Test

Post by macadoum » Mon Dec 29, 2025 6:39 am

Fraenkiman, I wonder if you're going to publish an RC2 ?

I'd like to start from a fresh install and test the importation of entries.
My test installation of FlatPress : https://macadoum.free.nf/ :D

User avatar
macadoum
Posts: 49
Joined: Sat Jan 20, 2024 10:32 pm

Re: Warm-up: FlatPress 1.5 - Community Test

Post by macadoum » Mon Dec 29, 2025 8:43 am

If I download master from github, can I just save fp-contents from my actual installation and then override all the other files using FTP to get a refreshed FlatPress ?
My test installation of FlatPress : https://macadoum.free.nf/ :D

eagleman
Posts: 237
Joined: Sat Mar 02, 2019 12:10 pm

Re: Warm-up: FlatPress 1.5 - Community Test

Post by eagleman » Mon Dec 29, 2025 3:20 pm

macadoum wrote: Mon Dec 29, 2025 8:43 am If I download master from github, can I just save fp-contents from my actual installation and then override all the other files using FTP to get a refreshed FlatPress ?
Yes, but you have to delete the default fp-content folder into the installation package and/or replace it with your fp-content blog folder.
Usually I update my blog downloading all the complete package and replacing every folder and file (except for the fp-content, of course).
There is only a "Welcome to Flatpress" to delete after the new installation, and don't forget to delete setup folder and setup.php file from your server.

eagleman
Posts: 237
Joined: Sat Mar 02, 2019 12:10 pm

Re: Warm-up: FlatPress 1.5 - Community Test

Post by eagleman » Mon Dec 29, 2025 3:25 pm

Updated italian files since fp 1.5 rc1 release.
Part 1
Attachments
fp-interface.lang.default.zip
Lang default italian file
(1.84 KiB) Downloaded 11 times
fp-interface.lang.admin.config.zip
Admin config italian file
(1.61 KiB) Downloaded 12 times
commentcenter.lang.it-it.zip
Comment center italian file
(2.75 KiB) Downloaded 15 times

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest