AJAX Attribute Manager

trying to save templates in vain! - AJAX Attribute Manager

trying to save templates in vain!

by m0fix » Tue Nov 14, 2023 3:34 pm

Hi raiwa,

[phoenix]
version = 1.0.8.20

[system]
date = 2023-11-14 16:19:38 +0100 CET
os = Linux
kernel = 5.15.0-88-generic
uptime = 16:19:38 up 42 min, 1 user, load average: 0,21, 0,28, 0,33
http_server = Apache/2.4.52 (Ubuntu)

[mysql]
version = 10.6.12-MariaDB-0ubuntu0.22.04.1
server_info = 5.5.5-10.6.12-MariaDB-0ubuntu0.22.04.1
date = 2023-11-14 16:19:38
offset = 01:00
time_zone = CET

[php]
version = 8.1.2-1ubuntu2.14
zend = 4.1.2
sapi = apache2handler
int_size = 8
open_basedir = 0
memory_limit = 128M
error_reporting = 32767
display_errors = 1
allow_url_fopen = 1
allow_url_include = 0
file_uploads = 1
upload_max_filesize = 2M
post_max_size = 8M
disable_functions =
disable_classes =
enable_dl = 0
filter.default = unsafe_raw
zend.ze1_compatibility_mode = 0
unicode.semantics = 0
zend_thread_safty = 0
Screenshot from 2023-11-14 16-18-02.png
I set name and save then get warnings and nothing happens, any solution would be very appreciated dear,

thanks
m0fix
Member
Posts: 7
Joined: Mon Nov 13, 2023 12:59 pm
Phoenix Version:
Contact:

Re: trying to save templates in vain!

by raiwa » Tue Nov 14, 2023 3:54 pm

PHP 8.1 is not supported yet. Please use PHP 8.0
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Contact:

Re: trying to save templates in vain!

by m0fix » Tue Nov 14, 2023 7:59 pm

Screenshot from 2023-11-14 20-57-57.png
--> with version php8.0 no more warning or error but no template saved,
what do you suggest ? everything works well except the template
thanks.
m0fix
Member
Posts: 7
Joined: Mon Nov 13, 2023 12:59 pm
Phoenix Version:
Contact:

Re: trying to save templates in vain!

by raiwa » Wed Nov 15, 2023 8:30 am

There was an error in one line of code in:
admin\attributeManager\classes\attributeManager.class.php

I uploaded the update with the fix. You can update the complete package or just change in that file line 481 from:

Code: Select all

			if (0 != $newTemplateId) {
to:

Code: Select all

			if ($newTemplateId) {
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Contact:

Re: trying to save templates in vain!

by m0fix » Wed Nov 15, 2023 4:34 pm

done .
thanks for your quick support 8-)
m0fix
Member
Posts: 7
Joined: Mon Nov 13, 2023 12:59 pm
Phoenix Version:
Contact: