Hallo,
ik zit met een probleem,
namelijk: ik wou een nieuw theme proberen, en toen ik het als men default instelde op men Nuke-site kreeg ik een wit blad...
Ik heb alles geprobeert wat men zei op de HOWTO maar niets hielp, ik bleef zitten met een wit scherm...
Voor ik men theme veranderde heb ik een backup gemaakt van men website...
Dus nu heb ik men DB tabellen verwijdert maar nu krijg ik men BackUp niet online,
ik heb het al in 2 gedeelt omdat het iets te groot was
dit krijg ik als error:
Fout
SQL-query:
# ========================================================
#
# Database saved : namelessclan_be_-_phpnuke
# On 09-26-2006 at 14:09 by God !
#
# ========================================================
# --------------------------------------------------------
#
# Table structure for table 'book'
#
CREATE TABLE book(
name varchar( 254 ) ,
email varchar( 100 ) ,
url varchar( 254 ) ,
quote text,
author varchar( 254 ) ,
ip varchar( 64 ) ,
time int( 11 ) ,
quoteID int( 9 ) NOT NULL AUTO_INCREMENT ,
KEY quoteID( quoteID )
)
MySQL retourneerde: Documentatie
#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 '# ========================================================
#
Weet iemand hoe ik dit kan verhelpen? ik zou graag men website terug online hebben zonder iets kwijt te zijn... ben alleen niet goed in Databases en php...
Dank bij voorbaadt.
Info: PHP-Nuke 7.0
PHP 5
MYSQL 5
Groeten
MrDoggy Beginner
Joined: Jun 13, 2006
Posts: 22
Posted:
Thu 28 Sep 2006 19:17
ok, dit probleem heb ik net opgelost gekregen door alles handmatig in te voegen in de database.
Nu is het volgende probleem, dat mijn website nog steeds niet online wil gaan,
ik krijg nog steeds een witte pagina
Staat in jou database weer de standaard theme Deep Blue ingesteld als standaard theme? En deze witte pagina kreeg je niet voor de theme wissel?
Je hebt database tabelen vervangen? De goede tabellen staan wel weer terug en hebben de juiste hoeveelheid info?
MrDoggy Beginner
Joined: Jun 13, 2006
Posts: 22
Posted:
Fri 29 Sep 2006 4:40
Ja kijk,
voor ik men Theme wissel heb gedaan,
heb ik een backup gemaakt van men site...
Vanaf ik men Theme wissel heb gedaan,
kreeg ik idd een wit blad en daarvoor niet...
Ik heb dan 3 dingen gedaan die ze zeiden om te doen als je een Theme bug hebt...
Die werkten alle 3 niet.... raar maar het is wel zo.
Dus ben ik gaan zoeken hoe ik men data terug kan zetten van men backup ...
En in de HOWTO stond dat je de oude tabellen moest deleten (legen) en dat ik dan de File (.sql) moest uploaden (dit ging niet wegens de error die hierboven vermeld staat) dus heb ik alles handmatig ingegeven en dat ging wel, maar nu zit ik nog steeds met een blanco page...
Quote:
Staat in jou database weer de standaard theme Deep Blue ingesteld als standaard theme?
Neen, aangezien ik een backup heb gemaakt met het thema dat ik daarvoor gebruikte staat Deep Blue niet als standaard ingesteld...
Makkelijkste manier gaat als volgt:
Upload de DeepBlue theme naar je themes folder.
Ga naar je database en naar tabel: nuke_config. Zet in Default_Theme DeepBlue
Nu zal de site de standaard DeepBlue weergeven
MrDoggy Beginner
Joined: Jun 13, 2006
Posts: 22
Posted:
Sat 30 Sep 2006 9:33
ok,
ik zal het er eens op wagen en zal laten weten hoe het is verlopen
greetz Dog
MrDoggy Beginner
Joined: Jun 13, 2006
Posts: 22
Posted:
Sat 30 Sep 2006 21:35
heb dit dus bij deze gedaan, en nog steeds krijg ik een witte pagina...
@ XenomorpH : Toch al bedankt, meer het heeft niet mogen helpen
XenomorpH Helper
Joined: Sep 16, 2004
Posts: 147
Posted:
Sun 01 Oct 2006 0:48
Zet dan op zn minst ff de error reporting aan in de config...dan weten we tenminste wat er aan de ahnd is....
Want als je een theme probleem hebt, is datgene wat ik hierboven heb beschreven de enige oplossing het probleem te verhelpen.
MrDoggy Beginner
Joined: Jun 13, 2006
Posts: 22
Posted:
Sun 01 Oct 2006 11:17
Ok,
en hoe doe ik dit?
ja sorry maar ik ben nog niet zo goed bekent in databases...
bij deze leer ik er wel van maar ja :S
doe ik dit bij handelingen?
bedankt voor me te willen helpen
greetz Dog!
mastermark Junior Support
Joined: Sep 10, 2006
Posts: 150
Posted:
Sun 01 Oct 2006 19:46
verander de naam van de thema die je nu hebt in een default theme zo test ik thema,s
nedkelly Elite Support
Joined: Aug 23, 2004
Posts: 515
Posted:
Sun 01 Oct 2006 20:21
In jou config.php, waar je de database gegevens instelt, heb je in het zelfde rijtje het volgende staan:
$gfx_chk = 0;
$subscription_url = "";
$admin_file = "admin";
$tipath = "images/topics/";
$display_errors = false;
Zet de laatste op true.
Nu geeft phpnuke aan wat voor errors er zijn. Het lost niets op, maar maakt het wel gemakkelijker om te zien wat het probleem is.
MrDoggy Beginner
Joined: Jun 13, 2006
Posts: 22
Posted:
Mon 02 Oct 2006 3:47
nedkelly wrote:
In jou config.php, waar je de database gegevens instelt, heb je in het zelfde rijtje het volgende staan:
$gfx_chk = 0;
$subscription_url = "";
$admin_file = "admin";
$tipath = "images/topics/";
$display_errors = false;
Zet de laatste op true.
Nu geeft phpnuke aan wat voor errors er zijn. Het lost niets op, maar maakt het wel gemakkelijker om te zien wat het probleem is.
Enkel : $gfx_chk = 0;
$tipath = "images/topics/";
deze zie ik er bij staan die andere 3 staan er niet mee tussen...
Weet niet of het kan helpen, maar ik zit nog met php-nuke 7.0 mss is het al tamelijk verandert op gebiedt van scripts...
Hier eindigt men config.php
$tipath = "images/topics/";
if (eregi("config.php",$_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
greetz
XenomorpH Helper
Joined: Sep 16, 2004
Posts: 147
Posted:
Mon 02 Oct 2006 8:08
Plaats deze code:
Code:
error_reporting(E_ALL);
eens onder:
Code:
$gfx_chk = 0;
in je config.php en upload.
Dit zal je error reporting aan zetten.
MrDoggy Beginner
Joined: Jun 13, 2006
Posts: 22
Posted:
Mon 02 Oct 2006 17:06
Code:
<?php
######################################################################
# PHP-NUKE: Advanced Content Management System
# ============================================
#
# Copyright (c) 2002 by Francisco Burzi (fbc@mandrakesoft.com)
# http://phpnuke.org
#
# This module is to configure the main options for your site
#
# This program is free software. You can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License.
######################################################################
######################################################################
# Database & System Config
#
# dbhost: SQL Database Hostname
# dbuname: SQL Username
# dbpass: SQL Password
# dbname: SQL Database Name
# $prefix: Your Database table's prefix
# $user_prefix: Your Users' Database table's prefix (To share it)
# $dbtype: Your Database Server type. Supported servers are:
# MySQL, mysql4, postgres, mssql, oracle, msaccess,
# db2 and mssql-odbc
# Be sure to write it exactly as above, case SeNsItIvE!
# $sitekey: Security Key. CHANGE it to whatever you want, as long
# as you want. Just don't use quotes.
# $gfx_chk: Set the graphic security code on every login screen,
# You need to have GD extension installed:
# 0: No check
# 1: Administrators login only
# 2: Users login only
# 3: New users registration only
# 4: Both, users login and new users registration only
# 5: Administrators and users login only
# 6: Administrators and new users registration only
# 7: Everywhere on all login options (Admins and Users)
# NOTE: If you aren't sure set this value to 0
######################################################################
$dbhost = 'localhost';
$dbuname = '*******';
$dbpass = '*********';
$dbname = 'dbname';
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9";
$gfx_chk = 0;
error_reporting(E_ALL);
/*********************************************************************/
/* You finished to configure the Database. Now you can change all */
/* you want in the Administration Section. To enter just launch */
/* you web browser pointing to http://yourdomain.com/admin.php */
/* */
/* Remeber to go to Settings section where you can configure your */
/* new site. In that menu you can change all you need to change. */
/* */
/* Congratulations! now you have an automated news portal! */
/* Thanks for choose PHP-Nuke: The Future of the Web */
/*********************************************************************/
// DO NOT TOUCH ANYTHING BELOW THIS LINE UNTIL YOU KNOW WHAT YOU'RE DOING
Zo staat het er nu, buiten de db instellingen die heb ik even aan gepast
maar ik veronderstel dat dan de error's op de homepage zouden moeten komen te staan als je er naartoe surft?
bij deze is dit niet zo...
Doe ik toch nog iets fout dan?
greetz
PS: ik heb het met het dollar teken ervoor ook geprobeert.
Code:
$error_reporting(E_ALL);
MrDoggy Beginner
Joined: Jun 13, 2006
Posts: 22
Posted:
Mon 02 Oct 2006 21:46
dit is dus het gene dat ik heb gevonden op men admin pagina van men host ...
Een error log file...
Quote:
[Mon Oct 02 07:31:59 2006] [error] [client 84.197.47.15] PHP Notice: ob_end_clean(): failed to delete buffer. No buffer to delete. in /home/virtual/site70/fst/var/www/html/mainfile.php on line 18
[Mon Oct 02 07:31:59 2006] [error] [client 84.197.47.15] PHP Notice: Undefined variable: forum_admin in /home/virtual/site70/fst/var/www/html/mainfile.php on line 67
[Mon Oct 02 07:31:59 2006] [error] [client 84.197.47.15] PHP Notice: Undefined variable: inside_mod in /home/virtual/site70/fst/var/www/html/mainfile.php on line 70
[Mon Oct 02 07:31:59 2006] [error] [client 84.197.47.15] PHP Notice: Undefined variable: inside_mod in /home/virtual/site70/fst/var/www/html/db/db.php on line 44
[Mon Oct 02 07:31:59 2006] [error] [client 84.197.47.15] PHP Fatal error: Call to undefined function: message_die() in /home/virtual/site70/fst/var/www/html/db/db.php on line 88
[Mon Oct 02 09:05:14 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: forum_admin in /home/virtual/site70/fst/var/www/html/mainfile.php on line 67
[Mon Oct 02 09:05:14 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: inside_mod in /home/virtual/site70/fst/var/www/html/mainfile.php on line 70
[Mon Oct 02 09:05:14 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: inside_mod in /home/virtual/site70/fst/var/www/html/db/db.php on line 44
[Mon Oct 02 09:05:14 2006] [error] [client 217.136.186.36] PHP Fatal error: Call to undefined function: message_die() in /home/virtual/site70/fst/var/www/html/db/db.php on line 88
[Mon Oct 02 09:07:37 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: forum_admin in /home/virtual/site70/fst/var/www/html/mainfile.php on line 67
[Mon Oct 02 09:07:37 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: inside_mod in /home/virtual/site70/fst/var/www/html/mainfile.php on line 70
[Mon Oct 02 09:07:37 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: inside_mod in /home/virtual/site70/fst/var/www/html/db/db.php on line 44
[Mon Oct 02 09:07:37 2006] [error] [client 217.136.186.36] PHP Fatal error: Call to undefined function: message_die() in /home/virtual/site70/fst/var/www/html/db/db.php on line 88
[Mon Oct 02 09:08:13 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: forum_admin in /home/virtual/site70/fst/var/www/html/mainfile.php on line 67
[Mon Oct 02 09:08:13 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: inside_mod in /home/virtual/site70/fst/var/www/html/mainfile.php on line 70
[Mon Oct 02 09:08:13 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: inside_mod in /home/virtual/site70/fst/var/www/html/db/db.php on line 44
[Mon Oct 02 09:08:13 2006] [error] [client 217.136.186.36] PHP Fatal error: Call to undefined function: message_die() in /home/virtual/site70/fst/var/www/html/db/db.php on line 88
[Mon Oct 02 09:08:31 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: forum_admin in /home/virtual/site70/fst/var/www/html/mainfile.php on line 67
[Mon Oct 02 09:08:31 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: inside_mod in /home/virtual/site70/fst/var/www/html/mainfile.php on line 70
[Mon Oct 02 09:08:31 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: error_reporting in /home/virtual/site70/fst/var/www/html/config.php on line 54
[Mon Oct 02 09:08:31 2006] [error] [client 217.136.186.36] PHP Fatal error: Call to undefined function: () in /home/virtual/site70/fst/var/www/html/config.php on line 54
[Mon Oct 02 09:08:32 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: forum_admin in /home/virtual/site70/fst/var/www/html/mainfile.php on line 67
[Mon Oct 02 09:08:32 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: inside_mod in /home/virtual/site70/fst/var/www/html/mainfile.php on line 70
[Mon Oct 02 09:08:32 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: error_reporting in /home/virtual/site70/fst/var/www/html/config.php on line 54
[Mon Oct 02 09:08:32 2006] [error] [client 217.136.186.36] PHP Fatal error: Call to undefined function: () in /home/virtual/site70/fst/var/www/html/config.php on line 54
[Mon Oct 02 09:08:33 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: forum_admin in /home/virtual/site70/fst/var/www/html/mainfile.php on line 67
[Mon Oct 02 09:08:33 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: inside_mod in /home/virtual/site70/fst/var/www/html/mainfile.php on line 70
[Mon Oct 02 09:08:33 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: error_reporting in /home/virtual/site70/fst/var/www/html/config.php on line 54
[Mon Oct 02 09:08:33 2006] [error] [client 217.136.186.36] PHP Fatal error: Call to undefined function: () in /home/virtual/site70/fst/var/www/html/config.php on line 54
[Mon Oct 02 09:08:33 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: forum_admin in /home/virtual/site70/fst/var/www/html/mainfile.php on line 67
[Mon Oct 02 09:08:33 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: inside_mod in /home/virtual/site70/fst/var/www/html/mainfile.php on line 70
[Mon Oct 02 09:08:33 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: error_reporting in /home/virtual/site70/fst/var/www/html/config.php on line 54
[Mon Oct 02 09:08:33 2006] [error] [client 217.136.186.36] PHP Fatal error: Call to undefined function: () in /home/virtual/site70/fst/var/www/html/config.php on line 54
[Mon Oct 02 09:14:32 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: error_reporting in /home/virtual/site70/fst/var/www/html/config.php on line 54
[Mon Oct 02 09:14:32 2006] [error] [client 217.136.186.36] PHP Fatal error: Call to undefined function: () in /home/virtual/site70/fst/var/www/html/config.php on line 54
[Mon Oct 02 09:14:56 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: error_reporting in /home/virtual/site70/fst/var/www/html/config.php on line 54
[Mon Oct 02 09:14:56 2006] [error] [client 217.136.186.36] PHP Fatal error: Call to undefined function: () in /home/virtual/site70/fst/var/www/html/config.php on line 54
[Mon Oct 02 09:15:09 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: forum_admin in /home/virtual/site70/fst/var/www/html/mainfile.php on line 67
[Mon Oct 02 09:15:09 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: inside_mod in /home/virtual/site70/fst/var/www/html/mainfile.php on line 70
[Mon Oct 02 09:15:09 2006] [error] [client 217.136.186.36] PHP Notice: Undefined variable: error_reporting in /home/virtual/site70/fst/var/www/html/config.php on line 54
[Mon Oct 02 09:15:09 2006] [error] [client 217.136.186.36] PHP Fatal error: Call to undefined function: () in /home/virtual/site70/fst/var/www/html/config.php on line 54
mss is hier al iets in op te merken?
greetz en bedankt
Donaties
Adverteren
Wilt u het forum steunen, dan kunt u nu eenvoudig doneren met PayPal.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum