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

Home » FUDforum » FUDforum Installation Issues » login.php
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
login.php [message #2083] Tue, 30 April 2002 02:29 Go to next message
scoutzilla is currently offline  scoutzilla   United States
Messages: 163
Registered: April 2002
Location: Southern Califorina
Karma: 0
Senior Member

ouch..

got fud installed....ran login.php and got
Warning: Failed opening 'GLOBALS.php' for inclusion (include_path='.:/usr/local/lib/php') in /usr/home2/scoutswest.com/html/forum_fud/forum_install/install_data/docs/lo gin.php on line 19

Fatal error: Call to undefined function: fud_use() in /usr/home2/scoutswest.com/html/forum_fud/forum_install/install_data/docs/lo gin.php on line 23


OUCH

Z


Got Torque?
Re: login.php [message #2084 is a reply to message #2083] Tue, 30 April 2002 03:48 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
does the file GLOBALS.php exist? and if so what's in it?

FUDforum Core Developer
Re: login.php [message #2089 is a reply to message #2083] Tue, 30 April 2002 13:29 Go to previous messageGo to next message
scoutzilla is currently offline  scoutzilla   United States
Messages: 163
Registered: April 2002
Location: Southern Califorina
Karma: 0
Senior Member

I will check on that when I get home this afternoon.

Would I use a text app. to open .php files?

Or???

Z


Got Torque?
Re: login.php [message #2090 is a reply to message #2089] Tue, 30 April 2002 14:44 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Any text editor will do, notepad may not always show the file in very readable format, since the file lacks \r and notepad cannot handle it. So the entire file will appear as 1 long line. But any other windows/unix editor will open the file fine.

FUDforum Core Developer
Re: login.php [message #2118 is a reply to message #2090] Wed, 01 May 2002 01:37 Go to previous messageGo to next message
scoutzilla is currently offline  scoutzilla   United States
Messages: 163
Registered: April 2002
Location: Southern Califorina
Karma: 0
Senior Member

Yep I found the GOLBALS.php file. There is quite a bit in there. What area should I look at? Do I copy and paste it here??

z


Got Torque?
Re: login.php [message #2126 is a reply to message #2118] Wed, 01 May 2002 05:59 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Send the the entire file via PM.

FUDforum Core Developer
Re: login.php [message #2150 is a reply to message #2126] Thu, 02 May 2002 13:29 Go to previous messageGo to next message
scoutzilla is currently offline  scoutzilla   United States
Messages: 163
Registered: April 2002
Location: Southern Califorina
Karma: 0
Senior Member

There you go, I'll keep my fingers crossed.

Z


Got Torque?
Re: login.php [message #2180 is a reply to message #2126] Sat, 04 May 2002 00:43 Go to previous messageGo to next message
scoutzilla is currently offline  scoutzilla   United States
Messages: 163
Registered: April 2002
Location: Southern Califorina
Karma: 0
Senior Member

ftp'ed the new globals.php, no luck.

started over, got to the login screen but that was as far as I could get.

z
Confused


Got Torque?
icon14.gif  Re: login.php [message #2282 is a reply to message #2180] Tue, 07 May 2002 04:34 Go to previous messageGo to next message
scoutzilla is currently offline  scoutzilla   United States
Messages: 163
Registered: April 2002
Location: Southern Califorina
Karma: 0
Senior Member

Works great when you install it correctly. Thanks prottoss!!

Very Happy


Got Torque?
Re: login.php [message #10215 is a reply to message #2282] Fri, 23 May 2003 22:24 Go to previous messageGo to next message
pc_fud is currently offline  pc_fud   United States
Messages: 4
Registered: May 2003
Karma: 0
Junior Member
If anyone has additional information, I had the same problem, fixed my GLOBALS.php (see below - changed names to protect the innocent Wink), HOWEVER, still getting "undefined function fud_use()" error...

looked and can't find which page this function is defined in.

Any help is appreciated,

Thanks

-------GLOBALS.php------------
<?php include_once "/usr/local/htdocs/thesite/forum/include/GLOBALS.php"; ?>
<?
$INCLUDE = "/usr/local/htdocs/thesite/forum/include/";
$ERROR_PATH = "/usr/local/htdocs/thesite/forum/errors/";
$MSG_STORE_DIR = "/usr/local/htdocs/thesite/forum/messages/";
$FILE_STORE = "/usr/local/htdocs/thesite/forum/files/";
$TMP = "/usr/local/htdocs/thesite/forum/tmp/";
$WWW_ROOT = "http://www.thesite.com/forums/";
$WWW_ROOT_DISK = "/usr/local/htdocs/thesite/forums/";
$MOGRIFY_BIN = "/usr/X11R6/bin/mogrify";
$FORUM_SETTINGS_PATH = "/usr/local/htdocs/thesite/forum/cache/";
$COOKIE_NAME = "fud_session_1053728538";
$SPELL_CHECK_ENABLED = "N";
$COOKIE_PATH = "/forums/";
$DATA_DIR = "/usr/local/htdocs/thesite/forum/";
$DBHOST = "192.168.1.121";
$DBHOST_USER = "user";
$DBHOST_PASSWORD = "thepassword";
$DBHOST_DBNAME = "thedatabase";
$DBHOST_TBL_PREFIX = "fud23_";
$COOKIE_DOMAIN = ".thesite.com";
$ADMIN_EMAIL = "asdf(at)asdf(dot)com";
$NOTIFY_FROM = "asdf(at)asdf(dot)com";
?>
Re: login.php [message #10222 is a reply to message #10215] Sat, 24 May 2003 16:41 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Hmm your GLOBALS.php seems to be missing quite a few options. BUT the error you are seeing is due the following line being missing:

require_once $DATA_DIR . 'include/core.inc';


FUDforum Core Developer
icon9.gif  Re: login.php [message #10238 is a reply to message #10222] Sun, 25 May 2003 01:18 Go to previous messageGo to next message
pc_fud is currently offline  pc_fud   United States
Messages: 4
Registered: May 2003
Karma: 0
Junior Member
A) Thanks, I no longer get the error after adding the line you recommended.

B) You must be right about missing stuff in my GLOBALS file. Now I get the error:
FATAL ERROR: '' is not a file in (/thesite/forums/adm), can't open...

I just ran the install script again after removing everything. My globals looks like it did before and I had to add the line you gave me again.

Is there an example of what a GLOBALS.php file should look like anywere?

-P
icon7.gif  Re: login.php [message #10240 is a reply to message #10238] Sun, 25 May 2003 15:47 Go to previous message
pc_fud is currently offline  pc_fud   United States
Messages: 4
Registered: May 2003
Karma: 0
Junior Member
Well I get the forum working no problem IF I put the "Non browsable" data in the same directory as the forums... before I was setting that value to a different directory during the install. I thought I would try to rerun the install with everything in same directory, and whala, it's working.

-P
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Fatal error: ... fud_use() in index.php on
Next Topic: New Users cannot register
Goto Forum:
  

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

Current Time: Fri Oct 18 12:19:11 GMT 2024

Total time taken to generate the page: 0.03294 seconds