Menu

Failed opening 'defaults_inc.php'

Anonymous
2002-03-27
2002-03-28
  • Anonymous

    Anonymous - 2002-03-27

    Hi!

    Ich hab den Chat nun schon auf 2 Webserver installiert!
    Die Installation klappt tadelos.
    Nur wenn ich dann admin/indx.php aufruge erhalte ich

    Warning: Failed opening 'defaults_inc.php' for inclusion (include_path='.:/usr/share/php') in /usr/local

    Was muss ich da einstellen?????

     
    • Anonymous

      Anonymous - 2002-03-27

      Ich habe the same problem (sorry, english)  Here sind my error messages:

      Warning: Supplied argument is not a valid MySQL result resource in /home/mark/www/phpopenchat-2.3.0/html/admin/install.php on line 185

      Warning: fopen("/home/mark/www/phpopenchat-2.3.0/includes/defaults_inc.php","w+") - Permission denied in /home/mark/www/phpopenchat-2.3.0/html/admin/install.php on line 215

      Warning: Supplied argument is not a valid File-Handle resource in /home/mark/www/phpopenchat-2.3.0/html/admin/install.php on line 216

      Warning: Supplied argument is not a valid File-Handle resource in /home/mark/www/phpopenchat-2.3.0/html/admin/install.php on line 221

      PHPOpenChat Installer
      Step:  1  2  3  4  5  Error changing defauls_inc.php, please make the changes manually
      Error creating .htaccess-file, please make the changes manually

       
    • Anonymous

      Anonymous - 2002-03-28

      Hi,

      hab den chat jetzt 1x installiert. Und er luft Problemlos. Hatte nur am Anfang ein kleines Prob ihn zum rennen zu bekommen. Das lag aber an der Server config.

      zu Mario) Ich denke mal bei dir stimmt in der Server config was nicht. Der Include Path scheint auf ein falsches Verzeichnis zu zeigen. Auf der Startseite vom Programmierer steht zu dem Thema was, unter dem Punkt Installationshilfe. Vielleicht ist das ja was fr dich. (http://www.ortelius.de/phpopenchat/)Gib bescheid obs geholfen hat.

      zu mecran01)Hi, you should concetrate always on the first mistake. So in your case: Line 185 In the source is writen on line 185: $insert_entrychannel = mysql_result(mysql_db_query($database,$query,$con),0,'count');
      So i would say there is, maybe, a mistake in your mysql db.
      Also intresting is the following:
      PHPOpenChat Installer
      Step: 1 2 3 4 5 Error changing defauls_inc.php, please make the changes manually
      Error creating .htaccess-file, please make the changes manually
      Have you done the necessary changes to the defaults_inc.php? Have you set the right permission to the .htaccess-file (as descriped in the install manual? you need to do a chmod 777 to the .htaccess file and also to the defaults_inc.php) Hope i could help you.

      Gru DATA

       

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.