Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

$config['basepath']

[es] :: PHP :: $config['basepath']

[ Pregleda: 2958 | Odgovora: 2 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

Leftfield
Mike Wolf
Kotor

Član broj: 20827
Poruke: 200
*.crnagora.net.

Sajt: www.kotorhost.com


Profil

icon $config['basepath']28.08.2006. u 11:46 - pre 214 meseci
Code:

require_once($config['basepath'] . '/ukl/misc.poc.php');
$misc = new misc();
$start_time = $misc->getmicrotime();


Dobijam gresku:

Warning: require_once(/ukl/misc.poc.php) [function.require-once]: failed to open stream: No such file or directory in C:\Root\wamp\www\Nekretnine\index.php on line 22

Fatal error: require_once() [function.require]: Failed opening required '/ukl/misc.poc.php' (include_path='.;C:\php5\pear') in C:\Root\wamp\www\Nekretnine\index.php on line 22

Probao sam sve sto znam ali :(


 
Odgovor na temu

_owl_

Član broj: 318
Poruke: 1043
*.vdial.verat.net.



+3 Profil

icon Re: $config['basepath']28.08.2006. u 15:58 - pre 214 meseci
hint1: $config['basepath'] je najverovatnije nedefinisan (tj. prazan)
hint2: jesi li siguran da na windows platformi mozes da koristis / kao separator direktorijuma


Owl
 
Odgovor na temu

Leftfield
Mike Wolf
Kotor

Član broj: 20827
Poruke: 200
*.crnagora.net.

Sajt: www.kotorhost.com


Profil

icon Re: $config['basepath']28.08.2006. u 16:39 - pre 214 meseci
Pomogao si mi u razmisljanju - Hvala.

Rjesio sam:

Code:

require_once($config['basepath'] . 'C:\Root\wamp\www\Nekretnine/ukl/misc.poc.php');


Cudno ali radi :)
 
Odgovor na temu

[es] :: PHP :: $config['basepath']

[ Pregleda: 2958 | Odgovora: 2 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.