Secondo voi da cosa può dipendere il fatto che dopo aver installato apache e PHP
alcune pagine non vengono visalizzate corretamente
(ad esempio i wizard di installazione di script PHP)
questo è un esempio di quello che visualizzo
(praticamente vedo il codice PHP oltre che il teso della pagina html)
Did you edit config.php to match your MySQL configuration?
Yes No Please edit config.php before continuing!
\n"; $problem = true; } else { print("A MySQL error occured: (" . mysql_errno() . ") " . mysql_error() . "
\n"); $error = true; } } else { mysql_query('ALTER TABLE `'.SQL_PREFIX.'messages` CHANGE `message` `message` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL'); print "Table '".SQL_PREFIX."messages' added successfully!
\n"; } $table_users = 'CREATE TABLE `'.SQL_PREFIX.'users` ( `username` text, `password` text, `email` text, `buddylist` text, `is_online` int(11) default \'0\', `last_ping` text, `id` bigint(20) unsigned NOT NULL auto_increment, UNIQUE KEY `id` (`id`) ) ;'; if(!mysql_query($table_users)) { if(mysql_errno() == 1050) { print "Table '".SQL_PREFIX."users' already exists!
\n"; } else { print("A MySQL error occured: (" . mysql_errno() . ") " . mysql_error() . "
\n"); $error = true; } } else { print "Table '".SQL_PREFIX."users' added successfully!
\n"; } $table_chats = 'CREATE TABLE `'.SQL_PREFIX.'chats` ( `room` text, `user` text, `id` bigint(20) unsigned NOT NULL auto_increment, UNIQUE KEY `id` (`id`) ) ;'; if(!mysql_query($table_chats)) { if(mysql_errno() == 1050) { print "Table '".SQL_PREFIX."chats' already exists! If you had a version of ajax im less than 3.0 installed on this database, please delete the table and then run this script again, otherwise ignore this error.
\n"; $problem = true; } else { print("A MySQL error occured: (" . mysql_errno() . ") " . mysql_error() . "
\n"); $error = true; } } else { mysql_query('ALTER TABLE `'.SQL_PREFIX.'chats` CHANGE `room` `room` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL'); print "Table '".SQL_PREFIX."chats' added successfully!
\n"; } mysql_close(); ?>

Rispondi quotando