Error No: 1242 - MySQL error Subquery returns more than 1 row
Query:
SELECT p.picture_id as picture_id, b.b_picture_id as b_picture_id, p.location as t_location, b.location as b_location FROM picturetag pt LEFT JOIN picture p ON p.picture_id=pt.picture_id LEFT JOIN b_picture b ON b.b_picture_id=pt.b_picture_id WHERE pt.tag_id=7311 AND pt.picturetag_id > (SELECT picturetag_id FROM picturetag WHERE picture_id=985548 AND tag_id=7311) GROUP BY pt.b_picture_id,pt.picture_id ORDER BY pt.picturetag_id ASC LIMIT 1
#0 /var/www/tip4.boeren.nu/public_html/classes/class.picturetag.php(121): Mysql->execute('\n SE...', 0)
#1 /var/www/tip4.boeren.nu/public_html/controllers/show.php(4545): PictureTag->getNext('985548', '7311', 'picture_id')
#2 /var/www/tip4.boeren.nu/public_html/controllers/show.php(5584): Show->t_picture()
#3 /var/www/tip4.boeren.nu/public_html/controllers/show.php(5597): Show->__construct(Object(mysqli))
#4 /var/www/tip4.boeren.nu/public_html/index.php(15): include_once('/var/www/tip4.b...')
#5 {main}Error No: 1242 - MySQL error Subquery returns more than 1 row
Query:
SELECT p.picture_id as picture_id, b.b_picture_id as b_picture_id, p.location as t_location, b.location as b_location FROM picturetag pt LEFT JOIN picture p ON p.picture_id=pt.picture_id LEFT JOIN b_picture b ON b.b_picture_id=pt.b_picture_id WHERE pt.tag_id=7311 AND pt.picturetag_id < (SELECT picturetag_id FROM picturetag WHERE picture_id=985548 AND tag_id=7311) GROUP BY pt.b_picture_id,pt.picture_id ORDER BY pt.picturetag_id DESC LIMIT 1
#0 /var/www/tip4.boeren.nu/public_html/classes/class.picturetag.php(148): Mysql->execute('\n SE...', 0)
#1 /var/www/tip4.boeren.nu/public_html/controllers/show.php(4546): PictureTag->getPrevious('985548', '7311', 'picture_id')
#2 /var/www/tip4.boeren.nu/public_html/controllers/show.php(5584): Show->t_picture()
#3 /var/www/tip4.boeren.nu/public_html/controllers/show.php(5597): Show->__construct(Object(mysqli))
#4 /var/www/tip4.boeren.nu/public_html/index.php(15): include_once('/var/www/tip4.b...')
#5 {main}Error No: 1242 - MySQL error Subquery returns more than 1 row
Query:
SELECT COUNT(*) FROM picturetag pt WHERE pt.tag_id=7311 AND pt.picturetag_id <= (SELECT picturetag_id FROM picturetag WHERE picture_id=985548 AND tag_id=7311)
#0 /var/www/tip4.boeren.nu/public_html/classes/class.picturetag.php(151): Mysql->execute('SELECT COUNT(*)...', 2)
#1 /var/www/tip4.boeren.nu/public_html/controllers/show.php(4548): PictureTag->getPosition('985548', '7311', 'picture_id')
#2 /var/www/tip4.boeren.nu/public_html/controllers/show.php(5584): Show->t_picture()
#3 /var/www/tip4.boeren.nu/public_html/controllers/show.php(5597): Show->__construct(Object(mysqli))
#4 /var/www/tip4.boeren.nu/public_html/index.php(15): include_once('/var/www/tip4.b...')
#5 {main} Case International Maxxum 5130 - Foto van Rubentjebeun123 (2016)
Case International Maxxum 5130 van Rubentjebeun123

Case International Maxxum 5130

Rubentjebeun123
Foto van een Case International Maxxum 5130

TractorFan kan jouw hulp goed gebruiken

Op TractorFan helpen gebruikers elkaar met het oplossen van technische vragen met betrekking tot Case International. Ook staan er nu al 8 foto's van de Case International Maxxum 5130. Of je nu actief bijdraagt door foto's, video's, topics of reacties te plaatsen, of je zorgt er middels de stemknoppen voor dat de beste reactie naar boven borrelt.. Met jouw kennis en inzicht kunnen we ook deze site nét dat beetje beter maken. Help je mee? Maak dan ook een (gratis) account aan!

REACTIES
0
PUNTEN
3
WEERGAVES
99
MEER FOTO'S
MEER INFORMATIE