• Resolved tsukasa1989

    (@tsukasa1989)


    Hello,

    When I go to add a new message I want to add some of the Bol.com products.

    In the following code I replaced the domain name by [DOMAIN]. But I’m retrieving the following error:

    Selecteer producten om in te voegen
    
    Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 22: parser error : Opening and ending tag mismatch: HR line 22 and body in /home/nielsnh17/domains/[DOMAIN]/public_html/wp-content/plugins/bolcom-partnerprogramma-wordpress-plugin/vendor/netvlies/bol-openapi-php-sdk/src/BolOpenApi/Client.php on line 181
    
    Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Tomcat logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat</h3></body> in /home/nielsnh17/domains/[DOMAIN]/public_html/wp-content/plugins/bolcom-partnerprogramma-wordpress-plugin/vendor/netvlies/bol-openapi-php-sdk/src/BolOpenApi/Client.php on line 181
    
    Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/nielsnh17/domains/[DOMAIN]/public_html/wp-content/plugins/bolcom-partnerprogramma-wordpress-plugin/vendor/netvlies/bol-openapi-php-sdk/src/BolOpenApi/Client.php on line 181
    
    Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 22: parser error : Opening and ending tag mismatch: HR line 1 and html in /home/nielsnh17/domains/[DOMAIN]/public_html/wp-content/plugins/bolcom-partnerprogramma-wordpress-plugin/vendor/netvlies/bol-openapi-php-sdk/src/BolOpenApi/Client.php on line 181
    
    Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat</h3></body></html> in /home/nielsnh17/domains/[DOMAIN]/public_html/wp-content/plugins/bolcom-partnerprogramma-wordpress-plugin/vendor/netvlies/bol-openapi-php-sdk/src/BolOpenApi/Client.php on line 181
    
    Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/nielsnh17/domains/[DOMAIN]/public_html/wp-content/plugins/bolcom-partnerprogramma-wordpress-plugin/vendor/netvlies/bol-openapi-php-sdk/src/BolOpenApi/Client.php on line 181
    
    Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 22: parser error : Premature end of data in tag body line 1 in /home/nielsnh17/domains/[DOMAIN]/public_html/wp-content/plugins/bolcom-partnerprogramma-wordpress-plugin/vendor/netvlies/bol-openapi-php-sdk/src/BolOpenApi/Client.php on line 181
    
    Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat</h3></body></html> in /home/nielsnh17/domains/[DOMAIN]/public_html/wp-content/plugins/bolcom-partnerprogramma-wordpress-plugin/vendor/netvlies/bol-openapi-php-sdk/src/BolOpenApi/Client.php on line 181
    
    Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/nielsnh17/domains/[DOMAIN]/public_html/wp-content/plugins/bolcom-partnerprogramma-wordpress-plugin/vendor/netvlies/bol-openapi-php-sdk/src/BolOpenApi/Client.php on line 181
    
    Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 22: parser error : Premature end of data in tag html line 1 in /home/nielsnh17/domains/[DOMAIN]/public_html/wp-content/plugins/bolcom-partnerprogramma-wordpress-plugin/vendor/netvlies/bol-openapi-php-sdk/src/BolOpenApi/Client.php on line 181
    
    Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat</h3></body></html> in /home/nielsnh17/domains/[DOMAIN]/public_html/wp-content/plugins/bolcom-partnerprogramma-wordpress-plugin/vendor/netvlies/bol-openapi-php-sdk/src/BolOpenApi/Client.php on line 181
    
    Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/nielsnh17/domains/[DOMAIN]/public_html/wp-content/plugins/bolcom-partnerprogramma-wordpress-plugin/vendor/netvlies/bol-openapi-php-sdk/src/BolOpenApi/Client.php on line 181
    Geen producten gevonden

    All I do is “bol.com -> Productlink” type in the search word “hobit” and press “zoeken”.

    Thanks in advance,

    Niels den Otter

    http://wordpress.org/plugins/bolcom-partnerprogramma-wordpress-plugin/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Bol.com

    (@netvlies)

    Hi,

    Thank you for reporting this error. I could reproduce this error. It looks like when you search for ‘hobit’ results in an error at the Bol.com Open API side. The error you get is the given response from the Bol.com Open API.

    When you search for ‘Hobbit’ you will find results.

    Thread Starter tsukasa1989

    (@tsukasa1989)

    Thanks, so the keyword was broken, strange.

    Another question. How to go to step 2? I just see a list of products when I search and when I click on one, I go to bol.com instead of checking it to go to step 2.

    Since it says ‘Selecteer producten om in te voegen’, but I only go to bol.com. I don’t see a checkbox or anything.

    Thanks

    Niels den Otter

    Plugin Author Bol.com

    (@netvlies)

    When you see the list of product you can click on the ‘+’ sign in the right corner of a product block. When you click on it the product will move to the right side and then you can go to step 2. The products on the right side will be shown in the widget.

    Thread Starter tsukasa1989

    (@tsukasa1989)

    I see the issue, there is no + atm because there is no styling on the add link. I think the CSS is not connected in version 3.8

    Any way to fix this?

    Plugin Author Bol.com

    (@netvlies)

    I checked a WordPress 3.8 installation with the Bol.com plugin installed but when I add a product link and search for products I do see a + image.

    It is true that a css file can’t be found /wp-admin/css/colors-fresh.css but that one is not the one responsible for loading the icon.

    Can you check or you miss any files other that are not loaded successfully? This is the style applied to the icon.

    .bol_pml_element .toggle-product-icon {
    background: url(“../images/icon_add.gif”) no-repeat scroll left top rgba(0, 0, 0, 0);
    display: block;
    height: 24px;
    position: absolute;
    right: -12px;
    top: -12px;
    width: 24px;
    }

    You can check or the image is present via the following link:
    [your website url]/wp-content/plugins/bolcom-partnerprogramma-wordpress-plugin/resources/images/icon_add.gif

    Thread Starter tsukasa1989

    (@tsukasa1989)

    It is true that the file /wp-admin/css/colors-fresh.css could not be found. But I checked and I use a minify plugin to optimize my HTML, JS and CSS. It also minified these files where the colors-fresh.css could not be found and returned a 400 invalid request error. I created an empty CSS file and now it works.

    Thank you for the help.

    Plugin Author Bol.com

    (@netvlies)

    We checked or there were any files missing. The file
    wp-admin/css/colors-fresh.css is removed from the default WordPress admin styles in WordPress version 3.8.0 and 3.8.1. This style is used in the plugin.

    You can remove this line by yourself from the file:
    wp-content\plugins\bolcom-partnerprogramma-wordpress-plugin\src\ajax\popup\includes\header.inc.php

    <link rel=”stylesheet” type=”text/css” href=”<?php echo get_settings(‘home’) ?>/wp-admin/css/colors-fresh.css”>

    When you are using version 3.8.0 or 3.8.1 of WordPress. We will provide the real fix in the next release.

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

The topic ‘Error when searching a product’ is closed to new replies.