Menu

'Cannot find server' After Installation

Anonymous
2004-06-03
2012-10-11
  • Anonymous

    Anonymous - 2004-06-03

    I've followed the instructions contained within the INSTALL and INSTALL.mysql files to launch phpWiki 1.3.10 with Apache 2.0.49, mySQL 4.0.20a, and PHP 4.3.6 on Windows XP.  The wiki homepage reports that a virgin wiki is being loaded and displays a list of basic pages, as normal, but the browser is redirected to its "Cannot find server" page after a few seconds.

    Furthermore, I can access the basic pages (like AddCommentPlugin, AddingPages, AllPages, and so on), but PHP generates warnings along the lines of:

    C:\Program Files\Apache Group\Apache2\htdocs\phpwiki\lib\IniConfig.php:108: Notice[1024]: missing config setting for DEBUG

    C:\Program Files\Apache Group\Apache2\htdocs\phpwiki\lib\main.php:869: Notice[8]: Use of undefined constant DEBUG - assumed 'DEBUG'

    C:\Program Files\Apache Group\Apache2\htdocs\phpwiki\lib\WikiDB.php:168: Notice[8]: Use of undefined constant DEBUG - assumed 'DEBUG'

    Any ideas on how to produce a stable wiki?

     
    • Jonas Björnerstedt

      I have been trying to install phpwiki to work, also without succeeding. Each time I try a fresh install I get different problems.

      - The DEBUG message I fixed by adding DEBUG=0 (just guessing) in the ini file.

      - phpwiki insists on adding www to my domain name, whatever I write

      - Sometimes the install skips a bunch of plugins, sometimes not.

      I haven't found any info in the documentation how to do a fresh install without executing the mysql.sql and replacing all the files.

      Ease of installation is to me a signal of how mature a product is. I'm off looking for something else.

      Good luck,
      Jonas

       
      • Reini Urban

        Reini Urban - 2004-06-03

        >phpwiki insists on adding www to my domain name, >whatever I write

        That's not phpwiki. Thats your browser, because it cannot find the host. Looks like you played too much with the SERVER_* vars or a wrong DATA_PATH.

        Good bye.

         
    • Jonas Björnerstedt

      Sorry about being a bit dismissive in my last post. I was a bit dizzy after banging my head against the keyboard when the tenth installation attempt failed. After a good nights sleep, I want to be a bit more constructive:

      - It is better that installation is performed with a separate install script, rather than installion being done with the index.php script. Various projects like PostNuke use this approach. This way, clobbering an installation is easy. Once finished, the install.php is deleted.

      - Add DEBUG=0 (or whatever) to the defaults.

      - I really don't understand what is happening with the plugins. Sometimes I get a long list of ignored plugins, sometimes not. Could be a chmod problem with my ftp-client, I don't know. It would be nice to know what causes the install to ignore plugins.

      - I tried various things to get the hostname, like playing around with the SERVER_NAME(?) variable, like disabling, setting it to wiki.myserver.com or http://wiki.myserver.com. Didn't look like a browser or server thing, as relative urls worked fine when I uploaded a test script to my domain.

      - Sometimes it seemed like the config.ini file was ignored completely. I did not get the Swedish locale, etc. I don't know if this was due to some error in the ini file, an eol problem or something else.

      I liked the functionality of PhpWiki, when I tested an almost complete install. Comparing with 1.2.x, it also looks like a lot is happening.

      Jonas

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.