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

Home » FUDforum » FUDforum Installation Issues » Unable to Upgrade due to broken broken admin panel
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Odg: Re: Unable to Upgrade due to broken broken admin panel [message #166819 is a reply to message #166816] Wed, 29 February 2012 17:50 Go to previous messageGo to previous message
pips is currently offline  pips
Messages: 113
Registered: February 2012
Karma:
Senior Member
I found this in the include/glob.inc file
Quote:
** Create symbolic links to the forum's GLOBALS.php file. */function fud_symlink($src, $dest) { /* Ensure we don't have any bogus symlinks (i.e. re-installing over old forum). */@unlink($dest);

/* Older windows systems doesn't have symlinks and some hosts disable them - use crude emulation. */if (!function_exists('symlink') || (function_exists('symlink') && @symlink($src, $dest) === FALSE)) { if (!($fp = fopen($dest, 'wb'))) { return FALSE; } fwrite($fp, '<?php include_once \''. $src .'\'; ?>'); fclose($fp); } }

?>

« Back to file manager



Now, am I correct in thinking my symlinks should be here, but are missing?

And, is this the missing code?
Citat:
; 787 788 /* Make symlinks to GLOBALS.php. */789 fud_symlink($INCLUDE .'GLOBALS.php', $SERVER_ROOT .'GLOBALS.php'); 790 fud_symlink($INCLUDE .'GLOBALS.php', $SERVER_ROOT .'adm/GLOBALS.php'); 791 fud_symlink($INCLUDE .'GLOBALS.php', $SERVER_DATA_ROOT .'scripts/GLOBALS.php'); 792 793 $url_parts = parse_url($WWW_ROOT);


[Updated on: Wed, 29 February 2012 17:51]

Report message to a moderator

[Message index]
 
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
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
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 icon4.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Select HTML or FUDcode/BBcode?
Next Topic: Any demo server available with admin access?
Goto Forum:
  

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

Current Time: Sat Nov 23 19:08:59 GMT 2024

Total time taken to generate the page: 0.05203 seconds