Attachment doesn’t work
-
The attachment doesn’t work, after saving I check and the attachment is gone, I have WordPress 6,2
-
This topic was modified 3 years, 1 month ago by
mcjarod.
-
This topic was modified 3 years, 1 month ago by
-
Hello @mcjarod
I just tested on WordPress 6.2 and it works for me. If you have access to your server logs, please send the logs for the time interval corresponding to the error to [email protected]. Also provide any other details that might help reproduce the issue.
VladimirHi Vladimir, thanks for your prompt response, I have access to my server logs but it doesn’t show any errors, but I can attach a video of what’s going on.
-
This reply was modified 3 years, 1 month ago by
mcjarod.
Thanks a lot for the video. Unfortunately, it doesn’t help much.
Can you send me information about the current structure of the
wp_money_manager_filestable in your database? For example, this can be done using the querySHOW CREATE TABLE wp_money_manager_filesIf you still need help, please contact me at [email protected].
sorry this is the table
https://drive.google.com/file/d/1om05PXdqEAiy6gXuonSDWt2KxGLO48G_/previewit’s empty π
@mcjarod What version of Money Manager are you using? The table structure in the screenshot is outdated, it was changed in version 1.15.0.
I have the VersiΓ³n 1.23.1 updated and tested and the problem continue
If the table structure has not changed, then for some reason the update was not successful. If you can provide access to your database, then I will try to fix it. Otherwise, I have no other solution than to reinstall the plugin, losing the data already entered, unfortunately.
I would release an update if I could reproduce the issue and identify the specific bug. Based on your data, unfortunately, it is not yet clear why your database has not been updated. I can give you a SQL query to create the desired
wp_money_manager_files, but it is quite possible that something else in your database is also broken.You need to drop the existing
wp_money_manager_filestable and create a new one with this query:create table wp_money_manager_files ( id bigint unsigned auto_increment primary key, account_id bigint unsigned null, transaction_id bigint unsigned null, attachment_id bigint unsigned not null, filename varchar(255) not null, description text null, url varchar(255) not null, created_at timestamp null, updated_at timestamp null, constraint wp_money_manager_file_acc_id_foreign foreign key (account_id) references wp_money_manager_accounts (id) on delete cascade, constraint wp_money_manager_file_txn_id_foreign foreign key (transaction_id) references wp_money_manager_transactions (id) on delete cascade ); create index wp_money_manager_file_att_id_index on wp_money_manager_files (attachment_id);done and solved thank you very much!!
Unexpectedly good news! π
If I were you, I would check the other tables as well. The correct structure for version 1.23.1 can be found at this link (this is a file with the plugin installation script). If you find any other inconsistencies in your database, please let me know.If you need more help, feel free to contact me again.
Vladimir
-
This reply was modified 3 years, 1 month ago by
The topic ‘Attachment doesn’t work’ is closed to new replies.