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 841 korisnika na forumu :: 55 registrovanih, 11 sakrivenih i 775 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 3466 - dana 01 Jun 2021 17:07

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: ajo baba, Alibaba1981, alkatraz080, anta, Apok, babaroga, Bobrock1, bojcistv, BORUTUS, cvrle312, Dimitrise93, djukapfc, Frunze, GenZee, goxin, Hans Gajger, havoc995, HrcAk47, Istman, JimmyNapoli, Karla, kolle.the.kid, Koridor, Kubovac, ljubacv, Mad Serb, MB120mm, Mercury, Milan A. Nikolic, mile23, milenko crazy north, nemkea71, nenad81, Niko Bitan, NoOneEver Dreams, Parker, pein, Petarvu, Recce, Rema000, RILE-NS, Rocky I, Sančo, sasa87, solic, srbijaiznadsvega, Steeeefan, stegonosa, TheBeastOfMG, virked, vlad4, vladas87, zdrebac, zillbg, zixmix