I'm trying to get a vanilla installation of 1.3.14 installed on my local machine (Mac OS X). I have MySQL installed and working correctly, and I created the tables with /schemas/mysql-initialize.sql
Next I made some basic edits to config/config.ini and then tried to load index.php. It gives me this error:
lib/IniConfig.php:313 Error: Invalid DATABASE_TYPE=DATABASE_TYPE. Choose one of SQL,ADODB,PDO,dba,file,flatfile,cvs,cvsclient
It appears that this line in IniConfig.php isn't parsing the config.ini file correctly:
$rs = @parse_ini_file($file);
Even when I revert to the factory default version of config.ini, I still get the error message. Anyone have any ideas?
Oops, this was a simple permissions problem -- the server didn't have read access to some of the files in /lib. Everything is working perfectly now. Thanks for the help!
It would have helped if you would have shown your offending config.ini line.
What if you set
PHP parse_ini_file() just uses the MS-API GetPrivateProfileString32()
I don't believe that there is some SW error.
This doesn't address the issue of setup on your local, but if you'd like to get some instant gratification just to see the phpwiki up and running quickly, you might consider having it installed by you hosting service, assuming it's offered. I'm using LunarPages for my hosting. I was able to install myself, via my control panel within minutes.
You can see the results of my wiki site at: http://tribalregistry.com