Problem with initial setup

Help
Jack Boyce
2008-04-29
2012-10-11
  • Jack Boyce

    Jack Boyce - 2008-04-29

    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?

     
    • Jack Boyce

      Jack Boyce - 2008-04-30

      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!

       
    • Reini Urban

      Reini Urban - 2008-04-29

      It would have helped if you would have shown your offending config.ini line.

      What if you set
      DATABASE_TYPE=ADODB
      or
      DATABASE_TYPE=SQL

      PHP parse_ini_file() just uses the MS-API GetPrivateProfileString32()
      I don't believe that there is some SW error.

       
    • Kyle Thomas

      Kyle Thomas - 2008-04-29

      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

      Kind Regards,
      Kyle

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks