PHP Nuke Nederland
 
•   Home  •  Downloads  •  Your Account  •  Forums  •
PHP-Nuke Nederland: Forums

PHP-Nuke Nederland :: View topic - Theme Bug
 Forum FAQ  •   Search   •  Memberlist  •  Usergroups   •  Register   •    •  Profile  •  Log in to check your private messages  •  Log in

 
Post new topicReply to topic
View previous topic Log in to check your private messages View next topic
Author Message
MrDoggy
Beginner
Beginner


Joined: Jun 13, 2006
Posts: 22

PostPosted: Wed 27 Sep 2006 4:07 Reply with quoteBack to top

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
View user's profileSend private message
MrDoggy
Beginner
Beginner


Joined: Jun 13, 2006
Posts: 22

PostPosted: Thu 28 Sep 2006 19:17 Reply with quoteBack to top

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

www.namelessclan.be/

iemand enig idee?

greetz
View user's profileSend private message
nedkelly
Elite Support
Elite Support


Joined: Aug 23, 2004
Posts: 533

PostPosted: Fri 29 Sep 2006 1:10 Reply with quoteBack to top

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? Shocked De goede tabellen staan wel weer terug en hebben de juiste hoeveelheid info?
View user's profileSend private messageVisit poster's website
MrDoggy
Beginner
Beginner


Joined: Jun 13, 2006
Posts: 22

PostPosted: Fri 29 Sep 2006 4:40 Reply with quoteBack to top

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...


dit heb ik ook geprobeert:

Code:
<?php
require("config.php");
$host = $dbhost;
$database = $dbname;
$username = $dbuser;
$password = $dbpass;
$def_theme = "Nuke news";
mysql_connect($host, $username, $password);
@mysql_select_db($database);
mysql_query("update ".$prefix."_config set Default_Theme='$def_theme'");
?>


Deze file moet je noemen naar fixtheme.php

en dit werkte ook niet echt ...

Bedankt voor de replay al...
View user's profileSend private message
XenomorpH
Helper
Helper


Joined: Sep 16, 2004
Posts: 147

PostPosted: Fri 29 Sep 2006 22:01 Reply with quoteBack to top

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
View user's profileSend private messageVisit poster's website
MrDoggy
Beginner
Beginner


Joined: Jun 13, 2006
Posts: 22

PostPosted: Sat 30 Sep 2006 9:33 Reply with quoteBack to top

ok,
ik zal het er eens op wagen en zal laten weten hoe het is verlopen

greetz Dog
View user's profileSend private message
MrDoggy
Beginner
Beginner


Joined: Jun 13, 2006
Posts: 22

PostPosted: Sat 30 Sep 2006 21:35 Reply with quoteBack to top

heb dit dus bij deze gedaan, en nog steeds krijg ik een witte pagina...

www.namelessclan.be

Iemand nog een Idea ?

@ XenomorpH : Toch al bedankt, meer het heeft niet mogen helpen Smile
View user's profileSend private message
XenomorpH
Helper
Helper


Joined: Sep 16, 2004
Posts: 147

PostPosted: Sun 01 Oct 2006 0:48 Reply with quoteBack to top

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.
View user's profileSend private messageVisit poster's website
MrDoggy
Beginner
Beginner


Joined: Jun 13, 2006
Posts: 22

PostPosted: Sun 01 Oct 2006 11:17 Reply with quoteBack to top

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!
View user's profileSend private message
mastermark
Junior Support
Junior Support


Joined: Sep 10, 2006
Posts: 150

PostPosted: Sun 01 Oct 2006 19:46 Reply with quoteBack to top

verander de naam van de thema die je nu hebt in een default theme zo test ik thema,s
View user's profileSend private messageSend e-mailVisit poster's website
nedkelly
Elite Support
Elite Support


Joined: Aug 23, 2004
Posts: 533

PostPosted: Sun 01 Oct 2006 20:21 Reply with quoteBack to top

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.
View user's profileSend private messageVisit poster's website
MrDoggy
Beginner
Beginner


Joined: Jun 13, 2006
Posts: 22

PostPosted: Mon 02 Oct 2006 3:47 Reply with quoteBack to top

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
View user's profileSend private message
XenomorpH
Helper
Helper


Joined: Sep 16, 2004
Posts: 147

PostPosted: Mon 02 Oct 2006 8:08 Reply with quoteBack to top

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.
View user's profileSend private messageVisit poster's website
MrDoggy
Beginner
Beginner


Joined: Jun 13, 2006
Posts: 22

PostPosted: Mon 02 Oct 2006 17:06 Reply with quoteBack to top

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

$reasons = array("As Is",
          "Offtopic",
          "Flamebait",
          "Troll",
          "Redundant",
          "Insighful",
          "Interesting",
          "Informative",
          "Funny",
          "Overrated",
          "Underrated");
$badreasons = 4;
$AllowableHTML = array("b"=>1,
          "i"=>1,
          "a"=>2,
          "em"=>1,
          "br"=>1,
          "strong"=>1,
          "blockquote"=>1,
                    "tt"=>1,
                    "li"=>1,
                    "ol"=>1,
                    "ul"=>1);
$CensorList = array("fuck",
          "cunt",
          "fucker",
          "fucking",
          "pussy",
          "cock",
          "c0ck",
          "cum",
          "twat",
          "clit",
          "bitch",
          "fuk",
          "fuking",
          "motherfucker");
$tipath = "images/topics/";
if (eregi("config.php",$_SERVER['PHP_SELF'])) {
    Header("Location: index.php");
    die();
}

?>


Zo staat het er nu, buiten de db instellingen die heb ik even aan gepast Smile

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);
View user's profileSend private message
MrDoggy
Beginner
Beginner


Joined: Jun 13, 2006
Posts: 22

PostPosted: Mon 02 Oct 2006 21:46 Reply with quoteBack to top

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 Smile
View user's profileSend private message
Display posts from previous:      
 Donaties   Adverteren 
Wilt u het forum steunen, dan kunt u nu eenvoudig doneren met PayPal.
Post new topicReply to topic
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Web site powered by PHP-Nuke

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2004-2008 by BlueLion.
SEO enhanced with the Sitemapper script
You can syndicate our news using the file backend.php or ultramode.txt
Powered by PHP Powered by MySQL Apache Webserver Valid robots.txt
PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Pagina rendering: 0.13 seconden


[Valid News RSS]

RSS Feeds:
[RSS 2.0 News Feed]
[RSS 2.0 Download Feed]
[RSS 2.0 Forum Feed]
[RSS 2.0 Link Feed]
:: fisubsilver shadow phpbb2 style by Daz :: PHP-Nuke theme by BlueLion ::