• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Releasing an Auto Restart OT script via Modern AAC!

I have a problem, when I put localhost/index.php/p/v/restart redirect to http://localhost//index.php/ajax_cs/adminRequest and there are 3 problems about controllers/ajax_cs.php in Line Number: 16, 17 and 18 with the name input, i error.jpg I send an image :).

- - - Updated - - -

I have a problem, when I put localhost/index.php/p/v/restart redirect to http://localhost//index.php/ajax_cs/adminRequest and there are 3 problems about controllers/ajax_cs.php in Line Number: 16, 17 and 18 with the name input, i error.jpg I send an image :).

- - - Updated - - -

I have a problem, when I put localhost/index.php/p/v/restart redirect to http://localhost//index.php/ajax_cs/adminRequest and there are 3 problems about controllers/ajax_cs.php in Line Number: 16, 17 and 18 with the name input, i error.jpg I send an image :).
 
I know this is and old post but i need help with it, when i post this in my SQL :
Code:
CREATE TABLE IF NOT EXISTS `z_shut` (
  `id` INT(11) NOT NULL AUTO_INCREMENT,
  `shutdown` INT(11) NOT NULL DEFAULT '1',
  `long` INT(11) NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `id` (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
 
 
INSERT INTO `z_shut` (`id`, `shutdown`, `long`) VALUES
(1, 0, 1);


I get this error:
Code:
SQL query:

INSERT INTO  `z_shut` (  `id` ,  `shutdown` ,  `long` ) 
VALUES ( 1, 0, 1 ) ;


MySQL said: 

#1062 - Duplicate entry '1' for key 'PRIMARY'

Help?

- - - Updated - - -

Sorry for dubble post but i cant find where to Edit my old post, i also get this error :
Code:
Parse error: syntax error, unexpected 'else' (T_ELSE) in E:\xampp\htdocs\index.php on line 206
When i add this:
PHP:
    $smarty->assign('admin', '[<a href="'.$website.'/index.php/p/v/restart">Restarter</a>]');
under this
PHP:
if($ide->isAdmin())
    $smarty->assign('admin', '[<a href="'.$website.'/index.php/admin">Administration</a>]');
¨

So it's looks like this:
PHP:
if($ide->isAdmin())
	$smarty->assign('admin', '[<a href="'.$website.'/index.php/admin">Administration</a>]');
	$smarty->assign('admin', '[<a href="'.$website.'/index.php/p/v/restart">Restarter</a>]');
else
	$smarty->assign('admin', '');
 
Back
Top