Jump to content

verano

Members
  • Posts

    91
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

verano's Achievements

Member

Member (2/5)

0

Reputation

  1. verano

    Fatal Error

    This code $key = md5($boardurl . filemtime($sourcedir . 'Sources/Load.php')) . '-SMF-' . strtr($key, ':', '-'); is generating this error message.. Warning: filemtime() [function.filemtime]: stat failed for Sources/Load.php in /home/wolfy45/public_html/forum/Sources/Load.php on line 2687 Connection Problems Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later. Why?
  2. verano

    Fatal Error

    Sorry for the repost, but how do I do a var_dump() as i was told the $sourcedir variable may be empty
  3. verano

    Fatal Error

    I dont understand how that file is missing if its THERE with the path being ... public_html/forum/Sources/
  4. verano

    Fatal Error

    How do I do that? Pardon me, I know little php.
  5. verano

    Fatal Error

    Current status of issue: SMF doesnt have header included that shows search bar and welcome message, taht shows welcome amdin, you haev unread messages/posts and such. Also only errors ourstanding are Warning: require_once(/Subs-Db-mysql.php) [function.require-once]: failed to open stream: No such file or directory in /home/wolfy45/public_html/forum/Sources/Load.php on line 2523 Fatal error: require_once() [function.require]: Failed opening required '/Subs-Db-mysql.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wolfy45/public_html/forum/Sources/Load.php on line 2523
  6. verano

    Fatal Error

    Ok so Almost all of the error messages are gone, but I have no stats now for smf forum. www.midwestsleds.com Main page www.midwestsleds.com/forum/ forums
  7. verano

    Fatal Error

    I am guessing to correct the code on load.php require_once($sourcedir . '/Subs-Db-' . $db_type . '.php'); adding in the slash
  8. verano

    Fatal Error

    Current Errror messages I get. Strict Standards: require_once() [function.require-once]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CST/-6.0/no DST' instead in /home/wolfy45/public_html/forum/Sources/Load.php on line 2523 Warning: require_once(/home/wolfy45/public_html/forum/SourcesSubs-Db-mysql.php) [function.require-once]: failed to open stream: No such file or directory in /home/wolfy45/public_html/forum/Sources/Load.php on line 2523 Strict Standards: require_once() [function.require-once]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CST/-6.0/no DST' instead in /home/wolfy45/public_html/forum/Sources/Load.php on line 2523 Fatal error: require_once() [function.require]: Failed opening required '/home/wolfy45/public_html/forum/SourcesSubs-Db-mysql.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wolfy45/public_html/forum/Sources/Load.php on line 2523
  9. verano

    Fatal Error

    Why would that stat be failing?
  10. verano

    Fatal Error

    Fixed that error by putting in.. require_once($sourcedir . 'Subs-Db-' . $db_type . '.php'); Seems to be something wrong with the $sourcedir, where can I find what defines it? I did do an integration Current error is Warning: filemtime() [function.filemtime]: stat failed for Sources/Load.php in /home/wolfy45/public_html/forum/Sources/Load.php on line 2685 Connection Problems Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later. This is that line. $key = md5($boardurl . filemtime($sourcedir . 'Sources/Load.php')) . '-SMF-' . strtr($key, ':', '-');
  11. verano

    Fatal Error

    Moving forward, resolved those last errors, now I have a new one require_once($sourcedir . 'Sources/QueryString.php'); Warning: require_once(Sources/Subs-Db-mysql.php) [function.require-once]: failed to open stream: No such file or directory in /home/wolfy45/public_html/forum/Sources/Load.php on line 2523 Fatal error: require_once() [function.require]: Failed opening required 'Sources/Subs-Db-mysql.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wolfy45/public_html/forum/Sources/Load.php on line 2523 // Load the file for the database. require_once($sourcedir . 'Sources/Subs-Db-' . $db_type . '.php');
  12. verano

    Fatal Error

    hm... how do i fix this?
  13. verano

    Fatal Error

    Further testing..... I have a plugin that merges Wordpress with SMP Forums, I deactivated it and now I get an error. Fatal error: Call to undefined function cleanrequest() in /home/wolfy45/public_html/forum/SSI.php on line 81 // Load installed 'Mods' settings. reloadSettings(); // Clean the request variables. cleanRequest(); this is line 81 // Seed the random generator? if (empty($modSettings['rand_seed']) || mt_rand(1, 250) == 69) smf_seed_generator(); // Check on any hacking attempts. line 81 is defined as shown above
  14. verano

    Fatal Error

    <?php /** * Simple Machines Forum (SMF) * * @package SMF * @author Simple Machines http://www.simplemachines.org * @copyright 2011 Simple Machines * @license http://www.simplemachines.org/about/smf/license.php BSD * * @version 2.0 */ // Don't do anything if SMF is already loaded. if (defined('SMF')) return true; define('SMF', 'SSI'); // We're going to want a few globals... these are all set later. global $time_start, $maintenance, $msubject, $mmessage, $mbname, $language; global $boardurl, $boarddir, $sourcedir, $webmaster_email, $cookiename; global $db_server, $db_name, $db_user, $db_prefix, $db_persist, $db_error_send, $db_last_error; global $db_connection, $modSettings, $context, $sc, $user_info, $topic, $board, $txt; global $smcFunc, $ssi_db_user, $scripturl, $ssi_db_passwd, $db_passwd, $cachedir; // Remember the current configuration so it can be set back. $ssi_magic_quotes_runtime = function_exists('get_magic_quotes_gpc') && get_magic_quotes_runtime(); if (function_exists('set_magic_quotes_runtime')) @set_magic_quotes_runtime(0); $time_start = microtime(); // Just being safe... foreach (array('db_character_set', 'cachedir') as $variable) if (isset($GLOBALS[$variable])) unset($GLOBALS[$variable]); // Get the forum's settings for database and file paths. require_once(dirname(__FILE__) . '/Settings.php'); // Make absolutely sure the cache directory is defined. if ((empty($cachedir) || !file_exists($cachedir)) && file_exists($boarddir . '/cache')) $cachedir = $boarddir . '/cache'; $ssi_error_reporting = error_reporting(defined('E_STRICT') ? E_ALL | E_STRICT : E_ALL); /* Set this to one of three values depending on what you want to happen in the case of a fatal error. false: Default, will just load the error sub template and die - not putting any theme layers around it. true: Will load the error sub template AND put the SMF layers around it (Not useful if on total custom pages). string: Name of a callback function to call in the event of an error to allow you to define your own methods. Will die after function returns. */ $ssi_on_error_method = false; // Don't do john didley if the forum's been shut down competely. if ($maintenance == 2 && (!isset($ssi_maintenance_off) || $ssi_maintenance_off !== true)) die($mmessage); // Fix for using the current directory as a path. if (substr($sourcedir, 0, 1) == '.' && substr($sourcedir, 1, 1) != '.') $sourcedir = dirname(__FILE__) . substr($sourcedir, 1); // Load the important includes. require_once($sourcedir . '/QueryString.php'); require_once($sourcedir . '/Subs.php'); require_once($sourcedir . '/Errors.php'); require_once($sourcedir . '/Load.php'); require_once($sourcedir . '/Security.php'); // Using an pre-PHP 5.1 version? if (@version_compare(PHP_VERSION, '5.1') == -1) require_once($sourcedir . '/Subs-Compat.php'); // Create a variable to store some SMF specific functions in. $smcFunc = array(); Please note that line 62 is require_once($sourcedir . '/QueryString.php');
  15. verano

    Fatal Error

    <?php require("/home/wolfy45/public_html/forum/SSI.php"); ssi_recentTopics(); require_once("QueryString.php"); ?> That?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.