|
Re: Unable to Upgrade due to broken broken admin panel [message #166785 is a reply to message #166783] |
Thu, 23 February 2012 07:36 |
|
pips
Messages: 113 Registered: February 2012
Karma: 0
|
Senior Member |
|
|
I think i have reached the limit of what i am comfortable doing tbh.
Until i learn more stuff (including how the interaction with the hosts works) i'm going to back off. I've done a lot and got lots working but the Broken ACP is beyond me at the moment.
I'm happy that i got so far. But to go further, i actually need a holding hand and active input.
Many thanks for your help Witcher :toppa:
I've advised the owner that they should really have either the Host, or a 3rd Party have a nosy and see if it can be fixed up properly. I've sugested your Big hammer approach which, i feel is the correct one. There is simply too much history of mismanagement in the old files to keep the set up as it is. A clean sweep/install and a upload of the back-up is best i feel.
I shall, keep you informed.
[Updated on: Thu, 23 February 2012 07:45] Report message to a moderator
|
|
|
|
|
|
|
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 |
|
pips
Messages: 113 Registered: February 2012
Karma: 0
|
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
|
|
|
|
|
|
|
Re: Unable to Upgrade due to broken broken admin panel [message #166862 is a reply to message #166847] |
Sat, 10 March 2012 14:17 |
The Witcher
Messages: 675 Registered: May 2009 Location: USA
Karma: 3
|
Senior Member |
|
|
Sorry I've not been around Pips.... The Dragons of life they've been having me surrounded but they ain't had a Witcher lunch yet!
Any how here is a copy of the globals from my oldest.
I don't use a /forum sub directory so this resides directly in the root (That means your paths should be different, and I've obfuscated some of the numbers).
Toggle Spoiler
/**
* copyright : (C) 2001-2010 Advanced Internet Designs Inc.
* email : forum(at)prohost(dot)org
* $Id: GLOBALS.php 5046 2010-10-17 12:28:28Z naudefj $
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; version 2 of the License.
**/
$INCLUDE = '/home/user/some_forum/include/';
$WWW_ROOT = 'http://domain.info/';
$WWW_ROOT_DISK = '/home/name/domain.info/';
$DATA_DIR = '/home/user/some_forum/';
$ERROR_PATH = '/home/user/some_forum/errors/';
$MSG_STORE_DIR = '/home/user/some_forum/messages/';
$TMP = '/home/user/some_forum/tmp/';
$FILE_STORE = '/home/user/some_forum/files/';
$FORUM_SETTINGS_PATH = '/home/user/some_forum/cache/';
$PLUGIN_PATH = '/home/user/some_forum/plugins/';
$FUD_OPT_1 = 1638858823;
$FUD_OPT_2 = 1776879727;
$FUD_OPT_3 = 48767037;
$FUD_OPT_4 = 3;
$CUSTOM_AVATAR_MAX_SIZE = 15000; /* bytes */
$CUSTOM_AVATAR_MAX_DIM = '64x64'; /* width x height (pixels) */
$COOKIE_PATH = '/';
$COOKIE_DOMAIN = 'domain.info';
$COOKIE_NAME = 'fud_session_1294564835';
$COOKIE_TIMEOUT = 604800; /* seconds */
$SESSION_TIMEOUT = 1800; /* seconds */
$DBHOST = 'mysql.domain.info';
$DBHOST_USER = 'secretname';
$DBHOST_PASSWORD = 'J6xxxxxxxxxI';
$DBHOST_DBNAME = 'dbnamey2010_db';
$DBHOST_TBL_PREFIX = 'fud30_'; /* do not modify this */
$DBHOST_DBTYPE = 'mysql';
$FUD_SMTP_SERVER = '127.0.0.1';
$FUD_SMTP_PORT = 25;
$FUD_SMTP_TIMEOUT = 10; /* seconds */
$FUD_SMTP_LOGIN = '';
$FUD_SMTP_PASS = '';
$DBHOST_SLAVE_HOST = '';
$ADMIN_EMAIL = 'Administrator(at)domain(dot)info';
$PRIVATE_ATTACHMENTS = 5; /* int */
$PRIVATE_ATTACH_SIZE = 1000000; /* bytes */
$MAX_PMSG_FLDR_SIZE = 300000; /* bytes */
$MAX_PMSG_FLDR_SIZE_AD = 1000000; /* bytes */
$MAX_PMSG_FLDR_SIZE_PM = 1000000; /* bytes */
$FORUM_IMG_CNT_SIG = 2; /* int */
$FORUM_SIG_ML = 256; /* int */
$UNCONF_USER_EXPIRY = 7; /* days */
$MOVED_THR_PTR_EXPIRY = 7; /* days */
$MAX_SMILIES_SHOWN = 15; /* int */
$DISABLED_REASON = '';
$POSTS_PER_PAGE = 40;
$THREADS_PER_PAGE = 40;
$WORD_WRAP = 60;
$NOTIFY_FROM = 'Administrator(at)domain(dot)info'; /* email */
$ANON_NICK = 'Anonymous'; /* coward */
$FLOOD_CHECK_TIME = 60; /* seconds */
$MOD_FIRST_N_POSTS = 3;
$POSTS_BEFORE_LINKS = 3;
$POST_MIN_LEN = 3;
$SERVER_TZ = 'America/Los_Angeles';
$SEARCH_CACHE_EXPIRY = 172800; /* seconds */
$MEMBERS_PER_PAGE = 100;
$POLLS_PER_PAGE = 40;
$THREAD_MSG_PAGER = 5;
$GENERAL_PAGER_COUNT = 15;
$EDIT_TIME_LIMIT = 15;
$LOGEDIN_TIMEOUT = 5; /* minutes */
$MAX_IMAGE_COUNT = 10;
$STATS_CACHE_AGE = 600; /* seconds */
$FORUM_TITLE = 'ZULU Forums';
$FORUM_DESCR = 'Version 3.0.3';
$MAX_LOGIN_SHOW = 25;
$MAX_LOCATION_SHOW = 25;
$SHOW_N_MODS = 0;
$TREE_THREADS_MAX_DEPTH = 15;
$TREE_THREADS_MAX_SUBJ_LEN = 75;
$REG_TIME_LIMIT = 60; /* seconds */
$POST_ICONS_PER_ROW = 9; /* int */
$MAX_LOGGEDIN_USERS = 25; /* int */
$PHP_COMPRESSION_LEVEL = 9; /* int 1-9 */
$PHP_CLI = ''; /* Command line PHP exectable */
$MNAV_MAX_DATE = -1; /* days */
$MNAV_MAX_LEN = 256; /* characters */
$FEED_MAX_N_RESULTS = 20; /* int */
$FEED_AUTH_ID = 0; /* 0 - treat as anon user, >0 treat like specific forum user */
$FEED_CACHE_AGE = 3600;
$PDF_PAGE = 'letter'; /* string */
$PDF_WMARGIN = 15; /* int */
$PDF_HMARGIN = 15; /* int */
$PDF_MAX_CPU = 15; /* seconds */
$FUD_WHOIS_SERVER = 'ws.arin.net';
$MIN_TIME_BETWEEN_LOGIN = 10; /* seconds */
/* DO NOT EDIT FILE BEYOND THIS POINT UNLESS YOU KNOW WHAT YOU ARE DOING */
require($INCLUDE .'core.inc');
?>
"I'm a Witcher, I solve human problems; not always using a sword!"
|
|
|