WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.9 R24 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • Recent Posts

Recent Posts

Pages: [1] 2 3 ... 10
1
General Help & Support / Re: error500 after upgrade
« Last post by sternchen8875 on November 05, 2025, 02:50:09 PM »
Danke für die Rückmeldung und es gibt keinen Grund zur Entschuldigung, ganz im Gegenteil: es zeigt, das wir am unzip-Script noch eine Prüfung benötigen, ob der berechnete freie Festplattenplatz ausreichend ist und ob des anschließende Entpacken erfolgreich war. In der Theorie hätte das Erreichen des Limits eine Warnung auslösen sollen, die wäre aber abhängig von den Server- und WB-Einstellungen zum Fehler-Logging

Thank you for your feedback, and there is no need to apologise. On the contrary, it shows that we need to add a check to the unzip script to see whether the calculated free hard disk space is sufficient and whether the subsequent unpacking was successful. In theory, reaching the limit should have triggered a warning, but this would depend on the server and WB settings for error logging.
2
General Help & Support / Re: error500 after upgrade
« Last post by helihans on November 05, 2025, 02:04:25 PM »
Found it :-)
There was insufficient disk space, but strangely enough, I didn't see any unusual messages during the extraction process.

The new version is now working without any problems, apologies for the inconvenience.
3
General Help & Support / Re: error500 after upgrade
« Last post by helihans on November 05, 2025, 01:44:18 PM »
Thanks, even renaming htaccess makes no difference.
wb is in the root, and I'm also using the latest unzip.php (even with the old one, it wouldn't work).
This is the second website; another one (exactly the same) updated fine.

 I'm currently downloading the files via FTP, which is taking a while, then I'll put the old one back.
4
General Announcements / R25 - fix issue in media administration
« Last post by dbs on November 05, 2025, 01:25:59 PM »
Changelog Version 2.13.9 R25 05-11-2025
-------------------------------------------------------
fix issue in media administration, see
https://forum.WebsiteBaker.org/index.php/topic,32443.0.html (EN, DE)


5
General Help & Support / Re: error500 after upgrade
« Last post by sternchen8875 on November 05, 2025, 01:25:35 PM »
Oh, sorry

do you use a .htaccess on this domain?  if YES, pls rename it for a test

now any questions...  :-(
- do you work in a subfolder of the used domain?
- do you use the actual unzip.php to unpack the WB-package on your server?

Error 500 is a server-error, first file is a .htaccess (but not a htaccess.txt), next one is the config.php, check the datas there,
if you dont use the method with the unzip.php, everything its possible. Check also the index.php in the wb-root-folder

if you start a next try, please make a file-backup from the "new", updated files
6
General Help & Support / error500 after upgrade
« Last post by helihans on November 05, 2025, 12:54:16 PM »
After upgrading from 2.13.6 r237 to the latest version, I received an error 500, both front-end and back-end.
PHP is 8.3.

I went back to the previous version and everything worked again. Any ideas?
7
General Help & Support / Fehler beim Resize im Media-Upload / Fix for a Bug in the Media Manager's Image
« Last post by sternchen8875 on November 04, 2025, 12:22:18 PM »
Vorab: es betrifft ausschließlich die Upload-Funktion in der WB-eigenen Media-Verwaltung, andere Module mit eigenen Upload-Funktionen wie MiniGallery etc sind nicht betroffen

Problem tritt auf, wenn in den WB-Optionen oder in den Media-Ordner-Optionen nur ein Wert zur Größenveränderung angegeben wurde. Die Logik sah vor, das sich der zweite Wert dann aus dem Seitenverhältnis automatisch berechnet. Leider habe ich diese paar Zeilen Code bei der Umstellung wohl einfach vergessen und beim Testen immer zwei Werte angegeben.

Im Anhang ein Zip-File, das in den Ordner /admin/media/ entpackt werden muß. Es entält die Dateien upload.php und die setparameter.php, die die Einstellungen der Ordnerwerte erledigt.


------------------------

Hi all,
This is a bug report and fix regarding the image resizing functionality during uploads.
Scope of the issue: Please note that this problem exclusively affects the native WebsiteBaker media manager's upload feature. Add-on modules that have their own uploaders, like MiniGallery, are not impacted.
What is the problem?
The bug appears when you specify only a single dimension (either width or height) for image resizing in the global settings or in a specific media folder's options. The logic was supposed to automatically calculate the missing dimension to preserve the image's original aspect ratio. Unfortunately, I missed migrating this piece of code during a recent update and my own testing was always done by providing both a width and a height.
How to fix it:
Please find a zip file attached. You need to extract its contents into your /admin/media/ folder, overwriting the existing files. The archive contains the patched upload.php file and setparameter.php, which is responsible for managing the folder-specific settings.

Admin Comment: Anhang noch mal getauscht, fehlt noch ein TypeCast
8
Modules / Re: OneForAll AnyItems snippet - skip first 1, 2 or 3 items?
« Last post by CodeALot on November 03, 2025, 08:06:21 PM »
Works! Thanks a lot :-)
9
Modules / Re: OneForAll AnyItems snippet - skip first 1, 2 or 3 items?
« Last post by sternchen8875 on October 30, 2025, 01:39:54 AM »
i think, its a easy job, but i cannot test it

i add a 4th parameter and call it offset. offset specifies, how many records to skip from the beginning of a result set before starting to return the data

the other parameters

section_id - the section_id  ;-)
limit - How many items do you want to show?
order - true == ASC, false == DESC

some examples

the first 3 items
Code: [Select]
oneforall_anyitems(123, 3);
or
Code: [Select]
oneforall_anyitems(123, 3, true, 0);
the next 3 items, but not item #1 - #3
Code: [Select]
oneforall_anyitems(123, 3, true, 3); // LIMIT 3, OFFSET 3
only item #5
Code: [Select]
oneforall_anyitems(123, 1, true, 4); // LIMIT 1, OFFSET 4
i hope, it works
10
Modules / OneForAll AnyItems snippet - skip first 1, 2 or 3 items?
« Last post by CodeALot on October 29, 2025, 10:11:34 PM »
I'd like to use the OneForAll Anyitems where it reads the records of a OFA section but skips the first X items. Any tips on how to achieve that? Maybe another parameter to tell Anyitems to do that?
Pages: [1] 2 3 ... 10
  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2