Parašė qwert· 2007 Bir. 21 20:06:43
#41
<?php
include "maincore.php";
include THEME."theme.php";
echo "<meta http-equiv='Content-Type' content='text/html; charset=windows-1257'>
<link rel='stylesheet' href='".THEME."styles.css' type='text/css'>\n";
$sql = dbquery("CREATE TABLE ".$db_prefix."user_ratings (
rated_id BIGINT(20) NOT NULL AUTO_INCREMENT ,
rate_user BIGINT(20) NOT NULL default '0',
rate_subject BIGINT(20) NOT NULL default '0',
rate_opt ENUM( '1', '2', '3', '4', '5', '6', '7', '8', '9', '10' ) NOT NULL ,
rate_date BIGINT(20) NOT NULL default '0',
rate_ip VARCHAR(255) NOT NULL default '0',
PRIMARY KEY (rated_id)
) TYPE = MyISAM;");
if ($sql) {
echo "Lentele sukurta, galite trinti sql.php faila";
} else {
echo mysql_error();
}
?>
va kai sita rasau tai meta klaida stai tokia:
Warning: include(maincore.php) [function.include]: failed to open stream: No such file or directory in /home/pavadinimas/public_html/administration/custom_pages.php(71) : eval()'d code on line 2
Warning: include() [function.include]: Failed opening 'maincore.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pavadinimas/public_html/administration/custom_pages.php(71) : eval()'d code on line 2
Fatal error: Cannot redeclare render_header() (previously declared in /home/pavadinimas/public_html/themes/pavadinimas/theme.php:12) in /home/pavadinimas/public_html/themes/pavadinimas/theme.php on line 30
gal cia del temos mano..ji kurta o neimta is temu siuntimu. pameginsiu tema pakeisti
Redagavo qwert· 2007 Bir. 21 20:06:25