jmcameron / attachments

Attachments Extension for Joomla 3, 4, and 5
GNU General Public License v3.0
12 stars 19 forks source link

Bug new release for joomla 4 #38

Closed ArnyLt closed 5 months ago

ArnyLt commented 5 months ago

Doesn t work :

image

JLTRY commented 5 months ago

Hello my questions:

-could you please set debug mode as true in the joomla configuration and capture the error with the full stack image

ArnyLt commented 5 months ago

Hello,

first : thank you.

what is your version of joomla ? => 4.4.2

did you do a 1st install or an upgrade? => First install but i have restaured the backup of the table Attachments from my old site (joomla 3.10.12) before installing your attachement package.

2024_01_23_08_53_06_Window

JLTRY commented 5 months ago

It seems you loose your parameters . The line is $params = ComponentHelper::getParams('com_attachments'); You should reinstall com_attachments or check your databse Normally you should have an entry in table joomxx_extensions com_attachments with value params = {"publish_default":"1","auto_publish_warning":"","default_access_level":"3","user_field_1_name":"","user_field_2_name":"","user_field_3_name":"","max_filename_length":0,"attachments_placement":"custom","allow_frontend_access_editing":"0","show_column_titles":"0","show_description":"1","show_creator_name":"0","show_file_size":"1","show_downloads":"0","show_created_date":"0","show_modified_date":"0","date_format":"Y-m-d H:i","sort_order":"filename","hide_on_frontpage":"0","hide_with_readmore":"0","hide_on_blogs":"0","hide_except_article_views":"0","always_show_category_attachments":"1","show_guest_access_levels":["1"],"hide_add_attachments_link":"0","max_attachment_size":0,"forbidden_filename_characters":"#=?%&","attachments_table_style":"attachmentsList","file_link_open_mode":"in_same_window","attachments_titles":"","link_check_timeout":"10","superimpose_url_link_icons":"1","suppress_obsolete_attachments":"0","login_url":"index.php?option=com_users&view=login","register_url":"index.php?option=com_users&view=registration","secure":"0","download_mode":"inline"}

ArnyLt commented 5 months ago

With a restauration of parameters, it works.

Thanks a lot for your help.