:bemused: Windows 2003 Server / IIS 6.0 / PHP 5.0.5

When trying to load phpMyAdmin or ZenCart index.php I get the following error message logged into the server console:

PHP Error:
Error parsing C:\PHP\browscap.ini on line 10640

The line 10640 was remarked out but the same line contiues to be reported in the error message.

If you say OK to the console error, both ZenCart and phpMyAdmin pages load as they should.

PHP.ini:
[browscap]
browscap=C:\PHP\extras\browscap.ini

PERMISSIONS:
C:\PHP\extras\browscap.ini
Internet Guest Account IUSR_SERVERNAME = Modify, Read & Execute, Read, Write (even tried Full Control)

What might be causing the parsing error and how do I fix it?

Thanks - Jody

    a month later

    When trying to load phpMyAdmin or ZenCart index.php I get the following error message logged into the server console:

    PHP Error:
    Error parsing C:\PHP\browscap.ini on line 10640

    The line 10640 was remarked out but the same line contiues to be reported in the error message.

    If you say OK to the console error, both ZenCart and phpMyAdmin pages load as they should.

    PHP.ini:
    [browscap]
    browscap=C:\PHP\extras\browscap.ini

    PERMISSIONS:
    C:\PHP\extras\browscap.ini
    Internet Guest Account IUSR_SERVERNAME = Modify, Read & Execute, Read, Write (even tried Full Control)

    What might be causing the parsing error and how do I fix it?

    Thanks - Jody[/QUOTE]

    Hi,
    In my browscap.ini, there were several entries with ! in them. After I removed all of those entries, it mysteriously parsed ok. I think maybe the ! has to be escaped somehow? but i don't know how.

    Example:
    [Y!OASIS/*]
    parent=Yahoo
    browser=Y!OASIS
    stripper=True

    I removed that whole section and the next parse error was:
    [Searchmee! Spider v0.98a]
    parent=Search Engines
    browser=Searchmee!

    ...

    If anybody else can shed some light on this, I'd appreciate.

    -dave

      Write a Reply...