• Resolved dionysiusstealth

    (@dionysiusstealth)


    Hi. I have a problems with importing of settings.
    I go to SEO -> Tools -> Export Settings, and get the archive.
    I’m uploading the archive, but recipient site says, that
    Settings could not be imported: No settings found in file.

    I researched this issue, and found that removing INI_SCANNER_RAW directive from wp-content/plugins/wordpress-seo/admin/import/class-import-settings.php:153 solves it.

    But it’s bad practice. I’ve tried to check data, and found, that INI file contains next rows:

    rssbefore = "%%BLOGLINK%%^M
    %%POSTLINK%%"
    rssafter = "%%BLOGLINK%%^M
    %%AUTHORLINK%%"

    i.e. line returns are present in the values of parameters.

    I didn’t find any WP filters or hooks in your code, for fixing it myself. And now I have to unpack ZIP-archive and modify INI-file manually, for being able to use it.

    May you solve it?
    I use WP 5.0.2 and YoastSEO 9.0.3

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    Based on the information you provided, we expect this to be a bug. We’re actively using the bug tracking on our GitHub repository so your best next step would be to create a new issue for our developers at https://github.com/Yoast/wordpress-seo/issues/new. You will need an account to create a new issue. If this is your first bug report, please check out: https://kb.yoast.com/kb/how-to-write-a-good-bug-report/.

    Don’t forget to include the URL to this conversation in your bug report.

    Thread Starter dionysiusstealth

    (@dionysiusstealth)

    :see_no_evil: Thx. I knew it’s a bug, from the begining.

    Seems like Yoast’s support and Yoast”s developers are in conflict, and doesnt speak each other.

    Ok…

    Plugin Support amboutwe

    (@amboutwe)

    Although it’s likely a bug, it’s not be something we will fix; at least not for the zip export/import.

    The reason: we recently changed the export settings to not use zip files at all so the issue doesn’t happen in the current version (exporting default settings). v9.0.3 is multiple versions behind the current 9.3 version.

    v9.2 Changelog entry
    Replaces Settings ZIP download (export) and upload (import) functionality with Settings fields.

    Please update the plugin to 9.2 or higher on both the exporting site and the importing site to access the new export/import options.

    As for the versions prior to 9.2, this seems to be related to a line break in the RSS before/after setting. Please go to Admin > SEO > Search Appearance > RSS tab and remove any line breaks before exporting the zip file.

    • This reply was modified 5 years, 10 months ago by amboutwe.
    Thread Starter dionysiusstealth

    (@dionysiusstealth)

    9.2 doesn’t solve the problem. It’s only different form of the same issue – multistring parameters are not able to be imported.

    https://github.com/Yoast/wordpress-seo/issues/11964

    Hi,

    We’d like to take a closer look at this and reproduce the issue but just to clarify the issue is happening because you have:

    %%BLOGLINK%%^M %%POSTLINK%%

    In your before and after RSS fields (via SEO-Search Appearance-RSS)?

    If not, can you elaborate more on what exactly you have in those fields?

    Thread Starter dionysiusstealth

    (@dionysiusstealth)

    https://prnt.sc/m4h295

    %%BLOGLINK%%
    %%POSTLINK%%

    “^M” is shown because I used vim, when opened INI-file.

    Hi,

    Thank you for that information. This is a bug. We have expanded upon the issue as reported here: https://github.com/Yoast/wordpress-seo/issues/11964. As this is a bug we will close this issue here.

    If you have questions about the bug we ask that you please comment on the open Github issue.

    Thread Starter dionysiusstealth

    (@dionysiusstealth)

    Thx. I’ll be waiting for resolving.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Import/Export issue’ is closed to new replies.