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

Home » FUDforum » FUDforum Installation Issues » Update to V1.2 - Unable to open core.inc
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Update to V1.2 - Unable to open core.inc [message #609 is a reply to message #607] Tue, 19 February 2002 16:02 Go to previous messageGo to previous message
ironstorm is currently offline  ironstorm   Canada
Messages: 89
Registered: February 2002
Location: Toronto, Ontario, Canada
Karma:
Member

prottoss wrote on Tue, 19 February 2002 8:24 AM

I suspect the problem could the the result of the GLOBALS.php file not being evaled correctly. Try getting the new update script, I've moved the GLOBALS.php validity check before the version retrieval code, this is the code which tries to open core.inc.


I got the new update script and now I get the following on both windows boxes:

Quote:

C:/!HTTPD/FUDForum_data/include/GLOBALS.php is not a valid FUDforum GLOBALS.php file


That is the exact path of the file.

Mind you the file it's self has a whole lot of extra blank lines in it... Looks like I forgot to mention to make the GLOBALS.php binary safe too Smile

From: http://fud.prohost.org/forum/msg.php?th=83
Quote:

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)


The $GLOBALS temp thing is fixed though...

I'm going to go through an clean up all the extra \n's and then try it again... I'll let you know what I find.



[Message index]
 
Read Message icon4.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: is it possible to delete complete threads from the database
Next Topic: Install problems with install.php, lastest version
Goto Forum:
  

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

Current Time: Thu Nov 07 09:50:24 GMT 2024

Total time taken to generate the page: 0.05521 seconds