Home Learn More Purchase Knowledge Base Support Contact

Community Forums

Forum » KBPublisher General discussion

Fatal Error while running install

(7 posts)

  1. vacheh
    Member

    I'm trying to run 'http://localhost/kbp/setup/index.php' after following the installation instructions but I am receiving the following errror:


    Fatal error: Cannot redeclare class CompareLang in C:\wamp\www\kbp\admin\lang\CompareLang.php on line 3


    tia

    Posted 4 months ago #
  2. This is some kind of weird error.
    What is your configuration? Web server, PHP, OS?

    Try to remove this file at all. It is helper file for translation and not required to run KBPublisher.

    Posted 4 months ago #
  3. vacheh
    Member

    I am running WAMP 2.0b on Windows XP Professional SP3 32-bit.
    Apache 2.2.8, MySQL 5.0.51a, PHP 5.2.5

    Removing this file and running setup again gives the following error:


    Warning: require_once(CompareLang.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\kbp\admin\lang\display_language.php on line 2


    Fatal error: require_once() [function.require]: Failed opening required 'CompareLang.php' (include_path='C:/wamp/www/kbp/admin/lib;C:/wamp/www/kbp/admin/lib/Pear') in C:\wamp\www\kbp\admin\lang\display_language.php on line 2

    Posted 4 months ago #
  4. As I said it is weird....
    The file display_language.php exists but it never included in any code.
    So it should not be executed when you run setup.

    It is interesting what happened if you delete this file (display_language.php)?

    WAMP 2.0b - does it mean beta? Try another one.

    Posted 4 months ago #
  5. bwiechel
    Member

    I am encountering this same error with the trial/test version.

    Apache 2.2.4
    PHP 5.2.3

    I tried deleting display_language.php, and still get the same error. After also deleting CompareLang.php, I got no error, but it also did not return any content -- it just sat hung. There seems to be no apparent redeclaration of the class CompareLang, yet the error is definitely showing up in the Apache error log.

    Posted 4 months ago #
  6. It seems combination PHP and IonCube loader issue.
    We are trying to find it out.

    Posted 4 months ago #
  7. We can reproduce this error on PHP 5.2.5 but everything is OK on 5.2.6
    Recommendation is to use 5.2.6 and above

    Posted 4 months ago #

RSS feed for this topic

Reply

You must log in to post.

© 2008 Double Jade LLC | customer.service@kbpublisher.com