1
Xetox
Re: Can't Get to Admin Page
  • 2006/12/8 20:47

  • Xetox

  • Just popping in

  • Posts: 71

  • Since: 2005/10/28


N/M I had not added but one mod, so I just reinstalled.



2
Xetox
Re: Can't Get to Admin Page
  • 2006/12/8 20:37

  • Xetox

  • Just popping in

  • Posts: 71

  • Since: 2005/10/28


Quote:

irmtfan wrote:
please provide us at least your XOOPS version!

if it is XOOPS 2.2+ you can use ROOT/recovery.php and back admin theme to "default"

if it is XOOPS 2.0+ a simple way is rename "default" theme to the theme that cause this error.


Its the latest version, and I dont have a recovery.php in root.



3
Xetox
Can't Get to Admin Page
  • 2006/12/7 21:20

  • Xetox

  • Just popping in

  • Posts: 71

  • Since: 2005/10/28


So I installed xoops, then loaded a theme I liked, well the theme does not have any links on it to get to the admin page or any thing for that matter, and when I go to the /admin.php it tells me I dont have rights to access the page? So I am suck in a loop, I can't seem to get to the admin page to chage the theme back to defualt. Any help would be great!



4
Xetox
DB Issue
  • 2005/12/1 21:01

  • Xetox

  • Just popping in

  • Posts: 71

  • Since: 2005/10/28


After fighting getting my site moved to my new host after old on crashed, I have decided to just start over.

This is my question. I am wanting to just exract my users our of the database and import them into my newone is this possible? If so how?



5
Xetox
Re: Server Crash
  • 2005/11/30 20:06

  • Xetox

  • Just popping in

  • Posts: 71

  • Since: 2005/10/28


More Info to go on. When I change themes everything is fine. I know this theme works cause I had it up before. Butwhen I run in debug mode with that theme loaded this is what I get.

Warning [Xoops]: Smarty error: unable to read resource: "karate_redux_blue/theme_blockleft.html" in file class/smarty/Smarty.class.php line 1084
Warning [Xoops]: Smarty error: unable to read resource: "karate_redux_blue/theme_blockleft.html" in file class/smarty/Smarty.class.php line 1084
Warning [Xoops]: Smarty error: unable to read resource: "karate_redux_blue/theme_blockleft.html" in file class/smarty/Smarty.class.php line 1084
Warning [Xoops]: Smarty error: unable to read resource: "karate_redux_blue/theme_blockcenter_c.html" in file class/smarty/Smarty.class.php line 1084
Warning [Xoops]: Smarty error: unable to read resource: "karate_redux_blue/theme_blockcenter_c.html" in file class/smarty/Smarty.class.php line 1084
Warning [Xoops]: Smarty error: unable to read resource: "karate_redux_blue/theme_blockcenter_c.html" in file class/smarty/Smarty.class.php line 1084
Warning [Xoops]: Smarty error: unable to read resource: "karate_redux_blue/theme_blockcenter_c.html" in file class/smarty/Smarty.class.php line 1084
Warning [Xoops]: Smarty error: unable to read resource: "karate_redux_blue/theme_blockright.html" in file class/smarty/Smarty.class.php line 1084
Warning [Xoops]: Smarty error: unable to read resource: "karate_redux_blue/theme_blockright.html" in file class/smarty/Smarty.class.php line 1084
Warning [Xoops]: Smarty error: unable to read resource: "karate_redux_blue/theme_blockright.html" in file class/smarty/Smarty.class.php line 1084



6
Xetox
Re: Server Crash
  • 2005/11/30 19:47

  • Xetox

  • Just popping in

  • Posts: 71

  • Since: 2005/10/28


Update, I am past the error messages now, but now all I have is my header and banners at top, can get any blocks to show up? http:gasperinofamily.com if you want to look at what I am talking about.

But if you hit the mod itself its fine. just no side blocks.

http://gasperinofamily.com/modules/myalbum/



7
Xetox
Re: Database questions...
  • 2005/11/30 18:40

  • Xetox

  • Just popping in

  • Posts: 71

  • Since: 2005/10/28


I dont know about the godaddy cp but I back my database up through the cp with the host. It listed under somthing like databases phpmyadmin. But its going to be different depending on what the host uses for the cp. We use H-Sphere.

Doubt any of that ramble helped but good luck anyway.



8
Xetox
Re: Server Crash
  • 2005/11/30 18:17

  • Xetox

  • Just popping in

  • Posts: 71

  • Since: 2005/10/28


Ok now this is what I have for my mainfile.php

I changed the XOOPS_CHECK_PATH TO 0 AND CHANGED MY XOOPS_ROOT_PATH TO /home/xetox/gasperinofamily.com like it should have been.

Now I get a bank page.



9
Xetox
Re: Server Crash
  • 2005/11/30 16:05

  • Xetox

  • Just popping in

  • Posts: 71

  • Since: 2005/10/28


Here is what my mainfile.php looks like...what should I remove?

// $Id: mainfile.dist.php,v 1.7.6.3 2005/05/21 15:38:20 mithyt2 Exp $
//  ------------------------------------------------------------------------ //
//                XOOPS - PHP Content Management System                      //
//                    Copyright (c) 2000 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
    // Example: define('XOOPS_ROOT_PATH', '/hsphere/local/home/xetox/gasperinofamily.com');
    
define('XOOPS_ROOT_PATH''/hsphere/local/home/xetox/gasperinofamily.com');

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

    
define('XOOPS_CHECK_PATH''1');
    
// 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_replacestrpos$xoopsScriptPath'\\') ? '\\' DIRECTORY_SEPARATOR'/'$xoopsScriptPath);
        }
        if ( 
strcasecmpsubstr($xoopsScriptPath0strlen(XOOPS_ROOT_PATH)), str_replaceDIRECTORY_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. Please change this to something different than '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''216.157.145.45');

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

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

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

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

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



10
Xetox
Server Crash
  • 2005/11/30 15:12

  • Xetox

  • Just popping in

  • Posts: 71

  • Since: 2005/10/28


Ok first let me start off with a background of what has happened.

Last week, the person that I host with got hacked and lets just say it was not pretty. So Myself and A friend stought out a reseller host and found a good one for a decent price. Luckly I have all my sites backuped :)

I got the most important one up first http://newoakvineyards.com since that is the one that brings my family the most money :)

Now I am trying to get http://gasperinofamily.com back up witch is a XOOPS site. I installed XOOPS fresh and then backed up a copy of it. Then I copied my intire old site over top of it minus cgi-bin and templates_c directory. Imported my database and hoped for the best. I guess I did not do enough hoping.

When I got the site now I get this.

XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run.

Any help would be greatly appreciated.

Thanks again.
Xetox




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



Login

Who's Online

759 user(s) are online (75 user(s) are browsing Support Forums)


Members: 0


Guests: 759


more...

Donat-O-Meter

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

Latest GitHub Commits