• Resolved maportugal

    (@maportugal)


    “New images that will be added to the Media Library will be converted automatically.” – This isn’t working for me. How to solve? I already reviewed the configuration and still the problem persists.

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hi @maportugal,

    Thank you for your message.

    I want to see what might have gone wrong. Could you please follow the steps below?

    1. Go to the plugin settings.
    2. Go to the Help Center tab.
    3. Then the Expert Settings tab will appear in the top menu. Go to this tab.
    4. Activate the “Service mode” feature and save the changes.
    5. Upload a new image to the Media Library.
    6. After uploading the file, go back to the plugin settings (this should be done immediately after uploading the image).
    7. Go to the Help Center tab.
    8. Take a screenshot of the entire tab and send it to me.
    9. Dectivate the “Enable the service mode” feature in the Expert Settings tab and save the changes.

    With this information, I will check it out and get back to you.

    Best,
    Mateusz

    Thread Starter maportugal

    (@maportugal)

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Thank you very much @maportugal!

    Do you have access to the database to be able to make a query in phpMyAdmin?

    Thread Starter maportugal

    (@maportugal)

    Yes, I do, but your plugin wouldn’t need to depend on something so in-depth to work, would it?

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @maportugal Our plugin does not require this. This is only needed to perform a small test to diagnose the problem. Please follow the steps below:

    1. Go to the plugin settings.
    2. Go to the Help Center tab.
    3. Then the Expert Settings tab will appear in the top menu. Go to this tab.
    4. Activate the “Service mode” feature and save the changes.
    5. Upload a new image to the Media Library.
    6. After uploading the file, go back to the plugin settings (this should be done immediately after uploading the image).
    7. Go to the Help Center tab.
    8. Execute the following query in phpMyAdmin (use a different prefix for the table if it is not wp_options for you): SELECT * FROM wp_options WHERE option_name LIKE '%webpc_cron_request_response%'. Then send me what this query returned.
    9. Dectivate the “Enable the service mode” feature in the Expert Settings tab and save the changes.
    Thread Starter maportugal

    (@maportugal)

    I understand. I did what you advised and it gave me an error. Maybe this is it here?

    Error
    Query SQL: Copy Documentation

    SELECT * FROM wp_options WHERE option_name LIKE & LIMIT 0, 25
    MySQL Message: Documentation 1064 – You have a syntax error in your SQL next to ‘& LIMIT 0.25’ on line 1

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    There is no & LIMIT 0, 25 expression in my query. Here you will find more detailed instructions.

    Thread Starter maportugal

    (@maportugal)

    I noticed the error. Now it ran and the result was this:
    MySQL returned an empty set (e.g. zero records). (Query took 0.0002 seconds.)

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @maportugal Did you check this immediately after uploading the image to the Media Library?

    Thread Starter maportugal

    (@maportugal)

    Yes, and with service mode previously enabled.

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    I understand you, thank you @maportugal. I’m sorry, but I can’t help you in this situation. I can only help you here on the support forum. I have used all opportunities to perform tests that could pinpoint the source of the problem.

    Usually, automatic optimization does not work because something (e.g. some security plugin) blocks cron, but then the status of the cron request is saved in the Transients API and the problem can be diagnosed. In your case, saving this status doesn’t work, but I have no idea why this happens.

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @maportugal I have one more idea. I added a few lines to the plugin code that will enable very advanced debugging of the problem. Please follow these steps:

    1. Install this version of the plugin and replace the existing plugin version on your website.
    2. Upload a new image to the Media Library.
    3. Wait until the file is fully transferred and wait another minute after that.
    4. Send me the contents of the conversion-log.txt file that will be created in the root directory of your WordPress installation.
    Thread Starter maportugal

    (@maportugal)

    Okay, here goes. link.

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Thank you @maportugal! Let’s continue trying. Please follow these steps:

    1. Install this version of the plugin and replace the existing plugin version on your website.
    2. Delete the existing conversion-log.txt.
    3. Upload a new image to the Media Library.
    4. Wait until the file is fully transferred and wait another minute after that.
    5. Send me the contents of the conversion-log.txt file.
    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @maportugal Please tell me, did you manage to complete the above steps? I will be grateful for your response!

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘automatic conversion does not work’ is closed to new replies.