sadis Posted February 21, 2009 Report Share Posted February 21, 2009 (edited) Problema ir tāda ka neizdodas inkudēt panelī monitoru, mēģinu ar šo kodu : PHP openside("Monitor"); include(BASEDIR."../monitor/monitor.php"); closeside(); Panelis parādās ir oki, bet uzrāda šādu error : Quote Access denied for user 'ODBC'@'localhost' (using password: NO) Un monitor.php vis ir pareizi ievadīts tas ir: hosts = "localhost"; $lietotajs = "root"; $parole = "mypass"; $db = "monitor"; Te būs scrīns: Edited February 21, 2009 by sadis Link to comment Share on other sites More sharing options...
skofilds Posted February 21, 2009 Report Share Posted February 21, 2009 (edited) A pašā mājaslapa viņs nestrādā. Nu ka citi varētu redzēt ? Un viņš saka ka parole nepareiza. Uzraksti bez paroles. Šādi - Quote hosts = "localhost"; $lietotajs = "root"; $parole = ""; $db = "monitor"; Edited February 21, 2009 by skofilds Link to comment Share on other sites More sharing options...
GOMA smile Posted February 21, 2009 Report Share Posted February 21, 2009 openside("Monitor"); include(BASEDIR."monitor/monitor.php"); closeside(); Pameiģini šitā vel iespēja dēļ connecta Link to comment Share on other sites More sharing options...
sadis Posted February 21, 2009 Author Report Share Posted February 21, 2009 skofilds said: Uzraksti bez paroles. Šādi - Hmm nestradā, raxta ka nesanāca piekonektēties pie db Maniju pāris šādu topicu netā 1 arī te kkur bet tā ar atbildes nav kkāds murgs, bet caur: Quote openside("Monitor"); echo "<tr><td><iframe src=/monitor/monitor.php width=\"100%\" height=\"400px\" frameborder=\"0\" > </iframe></td></tr>"; closeside(); strādā bet ļeva izstās... Hz kpēc negrib pieņemt caur include Link to comment Share on other sites More sharing options...
sadis Posted February 21, 2009 Author Report Share Posted February 21, 2009 GOMA smile said: include(BASEDIR."monitor/monitor.php"); closeside(); Pameiģini šitā vel iespēja dēļ connecta Nē tā ir mēģināts neštimē bet thx Link to comment Share on other sites More sharing options...
sLIDe Posted February 21, 2009 Report Share Posted February 21, 2009 Izdzēs failā monitor.php mysql_close(); Link to comment Share on other sites More sharing options...
cymuHep Posted March 20, 2009 Report Share Posted March 20, 2009 (edited) kads var paskaidrot kur ir meklejama vaina, ka izlabot? un kas par vainu ar sito? reali fails ir tur kur jabut un viss notiek ja atver pa tieso, tacu pievienot php-fusion neizdodas... Edited March 20, 2009 by cymuHep Link to comment Share on other sites More sharing options...
theNTH Posted March 20, 2009 Report Share Posted March 20, 2009 openside("fasdfasdf"); ?> fasdfasdfasdf <?php closeside(); Link to comment Share on other sites More sharing options...
cymuHep Posted March 20, 2009 Report Share Posted March 20, 2009 theNTH said: fasdfasdfasdf <?php closeside(); konkretak varetu ludzu? tas ir par to otro? Link to comment Share on other sites More sharing options...
X ID Posted March 20, 2009 Report Share Posted March 20, 2009 MySQL's saka, ka nav norādīts ne lietotājs, ne parole un vispār nekas. Parādi pilno tā monitora kodu (lieto paste.php.lv). Link to comment Share on other sites More sharing options...
cymuHep Posted March 21, 2009 Report Share Posted March 21, 2009 (edited) X ID said: par to tocna saubos, jo viss ir noradiits.... man savukart liekas ka vins kautkada veida grib piespelet monitora bazi php-fusion datubazei... (pirmaja varianta)... isteniba man ir tiesi ta pati problema, kas topika autoram, bet izdzesot no koda mysql_close(); man vins met ara to kas redzams pirmajos screenos! kods runajot par otro variantu... hmmm itka kautkas nav ar permisions, bet OS ir WinXp taka nevajadzetu but problemam, jo tiesaja linka rada visu ka vajag, bet php-fusion caur Panels nenem preti - izmet attelaa redzamo kludu... man pat nav isti nojausmas kas varetu but pie vainas! index.php small.tpl P.S. Visi skripti nemti no gign.lv foruma... :/ Edited March 21, 2009 by cymuHep Link to comment Share on other sites More sharing options...
cymuHep Posted March 21, 2009 Report Share Posted March 21, 2009 varbut kads tomer varetu atbildet? Link to comment Share on other sites More sharing options...
ZhaKS Posted March 21, 2009 Report Share Posted March 21, 2009 Aizveries vienreiz kas tev nepietiek ar to vien ! openside(":bullshit:"); echo "<iframe src='/Monitoring/index.php' width='155' frameborder=no scrolling=no height='200'></iframe>"; closeside(); Link to comment Share on other sites More sharing options...
cymuHep Posted March 21, 2009 Report Share Posted March 21, 2009 ZhaKS said: openside(":bullshit:"); echo "<iframe src='/Monitoring/index.php' width='155' frameborder=no scrolling=no height='200'></iframe>"; closeside(); man nevajag caur iframe, bet caur include... pats nonacu tik talu ka php-fusion nepatik monitor datubaze, tad nu monitora datubazes tabulas ieliku pie php-fusion datubazes un viss taka butu, tacu ir viena problema - monitor.sma vajag izlabot ka tabulas atrodas cita datubaze, tacu man isti nesanak.. maybe kads var izlabot? no "monitor" uz "fusion1"? (datubazes nosaukumus monitor.sma faila) Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now