• Resolved antoinechapuset

    (@antoinechapuset)


    Hi,

    I’ve just activate your plugin to create my first feed.
    When I click on “Add new feed”, I only have two feed (“File Name” and “Channel” with only one choice “Google Merchant”)

    Screenshot here : https://www.zupimages.net/up/18/25/qbe1.png

    Then, I can’t click to both button “Save & Generate Feed” and “Save Feed”.
    And nothing happen.

    Any idea ?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Hello @antoinechapuset,

    Can you try to deactivate and then reactivate the plugin? Then check again.

    If that didn’t work, open the Control Tab, try to make a new feed and check if you see any error messages in the Control Tab.

    To open the Browser Console Tab press, depending on your preferred browser: CNTRL+SHFT+J (for Chrome) CNTR+SHFT+K (for Firefox) or F12 (for Explorer). If you work on a Mac: (CMD+OPT+J for Chrome or CMD+OPT+K for Firefox).

    Best regards,
    Michel

    Thread Starter antoinechapuset

    (@antoinechapuset)

    Hi Michel,

    Thank you for your reply and indeed, their are lot of resources who can’t be load (404 error)

    
    Failed to load resource: the server responded with a status of 404 (Not Found)
    /wp-content/plugins/wp-product-feed-manager/includes/data/js/wppfm_ajaxdatahandling.min.js%20defer:1 Failed to load resource: the server responded with a status of 404 (Not Found)
    wppfm_logic.min.js%20defer:1 Failed to load resource: the server responded with a status of 404 (Not Found)
    wppfm_feed-form-events.min.js%20defer:1 Failed to load resource: the server responded with a status of 404 (Not Found)
    wppfm_feed-form.min.js%20defer:1 Failed to load resource: the server responded with a status of 404 (Not Found)
    wppfm_data.min.js%20defer:1 Failed to load resource: the server responded with a status of 404 (Not Found)
    admin.php?page=wp-product-feed-manager-add-new-feed:408 GET https://[LINK]/wp-product-feed-manager/includes/user-interface/js/wppfm_support.min.js%20defer 404 (Not Found)
    admin.php?page=wp-product-feed-manager-add-new-feed:409 GEThttps://[LINK]/wp-product-feed-manager/includes/user-interface/js/wppfm_verify-inputs.min.js%20defer 404 (Not Found)
    admin.php?page=wp-product-feed-manager-add-new-feed:411 GET https://[LINK]/wp-product-feed-manager/includes/user-interface/js/wppfm_feed-html.min.js%20defer 404 (Not Found)
    admin.php?page=wp-product-feed-manager-add-new-feed:410 GET https://[LINK]/wp-product-feed-manager/includes/application/js/wppfm_feedhandling.min.js%20defer 404 (Not Found)
    admin.php?page=wp-product-feed-manager-add-new-feed:412 GET https://[LINK]/wp-product-feed-manager/includes/user-interface/js/wppfm_feed-list.min.js%20defer 404 (Not Found)
    admin.php?page=wp-product-feed-manager-add-new-feed:413 GET https://[LINK]/wp-product-feed-manager/includes/application/js/wppfm_object-attribute-meta.min.js%20defer 404 (Not Found)
    admin.php?page=wp-product-feed-manager-add-new-feed:414 GET https://[LINK]/wp-product-feed-manager/includes/application/js/wppfm_object-feed.min.js%20defer 404 (Not Found)
    admin.php?page=wp-product-feed-manager-add-new-feed:415 GET https://[LINK]/wp-product-feed-manager/includes/application/js/wppfm_general-functions.min.js%20defer 404 (Not Found)
    admin.php?page=wp-product-feed-manager-add-new-feed:416 GET https://[LINK]/wp-product-feed-manager/includes/data/js/wppfm_metadatahandling.min.js%20defer 404 (Not Found)
    admin.php?page=wp-product-feed-manager-add-new-feed:417 GET https://[LINK]/wp-product-feed-manager/includes/application/js/wppfm_channel-functions.js%20defer 404 (Not Found)
    admin.php?page=wp-product-feed-manager-add-new-feed:418 GET https://[LINK]/wp-product-feed-manager/includes/application/google/wppfm_google-source.js%20defer 404 (Not Found)
    

    I’ve reinstall the plugin and reinstall it but I’ve the same errors. Can I put the source manually by FTP ?

    Thank you,
    Antoine

    • This reply was modified 7 years, 12 months ago by Jan Dembowski.
    • This reply was modified 7 years, 12 months ago by Jan Dembowski. Reason: Fixed formatting
    Thread Starter antoinechapuset

    (@antoinechapuset)

    Hi Michel,

    Thank you for your reply and indeed, their are lot of resources who can’t be load (404 error)

    I’ve reinstall the plugin and reinstall it but I’ve the same errors. Can I put the source manually by FTP ?

    Thank you,
    Antoine

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    It seems that the javascripts needed to run the page are not loading or not found. Could you check if you can find the wppfm_ajaxhandling.min.js file in the wp-content/plugins/wp-product-feed-manager/includes/data/js folder on your server? If it’s not there please reinstall the plugin once more and make sure you have the correct authorities to write into the plugins folder.

    Then, if the file is there, please try to clear the cache of your browser. Usually you can try to load the page and then reset it with CNTRL-F5, but it depends on which browser you use.

    If the file is there and clearing the cache didn’t solve the issue, could you try to deselect other plugins as much as possible to check if one is causing a conflict here? If you find a plugin that causes a conflict, please let me know which that is so I can have a look at it.

    Best regards,
    Michel

    Thread Starter antoinechapuset

    (@antoinechapuset)

    The file is in the folder of the plugin.
    I desinstall and reinstall it again : same error.

    I deactivate all plug-in exept Woocommerce plugin and Real SSL and it’s the same error.

    wp-product-feed-manager/includes/data/js/wppfm_data.min.js%20defer 404 (Not Found)
    And many more
    What is the “%20defer” ?

    Thread Starter antoinechapuset

    (@antoinechapuset)

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Yes, I know. The user that had this issue as well, updated his WordPress version to the latest version and that solved the issue for him. But I think that is more a coincidence than an actual solution.

    What version of WordPress are you using?

    Thread Starter antoinechapuset

    (@antoinechapuset)

    Found it !

    It was in my child theme, in function.php …
    You have probably seen this code to defer the analysis of the JS file to increase the loading speed of the site

    //Defer Parsing JS
    function defer_parsing_of_js ( $url ) {
    if ( FALSE === strpos( $url, '.js' ) ) return $url;
    if ( strpos( $url, 'jquery.js' ) ) return $url;
    return "$url' defer ";
    }
    add_filter( 'clean_url', 'defer_parsing_of_js', 11, 1 );

    I just had a condition and delete a space (%20)

    function defer_parsing_of_js ( $url ) {
    if ( FALSE === strpos($url, '.js' ) ) return $url;
    if ( strpos($url, 'jquery.js' ) ) return $url;
    if ( strpos($url, 'wppfm_' ) ) return $url;
    return "$url' defer";
    }

    That’s all. It will be usefull for the future.

    Thank you for your support and your plugin 5*
    Have a nice day

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    That is a great find @antoinechapuset!

    Your find allowed me to replicate the issue and I identified that I sanitized all url’s in the wp_enqueue_script call with esc_url. That is not necessary and probably not a good practice and it caused this error to occur.

    So I removed that from the code and as of the next update this will be fixed and can’t happen again, thanks to you!

    Have a nice day to,
    Michel

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Can’t create a feed’ is closed to new replies.