Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
PHP / Re: any problems with PHP 8.3 and later?
« Last post by venty on December 14, 2025, 03:39:25 PM »
I'm only familiar with MariaDB, not MongoDB.

Ok, and someone familiar with MongoDB :)
22
PHP / Re: any problems with PHP 8.3 and later?
« Last post by Starburst on December 14, 2025, 03:11:18 PM »
I'm only familiar with MariaDB, not MongoDB.
23
PHP / Re: any problems with PHP 8.3 and later?
« Last post by venty on December 14, 2025, 02:53:42 PM »
If you enable ionCube, PHP will give an error
Quote
Cannot load the ionCube PHP Loader – it was built with configuration API420220829,NTS, whereas running engine is API420230831,NTS
So if you need ionCube, you can find the fix at:
https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/ioncube-error-after-building-php-8-3-with-cwp-on-almalinux-8-9/
Hi,

thank you very much for your reply, I have implemented it and am now using New ionCube Loaders for PHP - 15.0.0 ....

When running the php -v command, it now returns me:

https://prnt.sc/ENfgxbafs75_

What to do and clear these errors…

BR
Venty
24
PHP / Re: any problems with PHP 8.3 and later?
« Last post by Starburst on December 12, 2025, 05:59:37 PM »
If you enable ionCube, PHP will give an error
Quote
Cannot load the ionCube PHP Loader – it was built with configuration API420220829,NTS, whereas running engine is API420230831,NTS
So if you need ionCube, you can find the fix at:
https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/ioncube-error-after-building-php-8-3-with-cwp-on-almalinux-8-9/
25
How to / Re: Clear alerts & notifications from CLI?
« Last post by Starburst on December 12, 2025, 05:56:31 PM »
Bravo! But if I'm not missing something, wouldn't it be easiest to empty the notifications like so:
Code: [Select]
echo '[]' > /usr/local/cwpsrv/htdocs/resources/admin/include/libs/notifications/notifications.json

@overseer I like it, simple and quick.
26
How to / Re: Clear alerts & notifications from CLI?
« Last post by Starburst on December 12, 2025, 05:55:32 PM »
And here, CWP actual said it could not be done...  ???
27
PHP / Re: any problems with PHP 8.3 and later?
« Last post by venty on December 11, 2025, 10:01:25 AM »
Just use PHP switcher, and select 8.3.25 with the modules you need/want.

WP 6.9 works fine with it.

Hi,

thank you very much for the answer...
Yes, this is the standard compilation of 8.3, but as far as I remember, something extra had to be done, something had to be added to some file and something else, were there instructions for that, please...

BR
Venty


28
How to / Re: Clear alerts & notifications from CLI?
« Last post by 6Sense on December 11, 2025, 04:57:00 AM »
Yup, works too!
29
How to / Re: Clear alerts & notifications from CLI?
« Last post by overseer on December 11, 2025, 04:30:35 AM »
Bravo! But if I'm not missing something, wouldn't it be easiest to empty the notifications like so:
Code: [Select]
echo '[]' > /usr/local/cwpsrv/htdocs/resources/admin/include/libs/notifications/notifications.json
30
How to / Re: Clear alerts & notifications from CLI?
« Last post by 6Sense on December 11, 2025, 04:02:52 AM »
A python solution is to create the below file called clear_notices.py in /usr/local/cwpsrv/htdocs/resources/admin/include/libs/notifications (when executed it simply replaces the notification data which is stored in an array with an empty array)

Code: [Select]
import json
filename = 'notifications.json'
clear_notifications = []

try:
    with open(filename, 'w') as json_file:
        json.dump(clear_notifications, json_file, indent=4)
    print(f"Successfully edited '{filename}' to be an empty array [].")
except FileNotFoundError:
    print(f"Error: The file '{filename}' was not found.")
except Exception as e:
    print(f"An error occurred: {e}")

You can then run in via the terminal

Code: [Select]
cd /usr/local/cwpsrv/htdocs/resources/admin/include/libs/notifications
python3 clear_notices.py

You can also set up up cron job to run it as often as you wish
Pages: 1 2 [3] 4 5 ... 10