11
ghia
Re: Error: Smarty error: the $compile_dir '/var/www/html/xoops/htdocs/xoops_data/caches/smarty_compile'
  • 2010/2/15 14:22

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Did yuou add modules other then the default ones?

12
qolspony
Re: Error: Smarty error: the $compile_dir '/var/www/html/xoops/htdocs/xoops_data/caches/smarty_compile'
  • 2010/2/15 15:41

  • qolspony

  • Just popping in

  • Posts: 54

  • Since: 2005/3/12


This is the error I'm receiving after I look up the module page:

This page cannot be displayed due to an internal error.

You can provide the following information to the administrators of this site to help them solve the problem:

Error: Smarty error: the $compile_dir '/home/xxx/public_html/xxx.info/roger/caches/smarty_compile' does not exist, or is not a directory.

As seen here (below), nothing seems to be wrong with the file structure:

http://www.govsponsoredstalking.info/modules/system/admin.php?fct=modulesadmin

The problem just appears to be on the module end.

this is from the mainfile.php

/**
* XOOPS main configuration file
*
* You may not change or alter any portion of this comment or credits
* of supporting developers from this source code or any supporting source code
* which is considered copyrighted (c) material of the original comment or credit authors.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
* @license http://www.fsf.org/copyleft/gpl.html GNU public license
* @version $Id: mainfile.dist.php 3562 2009-09-03 14:55:02Z trabis $
*/

if (!defined("XOOPS_MAINFILE_INCLUDED")) {
define("XOOPS_MAINFILE_INCLUDED", 1);

// XOOPS Physical Paths

// Physical path to the XOOPS documents (served) directory WITHOUT trailing slash
define('XOOPS_ROOT_PATH', '/home/xxx/public_html/govsponsoredstalking.info');

// For forward compatibility
// Physical path to the XOOPS library directory WITHOUT trailing slash
define('XOOPS_PATH', '/home/xxx/public_html/govsponsoredstalking.info/jerry');
// Physical path to the XOOPS datafiles (writable) directory WITHOUT trailing slash
define('XOOPS_VAR_PATH', '/home/xxx/public_html/govsponsoredstalking.info/roger');
// Alias of XOOPS_PATH, for compatibility, temporary solution
define("XOOPS_TRUST_PATH", XOOPS_PATH);

// URL Association for SSL and Protocol Compatibility
$http = 'http://';
if (!empty($_SERVER['HTTPS'])) {
$http = ($_SERVER['HTTPS']=='on') ? 'https://' : 'http://';
}
define('XOOPS_PROT', $http);

// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_URL', 'http://www.govsponsoredstalking.info');
define('XOOPS_URL', 'http://www.govsponsoredstalking.info');

// Shall be handled later, don't forget!
define("XOOPS_CHECK_PATH", 0);
// Protect against external scripts execution if safe mode is not enabled
if (XOOPS_CHECK_PATH && !@ini_get("safe_mode")) {
if (function_exists("debug_backtrace")) {
$xoopsScriptPath = debug_backtrace();
if (!count($xoopsScriptPath)) {
die("XOOPS path check: this file cannot be requested directly");
}
$xoopsScriptPath = $xoopsScriptPath[0]["file"];
} else {
$xoopsScriptPath = isset($_SERVER["PATH_TRANSLATED"]) ? $_SERVER["PATH_TRANSLATED"] : $_SERVER["SCRIPT_FILENAME"];
}
if (DIRECTORY_SEPARATOR != "/") {
// IIS6 may double the \ chars
$xoopsScriptPath = str_replace(strpos($xoopsScriptPath, "", 2) ? "" : DIRECTORY_SEPARATOR, "/", $xoopsScriptPath);
}
if (strcasecmp(substr($xoopsScriptPath, 0, strlen(XOOPS_ROOT_PATH)), str_replace(DIRECTORY_SEPARATOR, "/", XOOPS_ROOT_PATH))) {
exit("XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run.");
}
}

// Database
// Choose the database to be used
define('XOOPS_DB_TYPE', 'mysql');

// Set the database charset if applicable
if (defined("XOOPS_DB_CHARSET")) die('Restricted Access');
define('XOOPS_DB_CHARSET', 'utf8');

// Table Prefix
// This prefix will be added to all new tables created to avoid name conflict in the database. If you are unsure, just use the default "xoops".
define('XOOPS_DB_PREFIX', 'x9fb');

// Database Hostname
// Hostname of the database server. If you are unsure, "localhost" works in most cases.
define('XOOPS_DB_HOST', 'localhost');

// Database Username
// Your database user account on the host
define('XOOPS_DB_USER', 'xxxx');

// Database Password
// Password for your database user account
define('XOOPS_DB_PASS', xxxx');

// Database Name
// The name of database on the host. The installer will attempt to create the database if not exist
define('XOOPS_DB_NAME', 'xxxx');

// Use persistent connection? (Yes=1 No=0)
// Default is "Yes". Choose "Yes" if you are unsure.
define('XOOPS_DB_PCONNECT', 1);

define('XOOPS_GROUP_ADMIN', '1');
define('XOOPS_GROUP_USERS', '2');
define('XOOPS_GROUP_ANONYMOUS', '3');

if (!isset($xoopsOption["nocommon"]) && XOOPS_ROOT_PATH != "") {
include XOOPS_ROOT_PATH."/include/common.php";
}

}

?>

13
culex
Re: Error: Smarty error: the $compile_dir '/var/www/html/xoops/htdocs/xoops_data/caches/smarty_compile'
  • 2010/2/15 22:25

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Check to se if you have uploaded /roger/caches/smarty_compile folder and if this has right permission 0777 on Linux

14
Mamba
Re: Error: Smarty error: the $compile_dir '/var/www/html/xoops/htdocs/xoops_data/caches/smarty_compile'
  • 2010/2/15 22:29

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


yes, it looks like a lack of permission to me as well.

Also, please NEVER post your passwords to your Websites or databases. I've removed them.

15
qolspony
Re: Error: Smarty error: the $compile_dir '/var/www/html/xoops/htdocs/xoops_data/caches/smarty_compile'
  • 2010/2/16 2:24

  • qolspony

  • Just popping in

  • Posts: 54

  • Since: 2005/3/12


Yes. It is set to 777. but it still showing a blank page. I also ran a database repair several times. No problem stated. And I went as far as comparing each all the files that was uploaded to the server and everything loaded correctly. What could possibly be keeping it from going to the next step?

16
qolspony
Re: Error: Smarty error: the $compile_dir '/var/www/html/xoops/htdocs/xoops_data/caches/smarty_compile'
  • 2010/2/16 2:27

  • qolspony

  • Just popping in

  • Posts: 54

  • Since: 2005/3/12


I didn't think that I needed to add another module, since their is a default module and a modified one.


17
Mamba
Re: Error: Smarty error: the $compile_dir '/var/www/html/xoops/htdocs/xoops_data/caches/smarty_compile'
  • 2010/2/16 2:36

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


[quote]Yes. It is set to 777. but it still showing a blank page.[/quote
But is it the same debug error?

18
qolspony
Re: Error: Smarty error: the $compile_dir '/var/www/html/xoops/htdocs/xoops_data/caches/smarty_compile'
  • 2010/2/16 2:44

  • qolspony

  • Just popping in

  • Posts: 54

  • Since: 2005/3/12


no. just a blank page. But I do receive an error when I go to the home page:

http://govsponsoredstalking.info/

This page cannot be displayed due to an internal error.

You can provide the following information to the administrators of this site to help them solve the problem:

Error: Smarty error: the $compile_dir '/home/qolspony/public_html/govsponsoredstalking.info/chris/caches/smarty_compile' does not exist, or is not a directory.


Ok I fix that problem. The files seem to have been moved to the wrong place. The homepage works now and I can login. However I can not finish the installation of the theme page.

What could be causing the final installation to failure?

Since the theme page is showing, something on the module end might be corrected.

19
Mamba
Re: Error: Smarty error: the $compile_dir '/var/www/html/xoops/htdocs/xoops_data/caches/smarty_compile'
  • 2010/2/16 4:45

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


If you want, send me a PM with your login/password, your FTP access, and I'll take a look into it.

I'm pretty sure, there is something wrong with your setup of the cache, but let's take a look, if you want...

20
qolspony
Re: Error: Smarty error: the $compile_dir '/var/www/html/xoops/htdocs/xoops_data/caches/smarty_compile'
  • 2010/2/16 5:48

  • qolspony

  • Just popping in

  • Posts: 54

  • Since: 2005/3/12


Ok. I will contact you right now.

Thanks for your help.

Qolspony

Login

Who's Online

366 user(s) are online (253 user(s) are browsing Support Forums)


Members: 0


Guests: 366


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits