11
jensclas
Re: !!!!HELP< HELP>HELP<HELP!!!!!

First of all breath...smile...
I do not have specific answers for you...but...

Ok...I can't look because your site now has an internal error.

Now i could be barking up the wrong tree but here are some suggestions for you to try if no-one else pops in with a specific answer or you are waiting for a helpful xoopser...

There is a troubelshooting FAQ here

Look at getting to admin without login and see if that gets you into your site.

The check on the backup faq's.

if you get blank pages check the faq's on blank pages

I suggest you also establish a connection between you and your site via ftp (not c panel)and ensure all your files and folders are intact and have the correct read/write permissions...you didn't happen to delete mainfile.php? Is mainfile.php reading exactly as it should?

The FAQ section may be a good resource for you once you do establish a connection as admin

and yes...if all else fails use your backup...

12
spectrum
Re: !!!!HELP< HELP>HELP<HELP!!!!!
  • 2006/8/16 15:53

  • spectrum

  • Just popping in

  • Posts: 41

  • Since: 2005/12/13


Well when I moved from one host to the next they made a back up of the entire account that this site is hosted upon. I used the back up (from March) and uploaded it and the sql file. Now that everything is up loaded I get this error message when I type in the URL Quote:
This page cannot be displayed due to an internal error.
If you are the administrator of this site, please visit the XOOPS Troubleshooting Page for assistance.
Error [Xoops]: Unable to connect to database in file class/database/databasefactory.php line 34
.

I'm kinda lost at this point. I'm just pooped several hours into this and nothing has worked. With no manipulation to the site whatsoever by ADMIN then to see there is just the opening module and no XOOPS framework, I'm puzzled as to how this happened.
I'm enjoying Xoops, but it doesn't come without heartache and customer complaints!

13
Bender
Re: !!!!HELP< HELP>HELP<HELP!!!!!
  • 2006/8/16 17:07

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


Did you keep the old mainfile.php or did you overwrite it from the backup?

If you have overwritten it with the one from the backup:
edit the file and check if servername, username and password for sql server are correct for this hoster.
Sorry, this signature is experiencing technical difficulties. We will return you to the sheduled signature as soon as possible ...

14
Will_H
Re: Help .... Website broken
  • 2006/8/16 18:18

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


We really need to get better error pages....

It could be as complex as db corruption or as simple as an extra <{/if}> in the theme.....

15
spectrum
Re: Help .... Website broken
  • 2006/8/16 20:28

  • spectrum

  • Just popping in

  • Posts: 41

  • Since: 2005/12/13


Bender:
I have a mainfile from the host transfer back up. Along with the whole database. But I've put the file that contains the XOOPS info onto the server. I've imported the database and both of these are good files as I said from a March backup. Nothing works. I am nuts about it.
I'm enjoying Xoops, but it doesn't come without heartache and customer complaints!

16
spectrum
Re: Help .... Website broken
  • 2006/8/16 20:39

  • spectrum

  • Just popping in

  • Posts: 41

  • Since: 2005/12/13


[size=x-large]Below is Mainfile.php[/size]

Quote:
<?php
// $Id: mainfile.dist.php,v 1.7 2004/12/26 19:11:47 Onokazu 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
// Example: define('XOOPS_ROOT_PATH', '/home/gcollins/public_html/bridge');
define('XOOPS_ROOT_PATH', '/home/gcollins/public_html/bridge');

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

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

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

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

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

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


[size=x-small]edit by jensclas - i edited out your password - you really don;t want that in a public forum. [/size]
I'm enjoying Xoops, but it doesn't come without heartache and customer complaints!

17
tripmon
Re: Help .... Website broken
  • 2006/8/16 22:41

  • tripmon

  • Module Developer

  • Posts: 462

  • Since: 2004/2/28


I suggest using a hostname or ip address for the dB as opposed to localhost... your provider should be able to help you determine what the MySQL server's url or hostname is.

18
spectrum
Re: Help .... Website broken
  • 2006/8/16 23:14

  • spectrum

  • Just popping in

  • Posts: 41

  • Since: 2005/12/13


Okay well here is what happened. Go visit Life in a fish bowland you will see what I orginially saw with the first site that is now in complete havoc and probably beyond frickin repair.

When you visit the above link you'll see the opening page defaults to the news module and there is no XOOPS structure the page.

Thanks
I'm enjoying Xoops, but it doesn't come without heartache and customer complaints!

19
Bender
Re: Help .... Website broken
  • 2006/8/17 14:59

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


For site 1: (the thomaschart.org one)

Can you use phpmyadmin with the database of that site using the username and password which are in the mainfile.php?

Is in mainfile.php from site 2 the hostname also localhost?
Otherwise change the one in site 1 to the same as that used in the mainfile of number2.

Is the databasename really gcollins_xoop1? (again check with phpmyadmin

=====================================================

for site 2: (the fishy thing)

Can you still login?
(usinghttp://lifeinafishbowl.net/main/user.php)

At least from that page you get to see some other content.


If you can access the admin after logging in:
(usinghttp://lifeinafishbowl.net/main/admin.php)

- set theme back to XOOPS default theme
- deactivate news (do NOT uninstall)

See what happens.
Sorry, this signature is experiencing technical difficulties. We will return you to the sheduled signature as soon as possible ...

20
Will_H
Re: Help .... Website broken
  • 2006/8/17 17:18

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


I am at work so I cant really look into it but.....


// Example: define('XOOPS_ROOT_PATH', '/home/gcollins/public_html/bridge');
define('XOOPS_ROOT_PATH''/home/gcollins/public_html/bridge');

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


doesnt that seem weird?

Login

Who's Online

140 user(s) are online (100 user(s) are browsing Support Forums)


Members: 0


Guests: 140


more...

Donat-O-Meter

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

Latest GitHub Commits