Autor Zpráva
masikj1
Profil *
Dobrý deň

Mám zakúpený autosurf scrip po inštalovaní my vahadzuje chybové hlášky:

zadám: www.surfovanie.sk/control/

Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10061) in W:\domains\www.surfovanie.sk\public\www_root\control\index.php on line 14

Warning: mysql_select_db() [function.mysql-select-db]: Can't connect to MySQL server on 'localhost' (10061) in W:\domains\www.surfovanie.sk\public\www_root\control\index.php on line 15

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in W:\domains\www.surfovanie.sk\public\www_root\control\index.php on line 15

zadám www.surfovanie.sk:


Warning: include() [function.include]: open_basedir restriction in effect. File(W:\/vars.php) is not within the allowed path(s): (w:\domains\www.surfovanie.sk\public;c:\temp) in W:\domains\www.surfovanie.sk\public\www_root\index.php on line 4

Warning: include(/vars.php) [function.include]: failed to open stream: Operation not permitted in W:\domains\www.surfovanie.sk\public\www_root\index.php on line 4

Warning: include() [function.include]: Failed opening '/vars.php' for inclusion (include_path='.') in W:\domains\www.surfovanie.sk\public\www_root\index.php on line 4

Warning: include() [function.include]: open_basedir restriction in effect. File(W:\/headfoot.php) is not within the allowed path(s): (w:\domains\www.surfovanie.sk\public;c:\temp) in W:\domains\www.surfovanie.sk\public\www_root\index.php on line 5

Warning: include(/headfoot.php) [function.include]: failed to open stream: Operation not permitted in W:\domains\www.surfovanie.sk\public\www_root\index.php on line 5

Warning: include() [function.include]: Failed opening '/headfoot.php' for inclusion (include_path='.') in W:\domains\www.surfovanie.sk\public\www_root\index.php on line 5

Warning: include() [function.include]: open_basedir restriction in effect. File(W:\/regmail.php) is not within the allowed path(s): (w:\domains\www.surfovanie.sk\public;c:\temp) in W:\domains\www.surfovanie.sk\public\www_root\index.php on line 6

Warning: include(/regmail.php) [function.include]: failed to open stream: Operation not permitted in W:\domains\www.surfovanie.sk\public\www_root\index.php on line 6

Warning: include() [function.include]: Failed opening '/regmail.php' for inclusion (include_path='.') in W:\domains\www.surfovanie.sk\public\www_root\index.php on line 6

Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10061) in W:\domains\www.surfovanie.sk\public\www_root\index.php on line 7

Warning: mysql_select_db() [function.mysql-select-db]: Can't connect to MySQL server on 'localhost' (10061) in W:\domains\www.surfovanie.sk\public\www_root\index.php on line 8

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in W:\domains\www.surfovanie.sk\public\www_root\index.php on line 8

Fatal error: Call to undefined function uheader() in W:\domains\www.surfovanie.sk\public\www_root\index.php on line 10



Dostal som návod inštalácie:

Install Via FTP

1 . Open "vars.php" in your editor. And edit the variables. - po otvorení suboru vyzerá takto: otázky:

<?
//===========Main Settings===========//

//Database host:
$db_host = 'localhost'; - tu mám niečo meniť?

//Database username:
$db_user = 'instants_dfh5e4'; - uvádza sa tu názov databázy mysql?

//Database password:
$db_pwd = '***';  // smazáno moderátorem

//Database name:
$db_name = 'instants_cs4gh7';

//Root URL:
$self_url = 'http://www.instantsurfing.com/'; - mám prepísať názov url na svoju doménu?

//Site name for security checks:
$self_name = 'http://www.instantsurfing.com/';

//Default site to show when no valid user sites:
$default_site = 'http://www.instantsurfing.com/';

//Site Title:
$title = 'instantsurfing.com';

//Site URL to Index.php - Leave out [url=http://]http://[/url] and do add a / at the end of the url:
$siteurl = 'www.instantsurfing.com';


2. Upload all files to your server in the appropriate directory. upload in (ASCII mode).
3. Set up the SQL Data info using the "sqlinfo.sql" file. -čo mám robiť s týmto súborom? /nerozumiem/

4.Chmod the folders "banner" , "members" , "control" to 666. If error happens then chmod to 755
5. Go to the control panel ( http://www.domain.com/control)
6. The first time user and pass to the control panel is "test".
7. When logged in change admin info and customize the setup
Done!

Script Requirements

The script is strictly to run under these requirements.

1. Unix Based Servers

2. Apache Web Server

3. PHP 4.0 and Up

4. PHP Should NOT run in Safe Mode Or script may not run.

5. MySQL Database (phpMyAdmin Recommended)

6. The script is set to run in the Main/Root Dir of the web dir. In the future we may change this.

But as of now it prevents errors and complications.

Moderátor Majkl578: Duplicitní téma odstraněno.
Moderátor Alphard: Vkládej prosím kódy mezi značky [pre] a [/pre] (stačí kliknout na ).
Molda
Profil
$db_host = 'localhost'; - tu mám niečo meniť? podle toho kde běží MySQL server jestli na stejnem servru jako tvůj web tak neměnit (zjistíš od admina tvého hostingu)

$db_user = 'instants_dfh5e4'; - uvádza sa tu názov databázy mysql? ne, tohle je uživatelské jméno pro přístup do databáze (zjistíš od admina tvého hostingu)

$db_pwd = '***'; heslo do db (zjistíš od admina tvého hostingu)

$db_name = 'instants_cs4gh7'; jméno databáze

$self_url = 'http://www.instantsurfing.com/'; - mám prepísať názov url na svoju doménu? ano

$self_name = 'http://www.instantsurfing.com/'; nejsem si jistý ale zkusil bych tu tvoji http://www.surfovanie.sk/

$default_site = 'http://www.instantsurfing.com/'; když nebude nalezena požadovaná stránka ,tak kam přesměrovat tak třeba domů http://www.surfovanie.sk/

$title = 'instantsurfing.com'; tvůj titulek třeba surfovanie.sk, zobrazý se v titulku prohlížeče

$siteurl = 'www.instantsurfing.com'; a tady bych dal www.surfovanie.sk/ ,jak tam píšou vynech http:// a přidej na konec /

Set up the SQL Data info using the "sqlinfo.sql" file. -čo mám robiť s týmto súborom? /nerozumiem/ ten soubor obsahuje strukturu databáze ,takže je potřeba
vytvořit databazi jménem které zadáš do toho $db_name a potom spustit ty příkazy v tom sqlinfo.sql třeba přes phpMyAdmin (což je rozhraní pro úpravu databází)

a potom už jak je napsáno tady 6. The first time user and pass to the control panel is "test". tak uživatelské jméno a heslo je test a to si pak už změníš jak chceš

Vaše odpověď

Mohlo by se hodit


Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm:

0