![]() ![]() |
Post
#1
|
|
|
Grupa: Zarejestrowani Postów: 18 Pomógł: 0 Dołączył: 15.11.2010 Ostrzeżenie: (0%)
|
Dane pobierane są z bazy danych i mają być wyświetlane na wykresie. Server to "Krasnal serv". Ściągnąłem paczkę phplot i..
Na pozór banalne polecenie: Cytat INSTALLATION: Unpack the distribution. (If you are reading this file, you have probably already done that.) Installation of PHPlot simply involves copying three script files somewhere your PHP application scripts will be able to find them. The scripts are: phplot.php phplot_data.php rgb.inc.php (Only phplot.php is necessary for most graphs.) Make sure the protections on these files allow the web server to read them. Jednak przy odpaleniu stronki i po wejściu na wykres ukazuje mi się informacja: Cytat Fatal error: Cannot instantiate non-existent class: phplot in c:\usr\apache\httpd\html\wykres.php on line 96 Linia 96: Cytat $plot = new phplot($x,$y); Czyli tak jakby dalej nie widział skryptu phplot. Jakieś sugestie? |
|
|
|
Post
#2
|
|
|
Grupa: Zarejestrowani Postów: 709 Pomógł: 176 Dołączył: 24.10.2010 Ostrzeżenie: (0%)
|
pokaż co masz przed linią 96, czy poprawnie dołączasz wskazane pliki ? (phplot.php itd.). I taka mała sugestia, wyrzuć krasnala i zainstaluj XAMPP o wiele lepszy moim zdaniem.
Ten post edytował d3ut3r 15.11.2010, 21:00:10 |
|
|
|
Post
#3
|
|
|
Grupa: Zarejestrowani Postów: 2 958 Pomógł: 574 Dołączył: 23.09.2008 Skąd: wiesz, że tu jestem? Ostrzeżenie: (0%)
|
|
|
|
|
Post
#4
|
|
|
Grupa: Zarejestrowani Postów: 18 Pomógł: 0 Dołączył: 15.11.2010 Ostrzeżenie: (0%)
|
Właśnie, nie był zainicjowany (IMG:style_emoticons/default/winksmiley.jpg) Dzięki (IMG:style_emoticons/default/smile.gif)
|
|
|
|
![]() ![]() |
|
Aktualny czas: 11.03.2026 - 15:49 |