View Single Post
  #3  
Old 18th January 2024, 09:11
soneigr soneigr is offline
Senior Member
 
Join Date: Dec 2023
Greece
Posts: 63
Default
Quote:
Originally Posted by crowni View Post
You put the btclients folder in the images folder. In the blocks folder, you put client_block.php. You install manually sql .And then you activate the block from the admin panel

Bump: I forgot and this sql



INSERT INTO `xbtit_bt_clients` (`id`, `name`, `link`, `sort`, `image`) VALUES
(1, 'Firefox', 'http://www.mozilla.org/', 1, 'firefox.png'),
(2, 'µTorrent ', 'http://www.utorrent.com/', 2, 'utorrent.png'),
(3, 'Vuze', 'http://azureus.sourceforge.net/', 3, 'azureus.png');
Warning: mysqli_query() expects parameter 1 to be mysqli, null given in /www/wwwroot/xbtitfm/blocks/clients_block.php on line 47
ERR_SQL_ERR

in /www/wwwroot/Xbtitfm20/blocks/clients_block.php, line 47

Σφάλμα

Εντολή SQL: Αντιγραφή

INSERT INTO `xbtit_bt_clients` (`id`, `name`, `link`, `sort`, `image`) VALUES
(1, 'Firefox', 'http://www.mozilla.org/', 1, 'firefox.png'),
(2, 'µTorrent ', 'http://www.utorrent.com/', 2, 'utorrent.png'),
(3, 'Vuze', 'http://azureus.sourceforge.net/', 3, 'azureus.png');

Η MySQL επέστρεψε το μήνυμα: Τεκμηρίωση
#1062 - Duplicate entry '1' for key 'PRIMARY'

Last edited by soneigr; 18th January 2024 at 09:26.
Reply With Quote