Pagina 1 din 1

DEBUG MODE, File : admin_users.php

Scris: 13-Apr-2005, 20:48:47
de eXternal
am nevoie de ajutorul vostru

recent sunt admin al unui forum, insa n-am cunostinte in php

am sters unul din adminii forumului si iata ce am primit:

Cod: Selectaţi tot

Eroare generală 
Could not delete group for this user

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

DELETE FROM talk_groups WHERE group_id = 

Line : 156
File : admin_users.php
e ceva grav ?

si cum pot sa rezolv problema?

multumesc anticipat

Scris: 13-Apr-2005, 23:38:57
de BuGsY
Vezi dacă există aceste linii în fişierul admin/admin_users.php (aprox. 152):

Cod: Selectaţi tot

$sql = "DELETE FROM " . GROUPS_TABLE . "
				WHERE group_id = " . $row['group_id'];
			if( !$db->sql_query($sql) )
			{
				message_die(GENERAL_ERROR, 'Could not delete group for this user', '', __LINE__, __FILE__, $sql);
			}