Menu

Error in your install.php

Terry Lund
2005-01-17
2013-03-27
  • Terry Lund

    Terry Lund - 2005-01-17

    I discovered an error in your install.php file.

    Line 60 is:  if (key_exists($key, $comments)) {

    I changed it to:  if ($key_exist) {

    Now it works... 

     
    • Will Platts

      Will Platts - 2005-06-01

      I'm not sure what you think I was trying to do here, or why it didn't work for you, but on my server (PHP 4.3.10) it works fine.

      However, thanks for pointing this out - it looks as though this function is a bit old now.. it's changed to array_key_exists()

      So line 60 should be

      if (array_key_exists($key, $comments)) {

      [Perhaps your version of PHP is too new, are you using PHP 5?]

      Thanks anyway!!!!

      Will

       
    • Terry Lund

      Terry Lund - 2005-07-21

      Not sure why either.  Thanks for the new line, I'll try that to see if that works also.  I think I am running php 4.3.10 but not sure since I am not at home at the moment.  The pics don't work  either but I think that is a GD problem.  I'm using Apache, Mysql, php.  on a windows xp pro system as my test site.    I'd like to make this into a Yahoo group type.   but I like it so far as is.  I would also like to convert this into a phpnuke module, if that is possible.  Suggestion:  there should be a way to delete yourself from a group. 

      If you have any thing you would like to ask me then my e-mail address is sandman229@yahoo.com or sandman229@kittykorp.com.

       
    • oleg

      oleg - 2007-07-09

      I have an error messages when running install.php

      Warning: fopen(library/config.inc.php): failed to open stream: Permission denied in /home/idealnjh/public_html/community/library/adminfunctions.inc.php on line 45

      Warning: fwrite(): supplied argument is not a valid stream resource in /home/idealnjh/public_html/community/library/adminfunctions.inc.php on line 46

      The configuration file was successfully written. Click next to create the database structure.

      Please help, or give a hint what to do.
      Thanks
      Oleg G.
      cell:848-219-2091

       

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.