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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
>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)
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
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
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
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
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.
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
...and the answer (to my question) is...
Upgrade 1.2.0 to 1.2.2.
Seems to work well.
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
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