anoniem Geplaatst: 15 november 2003 Delen Geplaatst: 15 november 2003 Hoe moet ik die config.php bestand invullen? Ik heb een account by Lycos onder de naam [u:2d41930ffb]teyfik[/u:2d41930ffb]. [code:1:2d41930ffb]<?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 = "root"; $dbpass = ""; $dbname = "nuke"; $prefix = "nuke"; $user_prefix = "nuke"; $dbtype = "MySQL"; $sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9"; $gfx_chk = 7; /*********************************************************************/ /* 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 [/code:1:2d41930ffb] Etc. etc. Ik weet niet hoe ik aan die gegevens kom bijv. bij [i:2d41930ffb][b:2d41930ffb]# dbhost:[/b:2d41930ffb][/i:2d41930ffb] Iemand die mij kan helpen? Quote Link naar reactie
anoniem Geplaatst: 16 november 2003 Auteur Delen Geplaatst: 16 november 2003 je hoeft volgens mij alleen deze in te vullen met je gegevens die je van lycos gekregen hebt. $dbhost = "localhost"; // kan je zo laten staan $dbuname = "gebruiker"; // je eigen gebruikersnaam $dbpass = ""; // kan je leeg laten $dbname = "gebruiker_nl_db"; // alleen gebruiker in je eigen gebruikersnaam veranderen Als dat niet werkt moet je even bij lycos tripod inloggen -> naar my account -> naar php4u Daar staan al je gegevens over de db. Owja je db functie kan ook gedeactiveerd zijn. even bij my account kijken succes Quote Link naar reactie
anoniem Geplaatst: 16 november 2003 Auteur Delen Geplaatst: 16 november 2003 Bedankt voor je reactie! Zal het meteen FF proberen! Quote Link naar reactie
anoniem Geplaatst: 16 november 2003 Auteur Delen Geplaatst: 16 november 2003 als je gebruikers naam idd teyfik is dan komt het er ongeveer zo uit te zien. [code:1:482fd2bd16] $dbhost = "localhost"; $dbuname = "teyfik"; $dbpass = ""; $dbname = "teyfik_nl_db"; $prefix = "nuke"; $user_prefix = "nuke"; $dbtype = "MySQL"; $sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9"; $gfx_chk = 7; [/code:1:482fd2bd16] Laat ff weten of het gelukt is :D Quote Link naar reactie
anoniem Geplaatst: 16 november 2003 Auteur Delen Geplaatst: 16 november 2003 Als ik nu naar admin.php ga dan krijg ik dit te zien: [code:1:c0134b2810]Fatal error: Call to undefined function: themeheader() in /data/members/free/tripod/nl/t/e/y/teyfik/htdocs/nuke/html/header.php on line 47[/code:1:c0134b2810] Wat doe ik verkeerd? Mijn config.php heb ik reeds al gewijzigd! Quote Link naar reactie
anoniem Geplaatst: 16 november 2003 Auteur Delen Geplaatst: 16 november 2003 Dat zou ik niet weten, ik ken phpnuke alleen van horen zeggen. Kwist alleen van de database omdat ik zelf ook nog ergens een tripod account heb. :D Sorry ik denk dat ik je niet verder kan helpen :cry: Quote Link naar reactie
anoniem Geplaatst: 16 november 2003 Auteur Delen Geplaatst: 16 november 2003 Daar is een bestand "info.php" op je server met daarin:[code:1:faeb6f86f4]<?php phpinfo(); ?>[/code:1:faeb6f86f4]en kijk is of het bestands-pad wel correct is. Quote Link naar reactie
anoniem Geplaatst: 18 november 2003 Auteur Delen Geplaatst: 18 november 2003 [quote:90f9bd942e="teyfik22"]Wat doe ik verkeerd?[/quote:90f9bd942e] Stel dit soort vragen gewoon bij de bron: [url]http://phpnuke-dutch.org/[/url] Dat soort site zijn ervoor. Quote Link naar reactie
Aanbevolen berichten
Om een reactie te plaatsen, moet je eerst inloggen