Jump to content

[SOLVED] Parse error - unable to resolve!


BREZ

Recommended Posts

Home page on installation of a script.....

 

Warning: include_once(/home/x80eu/public_html/upload/lib/smarty/Smarty.class.php) [function.include-once]: failed to open stream: No such file or directory in /home/x80eu/public_html/upload/init.php on line 14

 

Warning: include_once() [function.include]: Failed opening '/home/x80eu/public_html/upload/lib/smarty/Smarty.class.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/x80eu/public_html/upload/init.php on line 14

 

Fatal error: Class 'Smarty' not found in /home/x80eu/public_html/upload/lib/template.php on line 2/quote]

 

I have modified this page and undone changes over and over so many times to resolve the error.

Obviously i am missing something.

 

My init.php is ...

<?php

define('BASE_PATH', dirname(__FILE__).'/');

 

include_once BASE_PATH . "config.php";

 

$config['website_url']      =  "http://" . $_SERVER['SERVER_NAME'] . "/" . $domain_path; // with slash

 

 

$config['xml_cache_dir']    = BASE_PATH . "cache_xml/"; // with slash

$config['xml_cache_timeout'] = mktime() + 3600 * 24;

 

// ################# DO NOT EDIT HERE #########################################

 

include_once BASE_PATH . "lib/smarty/Smarty.class.php";

include_once BASE_PATH . "lib/functions.php";

include_once BASE_PATH . "lib/template.php";

include_once BASE_PATH . "lib/xml2array.php";

include_once BASE_PATH . "lib/services.php";

 

include_once BASE_PATH . "kw.php";

include_once BASE_PATH . "kw2.php";

 

$tpl = new Template;

?>

 

Hopefully someone can save what is left of my hair ;D

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.