• I did the Amazon S3 connection. I then did the google cloud settings but then went back to S3. Now the S3 connection is fine. However, I get the error “Media cannot be offloaded due to an invalid key file path.” My images are being transferred to s3. But I cannot make any changes in the settings.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Delicious Brains Support

    (@dbisupport)

    Hi @onurkk,

    WP Offload Media Support Team here. Thanks for reaching out with your query, we would be happy to assist!

    Are you using the constant AS3CF_SETTINGS in your wp-config.php file? If so, could you check if you still have the key-file-path setting there?

    https://deliciousbrains.com/wp-offload-media/doc/settings-constants/

    If so, please try removing that setting from the constant to see if that helps with the issue.

    If that doesn’t unlock WP Offload Media, kindly do the following as a last resort:

    1. In your database, go to your wp_options table, and look for the records with option name “as3cf_uploader_status” and option name that starts with “as3cf_uploader_batch_”.
    2. Once you find the 2 records, kindly delete them from the wp_options table. As always, kindly do a full backup of your database before performing any direct queries on it.

    Thread Starter onurkk

    (@onurkk)

    There is no as3cf_uploader_status and as3cf_uploader_status in wp_options table.
    There is only wpsn_as3cf_items table in my database.

    In the wp-config.php file, I only used the following code. I deleted it, again it does not allow me to make any changes. When I add the following code, the plugin works with my previous settings.

    define( ‘AS3CF_SETTINGS’, serialize( array(
    ‘provider’ => ‘aws’,
    ‘access-key-id’ => ‘access-key-id’,
    ‘secret-access-key’ => ‘secret-access-key’,

    Plugin Support Delicious Brains Support

    (@dbisupport)

    Hi @onurkk,

    Can you kindly send us an export of the options table records with option names that start with “as3cf”?

    Please also ensure that the loopback request test is passing in the “Tools” => “Site Health” WordPress admin page.

    For troubleshooting tips, please see our Background Processes doc.

    Thread Starter onurkk

    (@onurkk)

    I don’t see any errors on the sitehealth screen.
    I see ‘none’ in the ‘update_by_wp_cron’ job in cron events.

    I sent you the sql file as an e-mail.

    Plugin Support Delicious Brains Support

    (@dbisupport)

    Hi @onurkk,

    Thanks for sending the file. However, could you also send the export for the wp_options table, with option_names that begin with “as3cf”? The query would look something like:

    SELECT * FROM wp_options WHERE option_name LIKE ‘as3cf%’

    Could you also ensure that the constant AS3CF_SETTINGS is above/before the line /* That’s all, stop editing! Happy publishing. */ and the line with wp-settings.php

    Also, when you remove / comment out the constant AS3CF_SETTINGS, does it revert back to Google Cloud Storage? Maybe you already have a setting / access key saved in the database? You might want to remove that as well.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘I cannot change the settings.’ is closed to new replies.