Minor corrections to PDO Sphider versions

It has come to our attention there are typos in the code for all PDO versions. For the normal PDO (MySQL/MariaDB), spider.php and spiderfuncs.php have been slightly modified. Spider.php had a single typo. Sphiderfuncs.php was missing 5 lines of code. While the version number is unchanged, the new download is designated as 2.0.0a.

For the PostgreSQL and SQLite versions, only sphider.php contained a single typo each. No other files are affected. As with the regular PDO, the version is unchanged by the download designations are shown as 2.0.0a.

Our apologies for the inconvenience. During testing of all these versions. these anomalies were uncaught and thus it seems that, for the most part, crawling functionality was not adversely impacted, although it COULD be under certain circumstances.

Our deepest thanks go out to Ed Parrish for having caught these issues.

4 Responses to Minor corrections to PDO Sphider versions

  1. The download link to the 2.0 PDO version is broken. I’m guessing that you probably took it down to fix the problems that you mention here, but the page you get after clicking the link will confuse a lot of people.

    I’m really looking forward to trying this out. I was a Sphider user years back, and have been looking for an updated version for a long time. Thanks for releasing this!

  2. Hi Captain Quirk

    Re: Sphider-2.0.0a-PDO – parse error when indexing

    I registered on the Sphider Forum yesterday and posted today. I understand that posts are subject to moderation but can’t seem to see any acknowledgement that my post has been received – so I’m not sure if it has been received at all!

    Here’s what I posted/tried to post (without the mentioned attachments – I don’t think I can leave an attachment on this form). Perhaps you’d be kind enough to get back to me if you can help. Thank you.

    Webbo
    paul@webstersites.net

    /* STARTS */

    Please excuse my preamble before I pose my question; but I’m keen to stress how much I want to get this working! 🙂

    I’ve been a long time (happy) user of the original Sphider and it ran fine on my previous shared hosting package (which was using an older version of PHP}. I recently moved to VPS which uses a current PHP version. The original Sphider (as you’re fully aware – hence your fabulous work to upgrade it) won’t install because of deprecated/removed MySQL.

    I bought Sphider-plus (as encouraged by its author) but was put off my the complex adjustments needed on the server – which I also thought may compromise security.

    Having discounted Sphider-plus, I looked for alternatives. Google Custom Search does a great job, but I don’t want competitor products advertised. SiteLevel seems to provide a weak alternative; but I can’t get it to NOT index every page of the site (including the navigation menu) whatever I try (including robots.txt and noindex solutions). Every search then returns every single page. Not good!

    While searching for yet another alternative, I was overjoyed yesterday to stumble across your site and was excited to see your updates/modifications to the project. I’m not that conversant with WHM and am not sure exactly what software is running on my VPS. I installed Sphider 2.0.0 but it didn’t work, so I assume my configuartion doesn’t support MySQLi WITH MySQLnd. I then installed Sphider 2.0.0a-PDO and it installed fine, so I presume the prerequisites have been met.

    After updating the settings, I ran ‘Start Indexing’ and get:

    Parse error: syntax error, unexpected ‘[‘, expecting ‘,’ or ‘;’ in /home/foo/public_html/sphider-2.0.0a-PDO/admin/spider.php on line 235

    I’m no wizard on PHP. I’ve attached a snippet from my spider.php file just in case there’s a syntax error there.

    Also attached is a screen dump of my settings; perhaps I’ve configured something wrong?

    I SO want this to work – any advice would be greatly appreciated. 🙂

    Thank you in advance.

    Webbo

    /* ENDS */

Leave a Reply

Your email address will not be published. Required fields are marked *