Still getting an internal server error.
----
update: Nevermind. Didn't add web.config correctly. xD
Printable View
Still getting an internal server error.
----
update: Nevermind. Didn't add web.config correctly. xD
http://txt.sharefast.net/1324394666981884922290.sql = dead.
"Title: Table 'db.fuserights' doesn't exist
Text: Table 'db.fuserights' doesn't exist"
> enter the SQL
Spoiler:
get >
Spoiler:
Thanks for this!
The full database dosent work... Can I get a new one?
New Download, Seems like Mediafire is not working currently :(
for the error #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE `users` ADD `expert` VARCHAR( 50 ) NOT NULL AFTER `vip`' at line 2
Run this on SQL
ALTER TABLE `users` ADD `expert` VARCHAR( 50 ) NOT NULL AFTER `vip`
ALTER TABLE `users` ADD `forumname` VARCHAR( 50 ) NOT NULL AFTER `expert`
Instead
ALTER TABLE `users` ADD `forumname` VARCHAR( 50 ) NOT NULL AFTER `expert`
ALTER TABLE `users` ADD `expert` VARCHAR( 50 ) NOT NULL AFTER `vip`
How do i get rid of this error?
Notice: Undefined index: HTTP_CF_CONNECTING_IP in C:\xampp\htdocs\global.php on line 21
Where do i change the facebook?
Just delete the row 21 in global.php
It's still there, The Like us on facebook part
for YouHotel
Is this better than UberCMS 2?
ubercms 2 is abit buggy logging in id say this is stabler
"Title: MySQL server has gone away
Text: MySQL server has gone away"
What the fuck, it takes forever to load.
I have this error
Title: Could not execute cron job 'credits.php': could not locate script file.
Text: Could not execute cron job 'credits.php': could not locate script file.
and whem i submit the registration it comes up as
Title: Could not execute cron job 'Expert.php': could not locate script file.
Text: Could not execute cron job 'Expert.php': could not locate script file.
I need help Guys :(
Nash,
Help me plz.
I have a error
Notice: Undefined index: HTTP_CF_CONNECTING_IP in C:\xampp\htdocs\global.php on line 21
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\inc\class.db.mysql.php on line 49
Title: Access denied for user 'root'@'localhost' (using password: YES)
Text: Access denied for user 'root'@'localhost' (using password: YES)
I first import phoenix3.sql.svn-base to the database from C:\xampp\htdocs\inc\tpl\.svn\text-base. After run this command
afterPHP Code:ALTER TABLE `users` ADD `forumname` VARCHAR( 50 ) NOT NULL AFTER `expert`
ALTER TABLE `users` ADD `expert` VARCHAR( 50 ) NOT NULL AFTER `vip`
and afterPHP Code:TRUNCATE TABLE `site_cron`
I type settings in the inc/class.db.mysql.phpPHP Code:--
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
--
-- Table structure for table `site_config`
--
CREATE TABLE IF NOT EXISTS `site_config` (
`maintenance` enum('0','1') NOT NULL DEFAULT '0',
`web_build` varchar(255) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `site_cron`
--
CREATE TABLE IF NOT EXISTS `site_cron` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`prio` int(11) NOT NULL DEFAULT '5',
`enabled` enum('0','1') NOT NULL DEFAULT '1',
`scriptfile` varchar(50) NOT NULL,
`last_exec` int(11) NOT NULL,
`exec_every` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;
-- --------------------------------------------------------
--
-- Table structure for table `site_hotcampaigns`
--
CREATE TABLE IF NOT EXISTS `site_hotcampaigns` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`order_id` int(11) NOT NULL DEFAULT '1',
`enabled` enum('0','1') NOT NULL DEFAULT '1',
`IMG_url` text NOT NULL,
`caption` text NOT NULL,
`descr` text NOT NULL,
`url` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
-- --------------------------------------------------------
--
-- Table structure for table `site_minimail`
--
CREATE TABLE IF NOT EXISTS `site_minimail` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`sender_id` int(10) unsigned NOT NULL,
`receiver_id` int(10) unsigned NOT NULL,
`folder` enum('inbox','sent','trash') NOT NULL DEFAULT 'inbox',
`is_read` enum('0','1') NOT NULL DEFAULT '0',
`subject` varchar(120) NOT NULL,
`date` varchar(120) NOT NULL,
`isodate` varchar(120) NOT NULL,
`timestamp` int(11) NOT NULL,
`body` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=7075 ;
-- --------------------------------------------------------
--
-- Table structure for table `site_navi`
--
CREATE TABLE IF NOT EXISTS `site_navi` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`parent_id` int(10) unsigned NOT NULL DEFAULT '0',
`order_id` int(11) NOT NULL,
`caption` text NOT NULL,
`class` text NOT NULL,
`url` text NOT NULL,
`visibility` enum('0','1','2','3') NOT NULL COMMENT '0 = Never, 1 = Always, 2 = Logged in only, 3 = Guests only',
PRIMARY KEY (`id`),
KEY `parent_id` (`parent_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=22 ;
-- --------------------------------------------------------
--
-- Table structure for table `site_news`
--
CREATE TABLE IF NOT EXISTS `site_news` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`seo_link` varchar(120) NOT NULL DEFAULT 'news-article',
`title` text NOT NULL,
`category_id` int(10) unsigned NOT NULL DEFAULT '1',
`topstory_IMG` text NOT NULL,
`body` text NOT NULL,
`snippet` text NOT NULL,
`datestr` varchar(50) NOT NULL,
`timestamp` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=35 ;
-- --------------------------------------------------------
--
-- Table structure for table `site_news_categories`
--
CREATE TABLE IF NOT EXISTS `site_news_categories` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`caption` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
-- --------------------------------------------------------
--
-- Table structure for table `site_news_comments`
--
CREATE TABLE IF NOT EXISTS `site_news_comments` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`article` int(11) NOT NULL,
`userid` int(11) NOT NULL,
`comment` varchar(500) NOT NULL,
`posted_on` varchar(150) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1525 ;
My settings
Help me please!PHP Code:<?php
/*=======================================================================
| UberCMS - Advanced Website and Content Management System for uberEmu
| #######################################################################
| Copyright (c) 2010, Roy 'Meth0d'
| http://www.meth0d.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 3 of the License, or
| (at your option) any later version.
| #######################################################################
| 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.
\======================================================================*/
class MySQL
{
private $connected = true;
private $hostname = "localhost";
private $username = "root";
private $password = "mypass";
private $database = "habbo";
private $link;
public function MySQL($host, $user, $pass, $db)
{
$this->connected = false;
$this->hostname = $host;
$this->username = $user;
$this->password = $pass;
$this->database = $db;
}
public function IsConnected()
{
if ($this->connected)
{
return true;
}
return false;
}
public function Connect()
{
$this->link = mysql_connect($this->hostname, $this->username, $this->password) or $this->error(mysql_error());
mysql_select_db($this->database, $this->link) or $this->error(mysql_error());
$this->connected = true;
}
public function Disconnect()
{
if($this->connected)
{
@mysql_close($this->link) or $this->error("could not close conn");
$this->connected = false;
}
}
public function DoQuery($query)
{
$resultset = @mysql_query($query, $this->link) or $this->error(mysql_error());
return $resultset;
}
public function Evaluate($resultset)
{
return @mysql_result($resultset, 0);
}
public function Error($errorString)
{
global $core;
$core->systemError('Database Error', $errorString);
}
public function __destruct()
{
$this->disconnect();
}
}
?>