Menu

Install problems

Help
2006-03-25
2012-10-11
  • High Powered Help

    I am trying to get phpWiki to install, but the immediate errors I get are:

    Fatal Error:

    lib\FileFinder.php:193: Error: /tmp: file not found

    lib\IniConfig.php:220: Notice: missing config setting for ADMIN_USER (...repeated 2 times)

    lib\FileFinder.php:193: Error: /tmp: file not found

    Can anyone help me?

     
    • Maarten - Alexander Jongepier

      I think the problem is you haven't set the variable. In line 163 in my config/config.ini, there is it.

      162; You must set this! Username and password of the administrator.
      163 ADMIN_USER = "administrator"

      or something else of course

       
    • robert bateman

      robert bateman - 2006-04-21

      I get the same problems. setting the admin only gets rid of the admin messages. What i'm confused about is how to get rid of the lib\FileFinder.php:193 /tmp file not found error.

      It doesn't matter what i set the tmp directory to, it still reports the /tmp error (even when /tmp is no longer mentioned anywhere in the config file).

      Why is it still looking for /tmp, even after i tell it not to use /tmp ???

       
    • martin kaspar

      martin kaspar - 2006-06-11

      hell all

      just want to install the neweset version; Since the db with the tables is allready crated. now we have this here for the configuration.

      all i have to do is the fourth step:

      ..... 4. Edit the DATABASE settings in config/config.ini to reflect your settings.

      a) DATABASE_TYPE should be set to 'SQL' or 'ADODB'.
      b) DATABASE_DSN should be set to something like
             'mysql://guest@unix(/var/lib/mysql/mysql.sock)/phpwiki".
         (where 'phpwiki' is the mysql database name.)
          c) Note that if you set DATABASE_PREFIX to a 
             non-empty string, you will have to edit
             schemas/mysql-initialize.sql before you perform step
             three (above).  (Sorry.)  (You might also edit
             schemas/mysql-destroy.sql at the same time, so you
             don't forget.)
      

      yyyyyyyyyyyyyyyyyyyyyyyyyyyy

      the config/config-default.ini has a bunch of options but i am pretty sure that i have an ADODB layer....

      wha t does mean the statement i c) - my DATABASE is called php_Wiki - what should i take for the prefix!?

      is it enough if i set the following lines

      DATABASE_TYPE = dba
      DATABASE_PREFIX = ""
      DATABASE_SESSION_TABLE = session
      DATABASE_DIRECTORY = /tmp
      DATABASE_DBA_HANDLER = gdbm
      DATABASE_TIMEOUT = 20
      DATABASE_PERSISTENT = false

      question: these lines are out of the the config/config-default.ini:

      am i right: are thoese lines all i have to edit. Don ´t i have to edit more!? ARE THE ONLY lines to edit in the config/config-default.ini:

      many thansk for any help - thanks in advance.

      greetings metabo

       
    • MadMM

      MadMM - 2006-06-18

      Got the same problem: lib\FileFinder.php:191 /tmp file not found

      Tried to solve the problem by editing the config.ini:
      DEFAULT_DUMP_DIR = /wiki/tmp/wikidump
      HTML_DUMP_DIR = /wiki/tmp/wikidumphtml

      or /tmp or /sitename/wiki/tmp/

      Nothing worked, please help me!

       
      • Reini Urban

        Reini Urban - 2006-06-20

        TEMP_DIR = /wiki/tmp
        PLUGIN_CACHED_CACHE_DIR = /wiki/tmp/cache

        The others you dont need at run-time, the are just defaults:
        DEFAULT_DUMP_DIR = /wiki/tmp/wikidump
        HTML_DUMP_DIR = /wiki/tmp/wikidumphtml

         

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.