• Resolved runBy

    (@runby)


    Hi, I have loaded the plugin, and have successfully created albums and uploaded pictures to them. The problem is that I can’t seem to edit an existing album, and I only get an error. If I try to change any attribute of the album including the title, description, parent etc, I get the error stating simply “Album could not be updated.” If I edit the album data directly using phpMyAdmin, there is no problem and the data updates. I have tried unsuccessfully to find any log files, or any further error messages.

    Does anyone else have some light to shed on this problem?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Do the following:
    Place define('WP_DEBUG', true); in wp-config.php and try again.
    This will most likely produce an informative errormessage.
    Copy the complete errormessage into this forum, and i – again most likely – can fix your problem.

    Thread Starter runBy

    (@runby)

    Hi, and thanks for the response. After turning on the debugging and attempting to change the Description field, the following error message was returned:

    WordPress database error: [Incorrect integer value: ” for column ‘main_photo’ at row 1]
    UPDATE wp_wppa_albums SET name = ‘Test2’, description = ‘A second test. Can I update you? No, I can\\'t.’, main_photo = ”, a_order = 0, a_parent = 0, p_order_by = ‘0’, cover_linkpage = ‘0’ WHERE id = 4

    I found that once I changed the album cover from random to a specific photo, I could update the album successfully! ?? Thanks for leading me to find the workaround!

    runBy

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Thanx for your info. So it is dependant of the sql settings.
    I will fix this in a later rev by supplying a default version there.

    Thread Starter runBy

    (@runby)

    No problem, and thank you for a great plugin! ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WP Photo Album Plus] Cannot edit existing albums’ is closed to new replies.