Ver Mensaje Individual
  #1 (permalink)  
Antiguo 10/10/2013, 05:08
Avatar de guardarmicorreo
guardarmicorreo
 
Fecha de Ingreso: noviembre-2012
Ubicación: Córdoba
Mensajes: 1.153
Antigüedad: 11 años, 5 meses
Puntos: 84
Problema con consulta y diseño

Hola, tengo el siguiente diseño



Y realizo la siguiente consulta para escoger preguntas no duplicadas de un mismo usuario a un amigo

Código SQL:
Ver original
  1. SELECT * FROM `questions`
  2.  
  3. INNER JOIN `answers`
  4.  
  5. ON (answers.id_questions=questions.id_question)
  6.  
  7. WHERE answers.id_questions != 21 AND answers.id_users!= 21 AND answers.id_friend != 54321;

Pero me arroja el siguiente error

Cita:
import.php: Parámetro faltante: import_type
import.php: Parámetro faltante: format
No se qué significan o qué debo hacer, ya que en el primer caso me señala que debo visitar este enlace y dice lo siguiente

Cita:
Here are a few points to check:

In config.inc.php, try to leave the $cfg['PmaAbsoluteUri'] directive empty. See also FAQ 4.7.
Maybe you have a broken PHP installation or you need to upgrade your Zend Optimizer. See http://bugs.php.net/bug.php?id=31134.
If you are using Hardened PHP with the ini directive varfilter.max_request_variables set to the default (200) or another low value, you could get this error if your table has a high number of columns. Adjust this setting accordingly. (Thanks to Klaus Dorninger for the hint).
In the php.ini directive arg_separator.input, a value of ";" will cause this error. Replace it with "&;".
If you are using Hardened-PHP, you might want to increase request limits.
The directory specified in the php.ini directive session.save_path does not exist or is read-only.
En el segundo import me dice que debo visitar el mismo enlace con las mismas soluciones.

Me ha desconcertado que para una consulta a MYSQL deba configurar unos archivos .php, estos archivos ¿son propios del motor de MYSQL o qué son y para qué sirven? ¿Hay otra manera de evitar estos errores o por qué aparecen?

¿Se os ocurre otra manera mejor de hacer lo que estoy haciendo?
__________________
Ayúdame a hacerlo por mi mismo.