| Autor |
Zpráva |
Thrax
Vojín


Registrace: 22.12. 2006
Příspěvky: 6
|
 Zaslal:
pá 22. prosinec, 2006 15:45 Předmět: Pomoc s NUKEM | phpBB : Critical Error |
  |
|
| Návrat nahoru |
|
 |
Inzerce
Sponsor


Registrace: 4.1. 2007 Příspěvky: 143
|
|
 |
Blassen
Armádní generál (Admin)


Registrace: 1.1. 1970
Příspěvky: 2164
|
 Zaslal:
pá 22. prosinec, 2006 16:01 Předmět: |
  |
Dle mého máte špatně nastavenu položku v config.php:
$dbname = \"***\"; |
_________________ Blassen,
Altruista, Redaktor, Programátor, Designér a Majitel
Hello IT. Have you tried turning it off and on again ? Are you sure it's plugged in ? |
|
| Návrat nahoru |
|
 |
dracek
Armádní generál II. tř. (Moderátor)


Registrace: 29.1. 2006
Příspěvky: 858
|
 Zaslal:
pá 22. prosinec, 2006 18:09 Předmět: |
  |
|
| Návrat nahoru |
|
 |
Thrax
Vojín


Registrace: 22.12. 2006
Příspěvky: 6
|
 Zaslal:
so 23. prosinec, 2006 9:59 Předmět: |
  |
No ja mam nastaveny takto config:
$dbhost = "mysql.ic.cz";
$dbuname = "ic_cstrike_game";
$dbpass = "*******";
$dbname = "nuke";
$prefix = "unnuke";
$user_prefix = "unnuke";
$dbtype = "MySQL";
$sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9";
$gfx_chk = 7;
$subscription_url = "";
$admin_file = "admin";
Nevim v cem to muze byt. |
|
|
| Návrat nahoru |
|
 |
dracek
Armádní generál II. tř. (Moderátor)


Registrace: 29.1. 2006
Příspěvky: 858
|
 Zaslal:
so 23. prosinec, 2006 12:19 Předmět: |
  |
Vzhledem že na ic.cz si neděláte databázy sám předpokládám ,že přesně to co napsal Blassen máte zle a to $dbname = "nuke"; na 100% se takto vaše databáze v phpmyadmin nejmenuje |
_________________ Naše práce vaše spokojenost
a co říkám na Google Chrome ? |
|
| Návrat nahoru |
|
 |
Thrax
Vojín


Registrace: 22.12. 2006
Příspěvky: 6
|
 Zaslal:
so 23. prosinec, 2006 12:31 Předmět: |
  |
dracek napsal:
Vzhledem že na ic.cz si neděláte databázy sám předpokládám ,že přesně to co napsal Blassen máte zle a to $dbname = "nuke"; na 100% se takto vaše databáze v phpmyadmin nejmenuje
Takze na ic si mam databazi bud prejmenovat na nuke. Nebo v tom config si mam nastavit dbname = "ic_cstrike_game"; ? |
|
|
| Návrat nahoru |
|
 |
Thrax
Vojín


Registrace: 22.12. 2006
Příspěvky: 6
|
 Zaslal:
so 23. prosinec, 2006 12:41 Předmět: |
  |
Takze zmenil jsem si config.php na toto:
{Kód}:    <?php
  
  /**
  * United-Nuke CMS: Just Manage!
  * http://United-Nuke.openland.cz/
  * http://United-Nuke.openland.cz/forums/
  *
  * 2002 - 2005, (c) Jiri Stavinoha
  * http://United-Nuke.openland.cz/weblog/
  *
  * Portions of this software are based on PHP-Nuke
  * http://phpnuke.org - 2002, (c) Francisco Burzi
  *
  * 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, or (at your option) any later version.
  **/
  
  ######################################################################
  # Database & System Config (for english users)
  #
  # 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, sqlite, postgres, mssql,
  # 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 (not used, reserved)
  # 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
  # $subscription_url: If you manage subscriptions on your site, you
  # must write here the url of the subscription
  # information/renewal page. This will send by
  # email if set.
  # $admin_file: Administration panel filename. "admin" by default for
  # "admin.php". To improve security please rename the file
  # "admin.php" and change the $admin_file value to the
  # new filename (without the extension .php)
  ######################################################################
  
  $dbhost = "mysql.ic.cz";
  $dbuname = "ic_cstrike_game";
  $dbpass = "*******";
  $dbname = "ic_cstrike_game";
  $prefix = "unnuke";
  $user_prefix = "unnuke";
  $dbtype = "MySQL";
  $sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9";
  $gfx_chk = 7;
  $subscription_url = "";
  $admin_file = "admin";
  
  /*********************************************************************/
  /* You finished to configure the Database. Now you can change what */
  /* ever you want in the Administration. To enter launch your web */
  /* browser pointing to http://yourdomain.com/admin.php */
  /* */
  /* Remeber to go to Settings section where you can configure your */
  /* new site. */
  /* */
  /* Congratulations! Now you have an automated news portal! */
  /* Thanks for choosing United-Nuke: Just manage! */
  /*********************************************************************/
  
  $reasons = array("As Is",
  "Offtopic",
  "Flamebait",
  "Troll",
  "Redundant",
  "Insighful",
  "Interesting",
  "Informative",
  "Funny",
  "Overrated",
  "Underrated");
  $badreasons = 4;
  $AllowableHTML = array("b"=>1,
  "i"=>1,
  "strike"=>1,
  "div"=>2,
  "u"=>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 (stristr($_SERVER['SCRIPT_NAME'], basename(__FILE__))) {
  Header("Location: index.php");
  die();
  }
  
  ?>
A stejne mi to hlasi
phpBB : Critical Error
Could not connect to the database
//EDIT
používejte uzavření CODE které je k tomu určené jinak se s tím nikdo patlat nebude, jako prostý text to totiž rozhazuje značky !!! |
|
|
| Návrat nahoru |
|
 |
Inzerce
Sponsor


Registrace: 4.1. 2007 Příspěvky: 143
|
|
 |
Blassen
Armádní generál (Admin)


Registrace: 1.1. 1970
Příspěvky: 2164
|
 Zaslal:
so 23. prosinec, 2006 14:02 Předmět: |
  |
Pokud je ic_cstrike_game správně tak by to mělo jít.
takže jsou dvě možnosti
1/ celý systém je špatně nahrán na server (ftp)
2/ ic_cstrike_game je špatně
používejte uzavření CODE které je k tomu určené jinak se s tím nikdo patlat nebude, jako prostý text to totiž rozhazuje značky !!!
Vkládejte pouze část kódu která je důležitá a né zbytečně celý soubor !!! |
_________________ Blassen,
Altruista, Redaktor, Programátor, Designér a Majitel
Hello IT. Have you tried turning it off and on again ? Are you sure it's plugged in ? |
|
| Návrat nahoru |
|
 |
|
|