Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter petemarshall82

    (@petemarshall82)

    Not sure if these are any help? (I’ve xxxx’d the password)

    [Fri Oct 20 14:49:35.151814 2017] [:error] [pid 7631] [client 54.155.11.208:50989] PHP Warning: simplexml_load_string(): Entity: line 5: parser error : StartTag: invalid element name in /var/www/sr2rec/htdocs/wp-content/plugins/wpbroadbean/inbox.php on line 32
    [Fri Oct 20 14:49:35.151882 2017] [:error] [pid 7631] [client 54.155.11.208:50989] PHP Warning: simplexml_load_string(): <password>xxxxxxxxxxx;/password> in /var/www/sr2rec/htdocs/wp-content/plugins/wpbroadbean/inbox.php on line 32
    [Fri Oct 20 14:49:35.151894 2017] [:error] [pid 7631] [client 54.155.11.208:50989] PHP Warning: simplexml_load_string(): ^ in /var/www/sr2rec/htdocs/wp-content/plugins/wpbroadbean/inbox.php on line 32
    [Fri Oct 20 14:49:49.319127 2017] [:error] [pid 7514] [client 54.155.11.208:51022] PHP Warning: simplexml_load_string(): Entity: line 5: parser error : StartTag: invalid element name in /var/www/sr2rec/htdocs/wp-content/plugins/wpbroadbean/inbox.php on line 32
    [Fri Oct 20 14:49:49.319189 2017] [:error] [pid 7514] [client 54.155.11.208:51022] PHP Warning: simplexml_load_string(): <password>xxxxxxxxxxx;/password> in /var/www/sr2rec/htdocs/wp-content/plugins/wpbroadbean/inbox.php on line 32
    [Fri Oct 20 14:49:49.319201 2017] [:error] [pid 7514] [client 54.155.11.208:51022] PHP Warning: simplexml_load_string(): ^ in /var/www/sr2rec/htdocs/wp-content/plugins/wpbroadbean/inbox.php on line 32

    Many thanks
    Pete

    Hi Mark, thanks for looking at this.

    Ah yes, strange something odd in the copy and paste I think. Just checked what’s going into the network portal and it’s closed properly.

    When doing the test request I still get an 500 Internal Server Error with this response…

    HTTP/1.1 500 Internal Server Error
    Cache-Control: no-cache, must-revalidate, max-age=0
    Connection: close
    Date: Wed, 25 Oct 2017 07:43:09 GMT
    Server: Apache/2.4.18 (Ubuntu)
    Content-Length: 3445
    Content-Type: text/html; charset=utf-8
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Client-Date: Wed, 25 Oct 2017 07:43:11 GMT
    Client-Peer: 109.69.87.79:443
    Client-Response-Num: 1
    Client-SSL-Cert-Issuer: /C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CA
    Client-SSL-Cert-Subject: /OU=Domain Control Validated/OU=PositiveSSL/CN=sr2rec.co.uk
    Client-SSL-Cipher: ECDHE-RSA-AES128-SHA256
    Client-SSL-Socket-Class: IO::Socket::SSL
    Title: WordPress a?o Error
    X-Meta-Robots: noindex,follow
    X-Meta-Viewport: width=device-width
    X-UA-Compatible: IE=edge

    <!DOCTYPE html>
    <!– Ticket #11289, IE bug fix: always pad the error page with enough characters such that it is greater than 512 bytes, even after gzip compression abcdefghijklmnopqrstuvwxyz1234567890aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz11223344556677889900abacbcbdcdcededfefegfgfhghgihihjijikjkjlklkmlmlnmnmononpopoqpqprqrqsrsrtstsubcbcdcdedefefgfabcadefbghicjkldmnoepqrfstugvwxhyz1i234j567k890laabmbccnddeoeffpgghqhiirjjksklltmmnunoovppqwqrrxsstytuuzvvw0wxx1yyz2z113223434455666777889890091abc2def3ghi4jkl5mno6pqr7stu8vwx9yz11aab2bcc3dd4ee5ff6gg7hh8ii9j0jk1kl2lmm3nnoo4p5pq6qrr7ss8tt9uuvv0wwx1x2yyzz13aba4cbcb5dcdc6dedfef8egf9gfh0ghg1ihi2hji3jik4jkj5lkl6kml7mln8mnm9ono
    –>
    <html xmlns=”https://www.w3.org/1999/xhtml&#8221; lang=”en-GB”>
    <head>
    <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
    <meta name=”viewport” content=”width=device-width”>
    <meta name=’robots’ content=’noindex,follow’ />
    <title>WordPress › Error</title>
    <style type=”text/css”>
    html {
    background: #f1f1f1;
    }
    body {
    background: #fff;
    color: #444;
    font-family: -apple-system, BlinkMacSystemFont, “Segoe UI”, Roboto, Oxygen-Sans, Ubuntu, Cantarell, “Helvetica Neue”, sans-serif;
    margin: 2em auto;
    padding: 1em 2em;
    max-width: 700px;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.13);
    box-shadow: 0 1px 3px rgba(0,0,0,0.13);
    }
    h1 {
    border-bottom: 1px solid #dadada;
    clear: both;
    color: #666;
    font-size: 24px;
    margin: 30px 0 0 0;
    padding: 0;
    padding-bottom: 7px;
    }
    #error-page {
    margin-top: 50px;
    }
    #error-page p {
    font-size: 14px;
    line-height: 1.5;
    margin: 25px 0 20px;
    }
    #error-page code {
    font-family: Consolas, Monaco, monospace;
    }
    ul li {
    margin-bottom: 10px;
    font-size: 14px ;
    }
    a {
    color: #0073aa;
    }
    a:hover,
    a:active {
    color: #00a0d2;
    }
    a:focus {
    color: #124964;
    -webkit-box-shadow:
    0 0 0 1px #5b9dd9,
    0 0 2px 1px rgba(30, 140, 190, .8);
    box-shadow:
    0 0 0 1px #5b9dd9,
    0 0 2px 1px rgba(30, 140, 190, .8);
    outline: none;
    }
    .button {
    background: #f7f7f7;
    border: 1px solid #ccc;
    color: #555;
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    line-height: 26px;
    height: 28px;
    margin: 0;
    padding: 0 10px 1px;
    cursor: pointer;
    -webkit-border-radius: 3px;
    -webkit-appearance: none;
    border-radius: 3px;
    white-space: nowrap;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    -webkit-box-shadow: 0 1px 0 #ccc;
    box-shadow: 0 1px 0 #ccc;
    vertical-align: top;
    }

    .button.button-large {
    height: 30px;
    line-height: 28px;
    padding: 0 12px 2px;
    }

    .button:hover,
    .button:focus {
    background: #fafafa;
    border-color: #999;
    color: #23282d;
    }

    .button:focus {
    border-color: #5b9dd9;
    -webkit-box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
    box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
    outline: none;
    }

    .button:active {
    background: #eee;
    border-color: #999;
    -webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
    box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
    -webkit-transform: translateY(1px);
    -ms-transform: translateY(1px);
    transform: translateY(1px);
    }

    </style>
    </head>
    <body id=”error-page”>
    <p>Error: Sorry username and/or password are not valid.</p></body>
    </html>

    Sure Mark, thanks for taking a look…

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <job>

    <!–
    This is either an “add” or “delete” command
    –>
    <command>add</command>
    <username>username</username><!– you add this in the plugin settings page –>
    <password>password</password><!– you add this in the plugin settings page –>

    <job_title><![CDATA[WordPress Developer]]></job_title>

    <!–
    The description of the job – standard html writing tags are allowed
    but no script or style tags should be allowed.
    –>
    <job_description><![CDATA[This is the description of the job which can contain some HTML such as:

    • A list item
    • Another list item

    ]]></job_description>
    <short_description>The job short description. This is the post excerpt.</short_description>

    <!–
    All of these nodes for job type, location, industry and skills
    should be sent as a comma seperated list of values
    e.g. for Location it could be Dublin, Cork
    Job industry, type and location should be chosen from a pre-defined list
    therefore a select input would work well.
    Job skills can be a free text input, making sure skills are seperated with a comma
    –>
    <job_type>Permanent</job_type><!– one of either Contract or Permanent –>
    <job_location>London</job_location><!– standard Broadbean location list –>
    <job_industry>IT</job_industry>

    <!–
    Commas seperated list of appropraite skills – free text – optional
    –>
    <job_skills>PHP, HTML, Javascript</job_skills>

    <!–
    Job Start date can be a free text input. Therefore the user
    could adda date or string based date. All these would be fine:
    01-12-2015 or 1st December 2015 or ASAP
    –>
    <job_startdate>ASAP</job_startdate>

    <!–
    This is the aplitrak email address where applicants applications are
    sent to so they are tracked in Adcourier.
    –>
    <application_email>[email protected]</application_email>

    <!–
    Just a standard text input for the jobs reference
    –>
    <job_reference>abc123</job_reference>

    <!–
    Salary to and salary from are integers
    –>
    <salary_from>25000</salary_from>
    <salary_to>30000</salary_to>

    <!–
    This should be a select choice of either
    day, week, month or annum (sent lowercase)
    –>
    <salary_per>annum</salary_per>

    <!–
    This should be a select choice of either
    GBP or EUR (sent uppercase)
    –>
    <salary_currency>GBP</salary_currency>

    <!–
    Salary should be a standard text field to
    add salart information along with benefits etc.
    –>
    <salary>Up to €30,000 plus hardware allowance.</salary>

    <!– all optional –>
    <contact_email>[email protected]</contact_email>
    <contact_tel>01234 567 890</contact_tel>
    <contact_name>John Smith</contact_name>
    <contact_url>https://compnay.com/contact/</contact_url&gt;

    <!– interger number of days –>
    <days_to_advertise>28</days_to_advertise>

    <!– free text string no html or character limit –>
    <job_duration>6 months</job_duration>

    <!– valid date in the format DD/MM/YYYY –>
    <job_start_date>01/01/2016</job_start_date>

    </job>

    Hi, I seem to be having the same problem integrating https://www.sr2rec.co.uk with Broadbean’s Network Portal and they aren’t being particularly helpful.

    Username a pWord are 100% correct but get the error ‘Missing or Invalid XML in “Test Data” input’ I’m using the same XML as per above but changing uName and pWord.

    When I look at the bottom of the response tab in the Network Portal it says ‘Error: Sorry username and/or password are not valid.’ but they are definitely not.

    Broadbean’s support say ‘Your server must be expecting extra fields to be included in the XML.’

    Any help would be massively appreciated.

    Many thanks
    Pete

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