FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Win2K - Fixes to install 1.1.1
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Win2K - Fixes to install 1.1.1 [message #392] Sun, 10 February 2002 18:52
ironstorm is currently offline  ironstorm   Canada
Messages: 89
Registered: February 2002
Location: Toronto, Ontario, Canada
Karma: 0
Member

Essential Stuff

  1. register_globals must be set to on in your PHP.INI file.
  2. During the install one of the pages asks for the WWW_ROOT while describing this as "the directory where the systems temp files are stored". Ignore the description and type in the public accessible url to the forums area on your website. i.e. http://dragonx.northern.ca/forums/

  3. Add the path of the FUD Data directory with INCLUDE subdir to the include_path of your PHP.ini. For example if my FUD Data directory is C:FUDData then this is what I add to my include_path:
    ;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Paths and Directories ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;

    ; UNIX: "/path1:/path2" Windows: "path1;path2"
    auto_prepend_file =
    include_path=".;/apache/includes;C:/FUDData/include";
    ; ^^^^^^^^^^^^^^^^^^
    Restart apache for the changes to the PHP.ini file to take affect.

  4. Remove the
    ?><?php
    between the license and the body of code in files:
    C:/FUDData/include/GLOBALS.php
    C:/www/htdocs/forums/adm/admglobals.php


  5. In C:/www/htdocs/forums/adm/admglobals.php Replace:
    $cf = get_config('GLOBALS.php');
    with
    $cf = get_config($GLOBALS['INCLUDE'].'GLOBALS.php');
    [ or perhaps this should be
    $cf = get_config($GLOBALS['__GLOBALS.INC__']);
    both should have the same value. ]

  6. In C:/www/htdocs/forums/adm/admglobals.php Replace:
    $fn = '/tmp/'.$randval;
    $fp = fopen($fn, 'w');
    with
    $fn = $GLOBALS['TMP'].$randval;
    $fp = fopen($fn, 'wb');

    (without also changing fopen to include the binary the write switch, the GLOBALS.php file gets lots of extra blank lines after each save)


Additional Notes:

  • These fixes probably don't cover all of the functionality of FUD forum, AFAIK everything that the end user sees is fixed by this. (plz submit bug fixes Windows PHP people)
  • Also see the attached file below [Win2K - Installing SMTP and configuring PHP to use it.txt] for instructions on setting up SMTP under Windows 2000. If you have a ISP that does your SMTP and uses Username/Password authentication (i.e. @Home) you'll need to set up a local SMTP server (because PHP's mail command does not support SMTP auth) to delver mail, so that FUD users can confirm sign-up and receive notifications about threads.
  • The windows build of PHP (as of 4.1.1) doesn't have support for PSPELL built-in. I suggest Win2K admins disable pspell support in the admin control panel.


Good Luck! Grin

[Updated on: Mon, 11 February 2002 15:33]

Report message to a moderator

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Query Failed
Next Topic: 1.1.1 - SQL data not escaped [when magic quotes turned off]
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 21 17:43:44 GMT 2024

Total time taken to generate the page: 0.02880 seconds