Problem sa htaccess-om

Problem sa htaccess-om

offline
  • Pridružio: 05 Jun 2013
  • Poruke: 2

Moj problem je sledece prirode:

Instalirao sam neku skiptu radi probe na freehostia.com ali kad pokusam da otvorim stranicu prijavi mi

Citat:Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, support@freehostia.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Kad sklonim .htaccess onda dobijem sledecu gresku

Citat:Warning: mysqli_connect() [function.mysqli-connect]: (HY000/2005): Unknown MySQL server host 'mysql0.freehostia.com' (1) in /home/www/resenje.iz.rs/db/mysql2.php on line 72

Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in /home/www/resenje.iz.rs/db/mysql2.php on line 125


mysql2.php on line 72 je obicna konekcija na bazu

$link=mysqli_connect(SQL_IP, SQL_USER, SQL_PWD,SQL_DATABASE) or die(db::error($link));

Ovo je moj .htaccess

mycity.rs/must-login.png

Hvala unapred na pomoci.



Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
offline
  • Pridružio: 07 Maj 2013
  • Poruke: 33

Greska je ili u htaccess-u ili php prirode, ovako grubo sagledano...

"Warning: mysqli_connect() [function.mysqli-connect]: (HY000/2005): Unknown MySQL server host 'mysql0.freehostia.com' (1) in /home/www/resenje.iz.rs/db/mysql2.php on line 72" - "Unknown MySQL server host" mozda su im baze na drugom serveru pa moras eventualno uneti drugu adresu ili IP



offline
  • Pridružio: 05 Jun 2013
  • Poruke: 2

Ma izgleda da mi .htaccess pravi problem...

Sad sam izbrisao fajl config.php a i dalje mi prijavljuje istu gresku

Citat:Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, support@freehostia.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Mogu li u php.ini da promenim nesto da izbrisem ovo iz .htaccess-a?

php_flag session.bug_compat_42 1 php_flag session.bug_compat_warn 0

Ko je trenutno na forumu
 

Ukupno su 481 korisnika na forumu :: 3 registrovanih, 0 sakrivenih i 478 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 3028 - dana 22 Nov 2019 07:47

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: cikadeda, Markogrozni, VJ