Jump to content
GIGN Forum

Php-fusion


sadis
 Share

Recommended Posts

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 :

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:

post-17303-1235178288_thumb.png

Edited by sadis
Link to comment
Share on other sites

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 :blelohs: kkāds murgs, bet caur:

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 :blelohs:

Link to comment
Share on other sites

  • 4 weeks later...

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 by cymuHep
Link to comment
Share on other sites

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...