• Resolved mcjarod

    (@mcjarod)


    The attachment doesn’t work, after saving I check and the attachment is gone, I have WordPress 6,2

    • This topic was modified 1 year, 7 months ago by mcjarod.
Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author vkurko

    (@avsoft)

    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.


    Vladimir

    Thread Starter mcjarod

    (@mcjarod)

    Hi 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 1 year, 7 months ago by mcjarod.
    Plugin Author vkurko

    (@avsoft)

    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_files table in your database? For example, this can be done using the query SHOW CREATE TABLE wp_money_manager_files

    Plugin Author vkurko

    (@avsoft)

    If you still need help, please contact me at [email protected].

    Thread Starter mcjarod

    (@mcjarod)

    sorry this is the table
    https://drive.google.com/file/d/1om05PXdqEAiy6gXuonSDWt2KxGLO48G_/preview

    it’s empty ??

    • This reply was modified 1 year, 7 months ago by mcjarod.
    • This reply was modified 1 year, 7 months ago by mcjarod.
    • This reply was modified 1 year, 7 months ago by mcjarod.
    Plugin Author vkurko

    (@avsoft)

    @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.

    Thread Starter mcjarod

    (@mcjarod)

    I have the Versión 1.23.1 updated and tested and the problem continue

    Plugin Author vkurko

    (@avsoft)

    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.

    Thread Starter mcjarod

    (@mcjarod)

    is not possible just do an update, I think other could have the same problem. I was one of the first in test your application or may be simply tell me which change I should do.

    • This reply was modified 1 year, 7 months ago by mcjarod.
    • This reply was modified 1 year, 7 months ago by mcjarod.
    Plugin Author vkurko

    (@avsoft)

    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_files table 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);
    Thread Starter mcjarod

    (@mcjarod)

    done and solved thank you very much!!

    Plugin Author vkurko

    (@avsoft)

    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

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Attachment doesn’t work’ is closed to new replies.