Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter manojmp450

    (@manojmp450)

    Hi Peter,

    I just reverted the PHP version to 7.2.
    The MLF plugin shows all the subfolders, new folders and their respective content.
    I believe the plugin looks like it is operating like before.

    Thank you very much (and Alan as well) for your time and persistence on this issue. I greatly appreciate it.

    Cheers
    Manoj

    Thread Starter manojmp450

    (@manojmp450)

    Hi Peter,

    I’ll try out what you say today.
    But I have PHP v7.3.13. So that could be it.
    I’ll post what happens.

    Thanks.

    Regards
    Manoj

    Thread Starter manojmp450

    (@manojmp450)

    Hi Peter / Alan,

    “That should be altered to not do that.” Done.
    “Disable all plugins and check” Done. Subfolders still don’t appear.
    “Another theme” That may be difficult. Too much effort spent on current one.
    “duplicate entry is not a serious error”. Agree. I hoped the “Reset folder db” would have sorted that out though. But its not a problem now as I’ve moved the files that were causing the issue elsewhere.

    I will send the system information soon.

    Thanks for the help guys.

    Regards
    Manoj

    • This reply was modified 6 years, 3 months ago by manojmp450.
    • This reply was modified 6 years, 3 months ago by manojmp450.
    Thread Starter manojmp450

    (@manojmp450)

    Ok, are the mgmlp tables stored at a different location and not at public_html/wp-content/plugins//media-library-plus? This directory in cPanel was deleted when I deleted the plugin.

    After re-installing, I am basically back to square one. No sync errors, debug.log is clean, folder db in MLF Reset shows a proper table, but still no sub folders. The worst part is, even if I create a new folder under Uploads using MLF, it doesn’t even show this new folder but in cPanel the new folder has been created. :-/

    Edit: I created a folder in cPanel and then “check for new folders” in MLF. It says it has added the new folder but the tree doesn’t show it. If I try to create a new folder in MLF with the same name, it correctly says the folder exists. So the plugin is able to recognise the folders but the tree just doesn’t show it.

    • This reply was modified 6 years, 3 months ago by manojmp450.
    • This reply was modified 6 years, 3 months ago by manojmp450.
    • This reply was modified 6 years, 3 months ago by manojmp450.
    Thread Starter manojmp450

    (@manojmp450)

    Hi Peter,

    Thank you for the response.
    To answer the first question, yes, I can see the tree with only the parents with the white triangle/arrow and closed folder icon. When I click on the arrow/white triangle, it changes to black triangle and open folder icon. But the sub folders do not show.

    The debug option provided more information. I enabled debugging/log and generated the debug.log file.

    While syncing MLF on the Uploads folder (top most folder), I got the following error as a pop up.

    <div id=”error”><p class=”wpdberror”>WordPress database error:[Duplicate entry '8305' for key 'PRIMARY']<br />INSERT INTO wp_mgmlp_folders (post_id, folder_id) VALUES (8305, '8430')</p></div>{“phase”:”3″,”message”:”Adding woocommerce-placeholder.png”}

    I deactivated MLF, activated MLF Reset and checked the folder DB. There existed an entry for 8305 already and I guess this is why it gives this error. (This happened for 6 files, including non image files, which were in the Uploads folder. I moved them to a separate folder. The pop-ups didn’t show up after this, but still no sub folders.)

    After resetting the DB, when I try to see Folder DB, I get the error “WordPress database error: [Table ‘i3806984_wp2.wp_mgmlp_folders’ doesn’t exist]”. This is normal I believe since it has cleared the folder db.

    Now.. after Reset DB, when I go back to MLF Library, it shows the following error repeatedly, I guess for every image in the library. And no folder tree at all.

    Notice: Trying to get property ‘attached_file’ of non-object in /home/<user>/public_html/wp-content/plugins/media-library-plus/maxgalleria-media-library.php on line 2272
    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 4]
    select post_title, ID, wp_mgmlp_folders.folder_id from wp_posts LEFT JOIN wp_mgmlp_folders ON(wp_posts.ID = wp_mgmlp_folders.post_id) where ID =

    In MLF Reset, the folder db exists but without any data, just column headings.

    Sorry about the long text, but I just wanted to provide everything I could to help get a solution. I’ll try to delete and re-install the plugin.

    Regards
    Manoj

    Thread Starter manojmp450

    (@manojmp450)

    Ok, so I uninstalled the MLF plugin and re-installed and activated MLF. Folder structure still doesn’t show sub folders.

    I, then, did as per the FAQ and this time I could see MLF Reset in the dashboard. I reset the DB as instructed.

    “Deleteing mgmlp_folders
    Removing mgmlp_media_folder posts
    Done. You can now reactivate WordPress Media Library Folders.”

    Before resetting, I checked the DB and it does show the sub folders with correct parentage.

    After resetting the DB, I deactivated MLF Reset and activated MLF. But again, it still doesn’t show the sub folders. I tried “Check for new folders” and to “Sync” a parent folder which has sub folders, but to no avail.

    Am I missing anything?

    BTW, if I copy an image using cPanel to a parent folder and then use Sync in MLF, the new image shows up, but still no sub folders. And, if I try to create a sub folder in a parent, it doesn’t show up in MLF but in cPanel, it has created a sub folder. And, I can’t see the default MM sub folders under YYYY parent folder. :-/

    Cheers,
    Manoj

    • This reply was modified 6 years, 3 months ago by manojmp450.
    • This reply was modified 6 years, 3 months ago by manojmp450.
Viewing 6 replies - 1 through 6 (of 6 total)