HaboaHabbo
Member
- Mar 20, 2013
- 126
- 6
ok i found them posting them
here is my PHP error logsok i found them posting them
You must be registered for see links
Last edited:
here is my PHP error logsok i found them posting them
Your HK are so sick! Do hope you will release it! Thanks for the cms.
Okay that wasnt helpful.ok i found them posting them
here is my PHP error logsYou must be registered for see links
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).Its just a bootstrap template, editing to do what a normal ASE can do?
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.Same weird issue
- [27-Jun-2016 12:44:32 Pacific/Auckland] PHP Notice: Undefined index: user in C:\inetpub\wwwroot\application\application.php on line 139
- [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
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.
/*
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;
ALTER TABLE users
ALTER COLUMN auth_ticket SET DEFAULT '-'
Do you have your PHP errors log?
Do you have your PHP errors log?
[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 languagePHP 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
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; }
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; }
Turning what off and back on -_-
Ive tried everything almost, Got everything correct. giving me a language error, its not working