[Release] Peace Hotel CMS (BoltCMS v1)

Thanatos31

New Member
Jun 9, 2015
23
3
help me please :(
bb9No8.png
 

Rain

c
Mar 13, 2015
563
251
ok i found them posting them
 

here is my PHP error logs
Okay that wasnt helpful.
PM me if you have this error, i will help you privately.
Its just a bootstrap template, editing to do what a normal ASE can do?
Completely custom php backend, with far more features such as node alerts to the site, a catalog editor, mass emails, and a server stats dashboard(graphs nd shit).
 
Last edited:

Jmando

Member
Mar 5, 2012
37
3
  1. [27-Jun-2016 12:44:32 Pacific/Auckland] PHP Notice: Undefined index: user in C:\inetpub\wwwroot\application\application.php on line 139
  2. [27-Jun-2016 12:44:32 Pacific/Auckland] PHP Notice: Trying to get property of non-object in C:\inetpub\wwwroot\application\application.php on line 139
Same weird issue
 

Connor

Member
May 28, 2010
87
6
After looking into the matter, if you're getting the "failed to add you to database" make sure the information you entered in the /applications.php file is correct, including the database hostname. Also make sure you have the required rows in your `users` table within your database. If the problem still exist after you double checked the information above, add me on skype: theorangekush and ill assist you.
 

Rain

c
Mar 13, 2015
563
251
  1. [27-Jun-2016 12:44:32 Pacific/Auckland] PHP Notice: Undefined index: user in C:\inetpub\wwwroot\application\application.php on line 139
  2. [27-Jun-2016 12:44:32 Pacific/Auckland] PHP Notice: Trying to get property of non-object in C:\inetpub\wwwroot\application\application.php on line 139
Same weird issue
Connor has the right idea, you just need the right columns or the query will fail. I made an SQL for them in the thread somewhere.
 

LeChris

John 15:18
Sep 30, 2013
2,786
1,395
Connor has the right idea, you just need the right columns or the query will fail. I made an SQL for them in the thread somewhere.
Code:
/*
Navicat MariaDB Data Transfer

Source Server : localhost_3306
Source Server Version : 100114
Source Host : localhost:3306
Source Database : peace

Target Server Type : MariaDB
Target Server Version : 100114
File Encoding : 65001

Date: 2016-06-08 22:50:38
*/

SET FOREIGN_KEY_CHECKS=0;

-- ----------------------------
-- Table structure for cms_clicks
-- ----------------------------
DROP TABLE IF EXISTS `cms_clicks`;
CREATE TABLE `cms_clicks` (
`id` int(15) NOT NULL AUTO_INCREMENT,
`timestamp` varchar(100) NOT NULL,
`ip_addr` varchar(100) NOT NULL,
`where_from` varchar(100) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1705 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for cms_hk_logs
-- ----------------------------
DROP TABLE IF EXISTS `cms_hk_logs`;
CREATE TABLE `cms_hk_logs` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`ip` varchar(255) NOT NULL,
`data` text NOT NULL,
`username` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4538 DEFAULT CHARSET=latin1;

-- ----------------------------
-- Table structure for cms_logins
-- ----------------------------
DROP TABLE IF EXISTS `cms_logins`;
CREATE TABLE `cms_logins` (
`id` int(20) NOT NULL AUTO_INCREMENT,
`username` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL,
`time` varchar(255) NOT NULL,
`result` varchar(100) NOT NULL,
`ip` varchar(100) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=16518 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for cms_news
-- ----------------------------
DROP TABLE IF EXISTS `cms_news`;
CREATE TABLE `cms_news` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) COLLATE latin1_general_ci DEFAULT NULL,
`shortstory` text COLLATE latin1_general_ci,
`longstory` text COLLATE latin1_general_ci,
`published` int(10) NOT NULL DEFAULT '0',
`image` varchar(255) COLLATE latin1_general_ci DEFAULT '/Public/Images/news/TS_Web60.png',
`campaign` int(1) NOT NULL DEFAULT '0',
`campaignimg` varchar(255) COLLATE latin1_general_ci NOT NULL DEFAULT '',
`author` varchar(255) COLLATE latin1_general_ci NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=40 DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;

-- ----------------------------
-- Table structure for cms_profile_snogs
-- ----------------------------
DROP TABLE IF EXISTS `cms_profile_snogs`;
CREATE TABLE `cms_profile_snogs` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`to_id` int(11) NOT NULL DEFAULT '0',
`from_id` int(11) NOT NULL DEFAULT '0',
`type` varchar(20) NOT NULL DEFAULT 'snog',
`message` varchar(250) NOT NULL DEFAULT '',
`time` varchar(100) NOT NULL DEFAULT '',
`seen` varchar(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=236 DEFAULT CHARSET=latin1;

-- ----------------------------
-- Table structure for cms_queries
-- ----------------------------
DROP TABLE IF EXISTS `cms_queries`;
CREATE TABLE `cms_queries` (
`id` int(15) NOT NULL AUTO_INCREMENT,
`data` varchar(500) NOT NULL,
`time` varchar(100) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1478 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for cms_referrals
-- ----------------------------
DROP TABLE IF EXISTS `cms_referrals`;
CREATE TABLE `cms_referrals` (
`id` int(15) NOT NULL AUTO_INCREMENT,
`user` varchar(255) NOT NULL,
`ip` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=49 DEFAULT CHARSET=latin1;

-- ----------------------------
-- Table structure for cms_settings
-- ----------------------------
DROP TABLE IF EXISTS `cms_settings`;
CREATE TABLE `cms_settings` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`id_key` varchar(255) DEFAULT NULL,
`value` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;

-- ----------------------------
-- Table structure for cms_shop_packs
-- ----------------------------
DROP TABLE IF EXISTS `cms_shop_packs`;
CREATE TABLE `cms_shop_packs` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL DEFAULT 'Null',
`description` text NOT NULL,
`img` varchar(355) NOT NULL DEFAULT 'null',
`price` varchar(255) NOT NULL DEFAULT '0',
`currency` varchar(5) NOT NULL DEFAULT 'USD',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=19 DEFAULT CHARSET=latin1;

-- ----------------------------
-- Table structure for cms_shop_purchases
-- ----------------------------
DROP TABLE IF EXISTS `cms_shop_purchases`;
CREATE TABLE `cms_shop_purchases` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`img` varchar(255) NOT NULL,
`price` varchar(255) NOT NULL,
`currency` varchar(255) NOT NULL DEFAULT 'USD',
`date_given` varchar(255) NOT NULL,
`delivered` varchar(1) NOT NULL DEFAULT '0',
`user_id` varchar(11) NOT NULL,
`donation` varchar(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=166 DEFAULT CHARSET=latin1;

-- ----------------------------
-- Table structure for cms_stats
-- ----------------------------
DROP TABLE IF EXISTS `cms_stats`;
CREATE TABLE `cms_stats` (
`user_peak` int(4) NOT NULL DEFAULT '0',
`rooms_peak` int(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- ----------------------------
-- Table structure for cms_values
-- ----------------------------
DROP TABLE IF EXISTS `cms_values`;
CREATE TABLE `cms_values` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`points` int(11) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`thrones` varchar(11) DEFAULT NULL,
`dinos` varchar(11) DEFAULT NULL,
`img` varchar(500) DEFAULT NULL,
`last_edited` varchar(400) DEFAULT NULL,
`last_points` int(11) DEFAULT NULL,
`last_thrones` varchar(11) DEFAULT NULL,
`last_dinos` varchar(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=31 DEFAULT CHARSET=latin1;

-- ----------------------------
-- Table structure for cms_votes
-- ----------------------------
DROP TABLE IF EXISTS `cms_votes`;
CREATE TABLE `cms_votes` (
`id` int(20) NOT NULL AUTO_INCREMENT,
`username` varchar(150) NOT NULL,
`timestamp` varchar(150) NOT NULL,
`ip_addr` varchar(150) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=367 DEFAULT CHARSET=utf8;


For those having issues registering, run this!
Code:
ALTER TABLE users
ALTER COLUMN auth_ticket SET DEFAULT '-'
 
Last edited:

JOBAL

Not cheating? Your not trying
Dec 4, 2013
42
6
I really like this cms, not only is it clean and simple, but it still manages to look extremely nice, especially the colors used. Additionally, I think the snog feature is great!
 

iGlenn

:)
Jul 21, 2015
618
92
So would config line 20 be localhost/cdn instead of my domain name? If anyone got this cms working and can help see what i did wrong would be greatly appreciated as i really like and need this cms
 

Ramyroma

New Member
Jan 30, 2015
18
2
Registering Error is still there even after i added the missing columns and ran the code
someone help pls
 

Era

New Member
Jul 14, 2016
6
2
Hello All & @Rain

I am still receiving this error message after correctly entering the information in to application.php and I have ran all of the SQL's mentioned in this thread.

7Pm1ukH.png


Could you please advise? - Skype - era.owen
 

Jaden

not so active
Aug 24, 2014
886
263
Hello All & @Rain

I am still receiving this error message after correctly entering the information in to application.php and I have ran all of the SQL's mentioned in this thread.

7Pm1ukH.png


Could you please advise? - Skype - era.owen
Do you have your PHP errors log?
 

Era

New Member
Jul 14, 2016
6
2
Do you have your PHP errors log?

I will post shortly think you for your reply.
 
Do you have your PHP errors log?

[15-Jul-2016 09:04:04 Pacific/Auckland] PHP Notice: Undefined index: user in C:\inetpub\wwwroot\application\application.php on line 135
[15-Jul-2016 09:04:04 Pacific/Auckland] PHP Notice: Trying to get property of non-object in C:\inetpub\wwwroot\application\application.php on line 135
[15-Jul-2016 09:04:04 Pacific/Auckland] PHP Notice: Undefined index: user in C:\inetpub\wwwroot\application\application.php on line 135
[15-Jul-2016 09:04:04 Pacific/Auckland] PHP Notice: Trying to get property of non-object in C:\inetpub\wwwroot\application\application.php on line 135
[15-Jul-2016 09:04:04 Pacific/Auckland] PHP Notice: Undefined index: user in C:\inetpub\wwwroot\application\application.php on line 135
[15-Jul-2016 09:04:04 Pacific/Auckland] PHP Notice: Trying to get property of non-object in C:\inetpub\wwwroot\application\application.php on line 135
[15-Jul-2016 09:04:04 Pacific/Auckland] PHP Notice: Undefined index: user in C:\inetpub\wwwroot\application\application.php on line 135
[15-Jul-2016 09:04:04 Pacific/Auckland] PHP Notice: Trying to get property of non-object in C:\inetpub\wwwroot\application\application.php on line 135
[15-Jul-2016 09:04:04 Pacific/Auckland] PHP Notice: Undefined index: user in C:\inetpub\wwwroot\application\application.php on line 135
[15-Jul-2016 09:04:04 Pacific/Auckland] PHP Notice: Trying to get property of non-object in C:\inetpub\wwwroot\application\application.php on line 135
[15-Jul-2016 09:04:04 Pacific/Auckland] PHP Notice: Undefined index: ads in C:\inetpub\wwwroot\application\application.php on line 224
[15-Jul-2016 09:04:04 Pacific/Auckland] PHP Notice: Undefined index: ads in C:\inetpub\wwwroot\application\application.php on line 225
[15-Jul-2016 09:04:04 Pacific/Auckland] PHP Notice: Undefined index: ads in C:\inetpub\wwwroot\application\application.php on line 226
 

MadMonsterMan

Member
Mar 25, 2016
202
13
PHP LOG EDIT:
Code:
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Undefined index: user in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Trying to get property of non-object in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Undefined index: user in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Trying to get property of non-object in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Undefined index: user in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Trying to get property of non-object in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Undefined index: user in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Trying to get property of non-object in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Undefined index: user in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Trying to get property of non-object in C:\inetpub\wwwroot\application\application.php on line 139
 
PHP LOG EDIT:
Code:
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Undefined index: user in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Trying to get property of non-object in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Undefined index: user in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Trying to get property of non-object in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Undefined index: user in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Trying to get property of non-object in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Undefined index: user in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Trying to get property of non-object in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Undefined index: user in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Trying to get property of non-object in C:\inetpub\wwwroot\application\application.php on line 139
I've looked into my issue with the error on application.php on line 139 looks like it has something to do with the language
 
Looks like PHP script is giving the error on line 139:
PHP:
if($_SESSION['user']['data']->language == '00' || ($_SESSION['user']['data']->language != 'TR' && $_SESSION['user']['data']->language != 'MY' && $_SESSION['user']['data']->language != 'ES' && $_SESSION['user']['data']->language != 'EN')){
            $lang = strtolower(substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2));
        }else{ $lang = $_SESSION['user']['data']->language; }
 

LeChris

John 15:18
Sep 30, 2013
2,786
1,395
PHP LOG EDIT:
Code:
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Undefined index: user in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Trying to get property of non-object in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Undefined index: user in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Trying to get property of non-object in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Undefined index: user in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Trying to get property of non-object in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Undefined index: user in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Trying to get property of non-object in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Undefined index: user in C:\inetpub\wwwroot\application\application.php on line 139
[19-Jul-2016 14:50:47 Pacific/Auckland] PHP Notice:  Trying to get property of non-object in C:\inetpub\wwwroot\application\application.php on line 139
 

I've looked into my issue with the error on application.php on line 139 looks like it has something to do with the language
 
Looks like PHP script is giving the error on line 139:
PHP:
if($_SESSION['user']['data']->language == '00' || ($_SESSION['user']['data']->language != 'TR' && $_SESSION['user']['data']->language != 'MY' && $_SESSION['user']['data']->language != 'ES' && $_SESSION['user']['data']->language != 'EN')){
            $lang = strtolower(substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2));
        }else{ $lang = $_SESSION['user']['data']->language; }
4463d682735d1cb300ce7e5032c9128e3dd4a553f5a2fc44273e07f8a3ae07bd.jpg
 

Users who are viewing this thread

Top