• Resolved flobogo

    (@flobogo)


    Hello,

    I love this plugin that I use for family birthdays, on a private site.

    But i have a probleme: I can no longer modify or add events without a picture. Only events with an image are accepted (for addition or modification).
    When there is no image, I get an error message that indicates a problem with the database: Incorrect integer value.

    I didn’t have this problem previously. Updating the plugin hasn’t changed anything!

    What do you think about that?

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Spiffy Plugins

    (@spiffyplugins)

    Can you provide a screenshot showing the error?

    Plugin Author Spiffy Plugins

    (@spiffyplugins)

    Also, can you try again with all other plugins disabled to rule out a conflict of some sort?

    Thread Starter flobogo

    (@flobogo)

    Hi,

    Thanks for your interest to my problem.

    I tried with all plugins disabled (only Akismet was actived) … but the problem is still the same.

    Here are 2 screenshots:

    event with or without image

    error message when saving event without image

    About my configuration:
    – Version of WordPress : 5.3.2
    – Version of PHP/MySQL : 7.1.32 / 5.5.30

    I don’t understand, it worked very well a few months ago.

    Plugin Author Spiffy Plugins

    (@spiffyplugins)

    Can you create a new event with no image?

    Thread Starter flobogo

    (@flobogo)

    No, it’s the same bug: I get the same error message.

    To be sure, I also tried to create an event with image, and I don’t get error message: the event is well created.
    And if I try to create again an event without image, I still get the error.

    It is really the variable “image” which causes the error, either when creating or modifying an event.

    • This reply was modified 4 years, 10 months ago by flobogo.
    Plugin Author Spiffy Plugins

    (@spiffyplugins)

    It seems your DB is not allowing a blank stored image number. This is the first I have heard of this problem, but a fix should be easy enough.

    Can you contact me here so I can arrange to send you a new version to test when it is ready?

    https://spiffycalendar.spiffyplugins.ca/contact/

    Thread Starter flobogo

    (@flobogo)

    OK, I sent you a message.

    Plugin Author Spiffy Plugins

    (@spiffyplugins)

    Acutally the fix was quite small so I made a release, 4.4.1. Please let me know if this fixes your issue.

    Plugin Author Spiffy Plugins

    (@spiffyplugins)

    Just a correction to my previous comment.

    On my system a blank image id is converted to zero when saving the event into the DB. On your system it throws an error instead. I have now changed it to specify zero instead of blank so that the save doesn’t fail on your system.

    Thread Starter flobogo

    (@flobogo)

    Great, that’s it! It works well with or without image, to create or modify an event. I will be able to update family birthdays. ??
    A lot of thanks for the work done.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Database error without image’ is closed to new replies.