1
Jackwan
Re: Upgrade from 2.0.18 to 2.3.3 help
  • 2009/8/25 21:32

  • Jackwan

  • Not too shy to talk

  • Posts: 129

  • Since: 2004/9/8 2


Thanks for all the help. But I still have an issue. Bandit-x in his blog indicated that if you point to the root directory in the browser you will get the following error:
Quote:
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 'XOOPS_VAR_PATH/caches/smarty_compile' does not exist, or is not a directory.


But I did point the browser to the /upgrade/ directory and got the same error message.

Also, "badcase" had commented that XOOPS_VAR_PATH should be defined in the mainfile.php. I have checked three different mainfile.php versions from the past and none of them have referenced to that path.

Thanks for your help....



2
Jackwan
Re: Upgrade from 2.0.18 to 2.3.3 help
  • 2009/8/25 3:25

  • Jackwan

  • Not too shy to talk

  • Posts: 129

  • Since: 2004/9/8 2


I've checked the mainfile.php from the download, as you said, it requires to run the install.

Quote:
If you have a backup of the site I would say you could replace the mainfile.php with the copy from the XOOPS distribution you upgraded with.


I do have the mainfile.php from the 2.0.18 and have post it in the above message. In that mainfile.php, there is no reference to Xoops_var_path variable. So, where can I find a mainfile.php that has one?



3
Jackwan
Re: Upgrade from 2.0.18 to 2.3.3 help
  • 2009/8/25 0:50

  • Jackwan

  • Not too shy to talk

  • Posts: 129

  • Since: 2004/9/8 2


sorry, I have searched the entire file and the xoops_var_path is not there. this mainfile.php was used by 2.0.18 should I use the new one from the download? per instruction the 2nd step is to delete mailfile.php from the distributed download.



4
Jackwan
Re: Upgrade from 2.0.18 to 2.3.3 help
  • 2009/8/25 0:26

  • Jackwan

  • Not too shy to talk

  • Posts: 129

  • Since: 2004/9/8 2


btw, in the include/common.php the xoops_var_path is set to null.



5
Jackwan
Re: Upgrade from 2.0.18 to 2.3.3 help
  • 2009/8/25 0:08

  • Jackwan

  • Not too shy to talk

  • Posts: 129

  • Since: 2004/9/8 2


I believe that I did it to the letter.

right now htdoc/ does not have the mainfile.php. The mainfile.php on the server has been set to 777 and it had a different date from today's upload.

here is the current mainfile.php

Quote:

// $Id: mainfile.dist.php,v 1.6 2004/06/16 23:07:42 skalpa Exp $
// ------------------------------------------------------------------------ //
// XOOPS - PHP Content Management System //
// Copyright (c) 2000 XOOPS.org //
// <https://xoops.org/> //
// ------------------------------------------------------------------------ //
// 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; either version 2 of the License, or //
// (at your option) any later version. //
// //
// 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. See the //
// GNU General Public License for more details. //
// //
// You should have received a copy of the GNU General Public License //
// along with this program; if not, write to the Free Software //
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
// ------------------------------------------------------------------------ //

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

// XOOPS Physical Path
// Physical path to your main XOOPS directory WITHOUT trailing slash
define('XOOPS_ROOT_PATH', '/home/twkince/public_html');

// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
// define('XOOPS_URL', 'http://66.xxx.xxx.xxx/~yyyyyyy/credata/');
define('XOOPS_URL', 'http://www.creforum.net');

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');

// 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', 'xoops');

// 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', '');

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

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

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

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


foreach ( array('GLOBALS', '_SESSION', 'HTTP_SESSION_VARS', '_GET', 'HTTP_GET_VARS', '_POST', 'HTTP_POST_VARS', '_COOKIE', 'HTTP_COOKIE_VARS', '_REQUEST', '_SERVER', 'HTTP_SERVER_VARS', '_ENV', 'HTTP_ENV_VARS', '_FILES', 'HTTP_POST_FILES', 'xoopsDB', 'xoopsUser', 'xoopsUserId', 'xoopsUserGroups', 'xoopsUserIsAdmin', 'xoopsConfig', 'xoopsOption', 'xoopsModule', 'xoopsModuleConfig', 'xoopsRequestUri') as $bad_global ) {
if ( isset( $_REQUEST[$bad_global] ) ) {
header( 'Location: '.XOOPS_URL.'/' );
exit();
}
}
if (!isset($xoopsOption['nocommon'])) {
include XOOPS_ROOT_PATH."/include/common.php";
}
}
?>




6
Jackwan
Upgrade from 2.0.18 to 2.3.3 help
  • 2009/8/24 17:20

  • Jackwan

  • Not too shy to talk

  • Posts: 129

  • Since: 2004/9/8 2


I uploaded the files to the server and when I executed the /upgrade/ I got the following error message

Quote:
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 'XOOPS_VAR_PATH/caches/smarty_compile' does not exist, or is not a directory.



I checked the smarty subdirectories and they are there and the attributes are set to 777

Help



7
Jackwan
What is the easiest way to post photos in Forums
  • 2008/8/23 12:31

  • Jackwan

  • Not too shy to talk

  • Posts: 129

  • Since: 2004/9/8 2


I tried picito, but it does not integrate with the Forum. I am looking for some thing that user can upload photos or videos directly into the Forum...Please advise. Thanks.
Commercial Real Estate Forum
http://creforum.net



8
Jackwan
Re: What could go wrong in the template_c
  • 2005/10/11 6:37

  • Jackwan

  • Not too shy to talk

  • Posts: 129

  • Since: 2004/9/8 2


Quote:

smdcom wrote:
<a href="https://xoops.org/modules/smartfaq/faq.php?faqid=80">Blank Page FAQ</a>

More Info Please
================
We need a little more information before we can help you. Please provide as much of the following information as possible...

XOOPS Version:
Module Name/Version:
PHP Version:
MySQL Version:
Web Server Software (Apache/IIS/Other):
Operating System:
Theme you are using:
PHP Debug Messages:
MySQL Debug Messages:
Smarty Debug Messages:

Best Regards,
SMD


theme is 7 dana clean
no debug messages, was not turned on.
Commercial Real Estate Forum
http://creforum.net



9
Jackwan
Re: What could go wrong in the template_c
  • 2005/10/11 6:35

  • Jackwan

  • Not too shy to talk

  • Posts: 129

  • Since: 2004/9/8 2


xoops 2.0.13.1
PHP 4.3.11
Mysql 4.024 standard
Web Server Apache 1.3.33 Unix
OS Linux 2.4.26ow3
Commercial Real Estate Forum
http://creforum.net



10
Jackwan
What could go wrong in the template_c
  • 2005/10/11 2:11

  • Jackwan

  • Not too shy to talk

  • Posts: 129

  • Since: 2004/9/8 2


Today, I tried to get to my front page and got blank page. Based on my previous experience. I went to ftp and deleted the cache and template_c directory contents and the front page came back unscatched. When I tried to get to the admin page I was informed "if this is the first first time log on to admin please click here"

I am using v2.0.13.1 now
Commercial Real Estate Forum
http://creforum.net




TopTop
(1) 2 3 4 ... 13 »



Login

Who's Online

58 user(s) are online (27 user(s) are browsing Support Forums)


Members: 0


Guests: 58


more...

Donat-O-Meter

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

Latest GitHub Commits