Thanks bro! I already fixed this!
I'm having a problem with this line now
CREATE TABLE IF NOT EXISTS `znote_guild_wars` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`limit` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
FOREIGN KEY (`id`), REFERENCES `guild_wars` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
#1005 - Can't create table `realserver`.`znote_guild_wars` (errno: 150 "Foreign key constraint is incorrectly formed")
Know anything about it? Thank you!
Hello guys, I'm starting a website but before the installation I get this error:
So, when I check the line I see this
$connect = new mysqli($config['sqlHost'], $config['sqlUser'], $config['sqlPassword'], $config['sqlDatabase']);
Don't know what to write there because if I change it, it appears a message of the website saying: Notice: Undefined index: ......
Hope someone could help me because is really annoying!!
Thanks a lot
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.