![]() |
![]() |
![]() ![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 5 Pomógł: 0 Dołączył: 29.06.2004 Ostrzeżenie: (0%) ![]() ![]() |
Witam.
Nie wiedziałem w jakim dziale to umieścić, więc proszę nie krzyczcie na mnie (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) Mam pewiem problem. Posiadam pewien skrypt, ale nie mogę dać sobie z nim rady. W jednym z plików znajduje się konfiguracja servera: Cytat var $Host=""; I uzupełniam to mniej więcej tak: var $Database=""; var $User=""; var $Password=""; Cytat var $Host="localhost"; Mam server na lycosie, a mój login to maciek111, więc w/w info uzupełniłem dobrze (sprawdzałem nawet na stronie lycosa w dziale My Account - baza itp jest OK). Natomiast gdy uruchamiam ten skrypt (z poziomu przeglądarki of course) to wywala mi taki błąd: var $Database="maciek111_uk_db"; var $User="maciek111"; var $Password=""; Cytat Database error: Invalid SQL: select value from settings where name='forgot_pass_email' MySQL Error: 1146 (Table 'maciek111_uk_db.settings' doesn't exist) Session halted. W dziale My Account (na lycosie) aktywowałem baze danych oraz php. W czym może być problem? (IMG:http://forum.php.pl/style_emoticons/default/sad.gif) |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Przyjaciele php.pl Postów: 5 724 Pomógł: 259 Dołączył: 13.04.2004 Skąd: N/A Ostrzeżenie: (0%) ![]() ![]() |
Mowilem zebys przeczytal manuala/INSTALL/README:
Cytat 1) Create a database on your server and run the sdscreen.sql file into it Baze juz masz, wejdz do phpMyAdmina i uruchom (uploaduj) plik "sdpaid.sql" Cytat 2) Edit the file vars.inc.php and edit the following lines: $sitename="YourSiteName.com"; // here goes your site name $webmasteremail="support@YourSiteName.com"; // here goes the webmaster email class CDb extends DB_Sql { var $classname = "CDb"; var $Host="localhost"; // mysql server var $Database=""; // database that contains the tables var $User=""; // database username var $Password=""; // database password 3) Upload the files to your public html folder 4) Password protect your admin folder with web protect directories To tez juz ustawiles -- OK Cytat 5) Make sure that you deleted the sdscreen.sql file from the public web folder Usun sdpaid.sql Powinno dzialac. ---------------------- EDIT: sdscreen.sql -> sdpaid.sql Ten post edytował dr_bonzo 29.06.2004, 17:42:39 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 12.10.2025 - 03:43 |