RescueDog Posted September 1, 2013 Share Posted September 1, 2013 I've been trying to figure this out - and I'm sure it's simple and I'm just not seeing it? I could use a bit of guidance: Failed opening required '/xxxx/xxxx/xxxx/knightsshop/prestakoc/tools/swift/Swift/../Swift/Log/DefaultLog.php' (include_path='.:/usr/local/php52/pear') in /xxxx/xxxx/xxxx/knightsshop/prestakoc/tools/swift/Swift/ClassLoader.php on line 35 Classloader.php: /** * Swift Mailer Class Loader for includes * Please read the LICENSE file * @author Chris Corbyn <[email protected]> * @package Swift * @license GNU Lesser General Public License */ if (!defined("SWIFT_ABS_PATH")) define("SWIFT_ABS_PATH", dirname(__FILE__) . "/.."); /** * Locates and includes class files * @package Swift * @author Chris Corbyn <[email protected]> */ class Swift_ClassLoader { /** * A list of files already located * @var array */ protected static $located = array(); /** * Load a new class into memory * @param string The name of the class, case SenSItivE */ public static function load($name) { if (in_array($name, self::$located) || class_exists($name, false) || interface_exists($name, false)) return; require_once SWIFT_ABS_PATH . "/" . str_replace("_", "/", $name) . ".php"; self::$located[] = $name; } } ********************************** I do not see the include path in my directory structure - should I? or am I not looking in the right path? I appreciate any help getting thru this! I'm grateful for learning more! Link to comment Share on other sites More sharing options...
Recommended Posts