Pagina 1 di 1

errore sql - php apache (phpnuke)

Inviato: mer 16 nov 2005, 17:32
da scartozzo
sto cercando di installare phpnuke.
Quasi tutto a posto.
1) apache funziona correttamente e così php
2) sembra funzionare anche mysql.

L'unico problema lo incontro quando tento di aprire nuke.sql il responso è questo:

Server: localhost - Database: aste
Error

There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem

ERROR: Unknown Punctuation String @ 67
STR: //
SQL: <?php
/* $Id: sql.php,v 2.53 2005/08/12 01:06:18 lem9 Exp $ */
// vim: expandtab sw=4 ts=4 sts=4:

/**
* Gets some core libraries
*/
require_once('./libraries/grab_globals.lib.php')

SQL query:

<?php /* $Id: sql.php,v 2.53 2005/08/12 01:06:18 lem9 Exp $ */ // vim: expandtab sw=4 ts=4 sts=4: /** * Gets some core libraries */ require_once('./libraries/grab_globals.lib.php')

MySQL said: Documentation
#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 '<?php
/* $Id: sql.php,v 2.53 2005/08/12 01:06:18 lem9 Exp $ */
// vim: expandtab' at line 1


HELP ME PLEASE!