Menu

Can't get past HomePage

Help
2002-03-24
2012-10-11
  • Liam Clancy

    Liam Clancy - 2002-03-24

    What a cool system!

    I have successfully installed and used wiki on my Mac OS X box, and it has worked straight out of the tar.

    On my public web host is another matter.

    My wiki is configured with MySQL - this is working fine.

    When first accessed the 'virgin' Wiki is created and everything looks great - all theme related stuff have the correct path etc.

    Problems start if I try to move to another page or create one.

    No matter what I change in index.php I either break the theme links, or still cannot get any other pages to show.

    After much browsing of the lists I think the problem is my host setup - it is Zeus server (config can be seen <a href="http://www.metafeather.net/admin/test.php">here</a>), which is gradually doing my nut.

    I've tried all the solutions for using PAGE_INFO, but there is no difference in behaviour. Consulted PrettyWiki et al.

    There has been some mention that php running as a cgi requires some different configs but not much info. Most of those seem to be with wikis that trhrow errors - mine does not.

    I have also already had to switch off reverse DNS and Logging as they try to use server_vars that are not available - perhaps I need to make a global change from http_server_vars to _env ? Again this does not change the display of the wiki, just gives me nicely formated warnings (not fatal errors).

    Any insight appreciated.

     
    • Liam Clancy

      Liam Clancy - 2002-03-24

      >No matter what I change in index.php I either break the theme links, or still cannot get any other pages to show.

      Forgot to mention that the HomePage always loads, no matter what page I try to load (no 404 errors)

       
    • Bill Harris

      Bill Harris - 2002-03-27

      I'm interested in this, too.  I got 1.2.0 and set it up according to INSTALL.flatfile.  It worked quickly and easily, and I added my first page well. 

      Then I went back to do more, and every page (all 2 of them) looks like the home page.  The URLs change, but nothing else does.  Obviously, I can't look in phpwiki/pages to see what's going on.  It's as if every URL finds the same page.

      Tips?  Suggestions?

      TIA,

      Bill

       
      • Steve Wainstead

        Steve Wainstead - 2002-03-27

        I can try an install on OSX in a couple of days and get back to you. I have a Powerbook at home but won't be able to touch it until Thursday night.

        ~swain

         
        • Liam Clancy

          Liam Clancy - 2002-03-28

          Thought I'd mention that an install of 1.3.3 on Mac OS X  (with Apache) works fine if the instructions are followed.

          A solution to either not having dbm compiled in or to not having MySQL, is to get on or other from Marc Lynaige's site -
          http://www.entrophy.ch/

          The problem on Zeus still stands as described in the original post.

          My Post-Nuke install has had similar problems with SERVER_VARS and their developers have a fix, so I will let you know I it throws some light on this issue.

          Regards, Liam

           
          • Oliver Dow

            Oliver Dow - 2002-03-29

            Liam and Steve

            Your input is much appreciated. I haven't run mysql before so this itself is a learning curve.

            My goal is to be running 1.3.3 on my own MacOSX server. I am currently running it with  a dbm flat file on a commercial IHP . The IHP has set up a database for me which I can access but I don't think I can create tables and there seems to be all sort of pear.db issues - so I have to sort that out. This will be a useful experience I'm sure.

            However to get back to my end goal - I believe I have php running ok on machine but there was no dbm present - which Steve said was the case with MacOSX at the moment. So perhaps the way forward as Liam suggests  is to try and install mysql or a dbm but the link: http://www.entrophy.ch/  - appears broken.

            I'm sort of way over my head here but this wiki concept is superb for my workplace and I want very much to keep using it.
            Suggestions that I can follow to the end goal would be much appreciated.

            Oliver

             
    • Oliver Dow

      Oliver Dow - 2002-03-27

      Previously I have been running 1.3.3 on a commercial Apache server - no problems.

      Now I am trying to run 1.3.3 on MacOSX. I believe I have configured the httpd for Php4 and I have tried to follow the directions as best I can in the Install MacOSX doc.

      However I get:
      Fatal error: Call to undefined function: dba_open() in /Library/WebServer/Documents/phpwiki/lib/DbaDatabase.php on line 32

      Any help would be appreciated.

       
      • Steve Wainstead

        Steve Wainstead - 2002-03-27

        Yes, if you do not set up PhpWiki to use a relational database like MySQL, it will by default try to set up a DBM file based database; Mac OSX does not have DBM support included (or at least the version of PHP included does not).

        1.3.x doesn't support flat files (yet), so unless you are willing to set up a RDBMS you will have to use PhpWiki 1.2 with a flat file setup for now.

        ~swain

         
    • Bill Harris

      Bill Harris - 2002-03-27

      ...and the answer (to my question) is...

      Upgrade 1.2.0 to 1.2.2.

      Seems to work well.

       
    • Liam Clancy

      Liam Clancy - 2002-03-31

      My Mistake(tm)

      Here - http://www.entropy.ch/ is where to get the Mac OS X pkg's of MySQL and a pre-compiled version of PHP with everything in it.

      Marc's instructions are very good and he keeps these uptodate.

      Liam

       
    • Liam Clancy

      Liam Clancy - 2002-04-08

      I've worked this out - and it is to do with the Zeus env_vars

      Solution for my case here = https://sourceforge.net/tracker/index.php?func=detail&aid=541193&group_id=6121&atid=106121

      I'm Sure someone knows a cleaner way to do this.

      Liam

       

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.