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

Home » FUDforum » How To » upgrade.php: Cannot open GLOBALS.php...
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
upgrade.php: Cannot open GLOBALS.php... [message #7392] Thu, 21 November 2002 07:04 Go to next message
fpof   Ukraine
Messages: 25
Registered: September 2002
Karma: 0
Junior Member
GLOBALS.php uploaded with fudforum file manager, but...

Cannot open GLOBALS.php, this does not appear to be a forum directory. You need to upload the file in to the forum's WWW_SERVER_ROOT directory
Re: upgrade.php: Cannot open GLOBALS.php... [message #7399 is a reply to message #7392] Thu, 21 November 2002 14:31 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
You may be trying to open a symlink rather then the file itself.
The 'primary' file is located inside the include directory, the GLOBALS.php in www_root & www_root/adm/ is just a symlink.


FUDforum Core Developer
Re: upgrade.php: Cannot open GLOBALS.php... [message #7402 is a reply to message #7399] Thu, 21 November 2002 15:14 Go to previous messageGo to next message
fpof   Ukraine
Messages: 25
Registered: September 2002
Karma: 0
Junior Member
I has removed smlinks from www_root and www_root/adm and has copied GLOBAL.php there from data_root. Error same Confused
Re: upgrade.php: Cannot open GLOBALS.php... [message #7403 is a reply to message #7402] Thu, 21 November 2002 15:16 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
What are the permission on the file?

FUDforum Core Developer
Re: upgrade.php: Cannot open GLOBALS.php... [message #7404 is a reply to message #7403] Thu, 21 November 2002 15:24 Go to previous messageGo to next message
fpof   Ukraine
Messages: 25
Registered: September 2002
Karma: 0
Junior Member
I tried:
rwx rwx rwx root root
rwx rwx rwx apache2 apache2
After upload see:
rw - - apache2 apache2
in all cases error same
Re: upgrade.php: Cannot open GLOBALS.php... [message #7405 is a reply to message #7403] Thu, 21 November 2002 15:52 Go to previous messageGo to next message
fpof   Ukraine
Messages: 25
Registered: September 2002
Karma: 0
Junior Member
In addition I get messages when run Avatar Manager:
Web server doesn't have write permission to write to '/usr/local/apache2/htdocs/test2/images/avatars', avatar upload disabled
but permissions rwx rwx rwx apache2 apache2 on all dirs.
What it may be?
And when installation process and www_root and data_root have 777 apache2 apache2 permissions I get create blank.gif error (permis changed in rw- - - ...). When 777 root root all ok.

[Updated on: Thu, 21 November 2002 15:59]

Report message to a moderator

Re: upgrade.php: Cannot open GLOBALS.php... [message #7407 is a reply to message #7405] Thu, 21 November 2002 16: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
You are using Apache2? If so which PHP version are you using?

FUDforum Core Developer
Re: upgrade.php: Cannot open GLOBALS.php... [message #7430 is a reply to message #7407] Fri, 22 November 2002 06:40 Go to previous messageGo to next message
fpof   Ukraine
Messages: 25
Registered: September 2002
Karma: 0
Junior Member
System Configuration
PHP built On: Linux sup 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 unknown
MySQL Version: PostgreSQL 7.2.2 on i686-pc-linux-gnu, compiled by GCC 2.96
PHP Version: 4.2.3
Web Server: Apache/2.0.40 (Unix) PHP/4.2.3
WebServer to PHP interface: apache2filter
Forum Version: 2.3.2RC3
Relavent PHP Settings:
Safe Mode: OFF
Display Errors: OFF
File Uploads: ON
Magic Quotes: OFF
Register Globals: OFF
Output Buffering: ON
Disabled Functions: none
PSpell Support: No

What system configuration when all works normally?

[Updated on: Fri, 22 November 2002 07:07]

Report message to a moderator

Re: upgrade.php: Cannot open GLOBALS.php... [message #7435 is a reply to message #7430] Fri, 22 November 2002 13:17 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
I strongly recommend upgrading to PHP 4.3.0RC1 if you are using worker (threads) model. Otherwise you should be more or less ok with your config, keep in mind PHP + Apache 2 is an unsafe combination.

FUDforum Core Developer
Re: upgrade.php: Cannot open GLOBALS.php... [message #7438 is a reply to message #7435] Fri, 22 November 2002 13:23 Go to previous message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma: 0
Senior Member
Apache 2.0.40 contains a number of vulnerabilities which have been addressed in later versions. unless this is a hyper patched version by ur vendor u should upgrade to 2.0.43 to be on the safe side. However based on my experience I still prefer using 1.3.27 until apache2 has become more mature and will work seamlessly with php.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: HELP! Restoring data after clearing some tables
Next Topic: How to add Windows-Paths with Backslashes?
Goto Forum:
  

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

Current Time: Wed Nov 27 01:59:44 GMT 2024

Total time taken to generate the page: 0.02363 seconds