Forum GraphWeather

Forum d'aide GraphWeather
Nous sommes actuellement le Jeu Mars 28, 2024 10:27 pm

Le fuseau horaire est UTC+1 heure




Publier un nouveau sujet Répondre au sujet  [ 9 message(s) ] 
Auteur Message
 Sujet du message:
MessagePublié: Lun Juil 31, 2006 3:06 pm 
Hors-ligne
Membre

Inscription : Lun Juil 31, 2006 1:08 pm
Message(s) : 44
C'est encore moi ;-)

J'ai installé la version php de graph weather sur un serveur Linux.
J'ai fait un cron pour copier le history.dat vers le bon repertoire du script, la tout est ok.

Heavyweather fonctionne bien sous linux avec wine.

La base Sql s'est bien remplie, mais quand j'essaye de faire une requete sur graph.php, j'obtiens ceci:

[client 192.168.1.20] PHP Notice: Undefined variable: stop in /srv/www/htdocs/webcam/graph/graph.php on line 80
[client 192.168.1.20] PHP Notice: Undefined variable: start in /srv/www/htdocs/webcam/graph/graph.php on line 80
[client 192.168.1.20] PHP Notice: Undefined variable: stop in /srv/www/htdocs/webcam/graph/graph.php on line 85
[client 192.168.1.20] PHP Notice: Undefined variable: start in /srv/www/htdocs/webcam/graph/graph.php on line 85
[client 192.168.1.20] PHP Notice: Undefined variable: stop in /srv/www/htdocs/webcam/graph/graph.php on line 118
[client 192.168.1.20] PHP Notice: Undefined variable: start in /srv/www/htdocs/webcam/graph/graph.php on line 118
[client 192.168.1.20] PHP Notice: Undefined variable: y1data in /srv/www/htdocs/webcam/graph/graph.php on line 137
[client 192.168.1.20] PHP Warning: Wrong parameter count for max() in /srv/www/htdocs/webcam/graph/graph.php on line 137
[client 192.168.1.20] PHP Notice: Undefined variable: y2data in /srv/www/htdocs/webcam/graph/graph.php on line 138
[client 192.168.1.20] PHP Warning: Wrong parameter count for max() in /srv/www/htdocs/webcam/graph/graph.php on line 138
[client 192.168.1.20] PHP Notice: Undefined variable: y3data in /srv/www/htdocs/webcam/graph/graph.php on line 139
[client 192.168.1.20] PHP Warning: Wrong parameter count for max() in /srv/www/htdocs/webcam/graph/graph.php on line 139
[client 192.168.1.20] PHP Notice: Undefined variable: y4data in /srv/www/htdocs/webcam/graph/graph.php on line 140
[client 192.168.1.20] PHP Warning: Wrong parameter count for max() in /srv/www/htdocs/webcam/graph/graph.php on line 140
[client 192.168.1.20] PHP Notice: Undefined variable: y5data in /srv/www/htdocs/webcam/graph/graph.php on line 141
[client 192.168.1.20] PHP Warning: Wrong parameter count for max() in /srv/www/htdocs/webcam/graph/graph.php on line 141
[client 192.168.1.20] PHP Notice: Undefined variable: y6data in /srv/www/htdocs/webcam/graph/graph.php on line 142
[client 192.168.1.20] PHP Warning: Wrong parameter count for max() in /srv/www/htdocs/webcam/graph/graph.php on line 142
[client 192.168.1.20] PHP Notice: Undefined variable: y1data in /srv/www/htdocs/webcam/graph/graph.php on line 145
[client 192.168.1.20] PHP Warning: Wrong parameter count for min() in /srv/www/htdocs/webcam/graph/graph.php on line 145
[client 192.168.1.20] PHP Notice: Undefined variable: y2data in /srv/www/htdocs/webcam/graph/graph.php on line 146
[client 192.168.1.20] PHP Warning: Wrong parameter count for min() in /srv/www/htdocs/webcam/graph/graph.php on line 146
[client 192.168.1.20] PHP Notice: Undefined variable: y3data in /srv/www/htdocs/webcam/graph/graph.php on line 147
[client 192.168.1.20] PHP Warning: Wrong parameter count for min() in /srv/www/htdocs/webcam/graph/graph.php on line 147
[client 192.168.1.20] PHP Notice: Undefined variable: y4data in /srv/www/htdocs/webcam/graph/graph.php on line 148
[client 192.168.1.20] PHP Warning: Wrong parameter count for min() in /srv/www/htdocs/webcam/graph/graph.php on line 148
[client 192.168.1.20] PHP Notice: Undefined variable: y5data in /srv/www/htdocs/webcam/graph/graph.php on line 149
[client 192.168.1.20] PHP Warning: Wrong parameter count for min() in /srv/www/htdocs/webcam/graph/graph.php on line 149
[client 192.168.1.20] PHP Notice: Undefined variable: y2data in /srv/www/htdocs/webcam/graph/graph.php on line 158
[client 192.168.1.20] PHP Notice: Undefined variable: y7data in /srv/www/htdocs/webcam/graph/graph.php on line 164
[client 192.168.1.20] PHP Notice: Undefined variable: y7data in /srv/www/htdocs/webcam/graph/graph.php on line 164
[client 192.168.1.20] PHP Notice: Undefined variable: y7data in /srv/www/htdocs/webcam/graph/graph.php on line 164
[client 192.168.1.20] PHP Notice: Undefined variable: y7data in /srv/www/htdocs/webcam/graph/graph.php on line 165
[client 192.168.1.20] PHP Notice: Undefined variable: y7data in /srv/www/htdocs/webcam/graph/graph.php on line 169
[client 192.168.1.20] PHP Notice: Undefined variable: y7data in /srv/www/htdocs/webcam/graph/graph.php on line 169
[client 192.168.1.20] PHP Notice: Undefined variable: y7data in /srv/www/htdocs/webcam/graph/graph.php on line 169
[client 192.168.1.20] PHP Notice: Undefined variable: timestamp in /srv/www/htdocs/webcam/graph/graph.php on line 210
[client 192.168.1.20] PHP Fatal error: Call to undefined method Text::Pos() in /srv/www/htdocs/webcam/graph/graph.php on line 229


Si je fais une requete sur graphweather.php:

[client 192.168.1.20] PHP Notice: Undefined variable: delta in /srv/www/htdocs/webcam/graph/graphweather.php on line 97
[client 192.168.1.20] PHP Notice: Undefined variable: delta in /srv/www/htdocs/webcam/graph/graphweather.php on line 97
[client 192.168.1.20] PHP Notice: Undefined variable: delta in /srv/www/htdocs/webcam/graph/graphweather.php on line 97
[client 192.168.1.20] PHP Notice: Undefined variable: delta in /srv/www/htdocs/webcam/graph/graphweather.php on line 97
[client 192.168.1.20] PHP Notice: Undefined variable: delta in /srv/www/htdocs/webcam/graph/graphweather.php on line 97
[client 192.168.1.20] PHP Notice: Undefined variable: delta in /srv/www/htdocs/webcam/graph/graphweather.php on line 97
[client 192.168.1.20] PHP Notice: Undefined variable: delta in /srv/www/htdocs/webcam/graph/graphweather.php on line 97
[client 192.168.1.20] PHP Notice: Undefined variable: delta in /srv/www/htdocs/webcam/graph/graphweather.php on line 97
[client 192.168.1.20] PHP Notice: Undefined variable: delta in /srv/www/htdocs/webcam/graph/graphweather.php on line 97
[client 192.168.1.20] PHP Notice: Undefined variable: delta in /srv/www/htdocs/webcam/graph/graphweather.php on line 97
[client 192.168.1.20] PHP Notice: Undefined variable: delta in /srv/www/htdocs/webcam/graph/graphweather.php on line 97
[client 192.168.1.20] PHP Fatal error: Call to undefined method Text::Pos() in /srv/www/htdocs/webcam/graph/graph.php on line 229, referer: http://serveur:7070/graph/graphweather.php


Est ce que cela vous parle?

N'y a t'il pas des parametres a passer dans l'url?

L'url de mon serveur: http://nuage.webnature.net:7070/graph/graphweather.php

J'oubliais, j'utilise PHP5.0.4 avec JpGraph 2.1.2

Merci de votre aide (surtout que ca m'a l'air tres sympa comme script et tout a fait ce que je recherche) ;-)


Dernière édition par siegfried le Lun Juil 31, 2006 3:18 pm, édité 1 fois.

Haut
 Profil  
Répondre en citant  
 Sujet du message:
MessagePublié: Lun Juil 31, 2006 3:51 pm 
Hors-ligne
Site Admin
Avatar de l’utilisateur

Inscription : Lun Mars 20, 2006 11:16 am
Message(s) : 3356
Localisation : Montréal
Salut,

Il faut en effet passer des paramètres dans l'url (les données du formulaire normalement), par contre les variables globales pour php doivent être activées. Il me semble que pour des raisons de sécurité elles sont désactivées dans la version 5. Les erreurs proviennent certainement de là.
Je pense que ca doit se modifier facilement dans le script, il n'est pas tres compliqué (mais mal commenté :) )


Haut
 Profil  
Répondre en citant  
 Sujet du message:
MessagePublié: Mar Août 01, 2006 10:05 am 
Hors-ligne
Membre

Inscription : Lun Juil 31, 2006 1:08 pm
Message(s) : 44
J'ai bien Register globals à on.
mais il n'y a rien qui sort, si quelqu'un a fait l'experience sur un serveur lamp ...

Mais c'est surtout cela qui me gene:
PHP Fatal error: Call to undefined method Text::Pos() in /srv/www/htdocs/webcam/graph/graph.php on line 229, referer: http://serveur:7070/graph/graphweather. ... solution=4

Je pense que ca doit venir de là, je cherche sur google ...


Dernière édition par siegfried le Mar Août 01, 2006 10:42 am, édité 1 fois.

Haut
 Profil  
Répondre en citant  
 Sujet du message:
MessagePublié: Mar Août 01, 2006 2:34 pm 
Hors-ligne
Site Admin
Avatar de l’utilisateur

Inscription : Lun Mars 20, 2006 11:16 am
Message(s) : 3356
Localisation : Montréal
Text::Pos() doit probablement venir de JPGraph. J'utilise la version 1.19, apparement il n'y a pas ce problème.
Il y a peut-etre eu un changement entre les deux versions, il faudrait voir si cette méthode Text::Pos() existe toujours.


Haut
 Profil  
Répondre en citant  
 Sujet du message:
MessagePublié: Mar Août 01, 2006 3:01 pm 
Hors-ligne
Membre

Inscription : Lun Juil 31, 2006 1:08 pm
Message(s) : 44
En effet, de plus tu dois tester sur PHP4 ...

Mais j'ai changé de solution, j'ai installé windows 2000 émulé sur mon serveur linux, et là je m'éclate avec les feuilles de styles, tu fais un super boulot, chapeau !!!


Haut
 Profil  
Répondre en citant  
 Sujet du message:
MessagePublié: Mar Août 01, 2006 4:01 pm 
Hors-ligne
Site Admin
Avatar de l’utilisateur

Inscription : Lun Mars 20, 2006 11:16 am
Message(s) : 3356
Localisation : Montréal
Et bien c'est super que ca puisse marcher sous linux aussi. Le script php est bien, mais trop lent au final. Bon courage pour les feuilles de style, la syntaxe n'est pas assez documentée mais il y a suffisament d'exemples pour y comprendre quelquechose :D


Haut
 Profil  
Répondre en citant  
 Sujet du message:
MessagePublié: Mar Août 01, 2006 4:30 pm 
Hors-ligne
Membre

Inscription : Lun Juil 31, 2006 1:08 pm
Message(s) : 44
Encore merci, c'est rare de voir un si bon logiciel et de plus gratuit, ca mérite bien un don ... de plus tu reponds très rapidement sur le forum, bref c'est vraiment un tres bon projet!


Haut
 Profil  
Répondre en citant  
 Sujet du message:
MessagePublié: Jeu Août 17, 2006 9:38 pm 
Hors-ligne
Membre

Inscription : Jeu Août 17, 2006 9:34 pm
Message(s) : 11
Localisation : Kampenhout, Belgie
siegfried a écrit:
J'oubliais, j'utilise PHP5.0.4 avec JpGraph 2.1.2

Merci de votre aide (surtout que ca m'a l'air tres sympa comme script et tout a fait ce que je recherche) ;-)

http://www.joske-online.be/downloads/Gr ... h2.1.2.zip

j'ai change quelques lignes et ca marche pour moi


Dernière édition par pinto le Jeu Août 17, 2006 9:39 pm, édité 1 fois.

Haut
 Profil  
Répondre en citant  
 Sujet du message:
MessagePublié: Ven Août 18, 2006 6:43 am 
Merci je vais essayer ;-)


Haut
  
Répondre en citant  
Afficher les messages publiés depuis :  Trier par  
Publier un nouveau sujet Répondre au sujet  [ 9 message(s) ] 

Le fuseau horaire est UTC+1 heure


Qui est en ligne ?

Utilisateur(s) parcourant ce forum : Aucun utilisateur inscrit et 1 invité


Vous ne pouvez pas publier de nouveaux sujets dans ce forum
Vous ne pouvez pas répondre aux sujets dans ce forum
Vous ne pouvez pas éditer vos messages dans ce forum
Vous ne pouvez pas supprimer vos messages dans ce forum
Vous ne pouvez pas insérer de pièces jointes dans ce forum

Recherche de:
Aller vers :  
cron
POWERED_BY
Traduction et support en françaisHébergement de site