Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Support / AdsManager Support / Erreurs de journal du serveur apache ecc....

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

×

Notice

The forum is in read only mode.

×
End of Forum > Moving to ticket system (01 Jan 2014)

The forum is now in read-only mode.

To send us support request, please open a tickets > Support > Tickets Support

We have tested the ticket system during the last 3 months and we are sastified with it. So the forum is just for history now.

Erreurs de journal du serveur apache ecc....

2 years 5 months ago #26603 by Blueeyes
Bonjour
Dans le journal du serveur, je peux remarquer cette erreur
FastCGI: server
stderr: PHP message: PHP Notice: Undefined variable: return in images/com_adsmanager/plugins/gmap/plug.php on line 97,
Cette erreur gmap et de façon permanente
Quelle que soit l'ip, même si je visite moi
Comment puis-je le réparer?

Version de PHP 5.6.31
Serveur web pour interface PHP fpm-fcgi
Version de Joomla Joomla! 3.7.5 Stable
Adsmanager 3.1.11
toutes les dernières versions

dans les jours précédents
ip google googlebot.com
FastCGI: server
stderr: PHP message: PHP Notice: Uninitialized string offset: 0 in
libraries/joomla/application/web.php on line 521

ip google googlebot.com
stderr: PHP message: PHP Notice: Undefined index: HTTP_REFERER in
components/com_adsmanager/views/details/view.html.php on line 83

[Sun Aug 27 11:07:29.555493 2017] [:error] [pid 53275:tid 140326036657920] [client 66.249.76.110:64756] FastCGI: server "/usr/sbin/php56-fpm" stderr: PHP message: PHP Notice: Trying to get property of non-object in components/com_adsmanager/controller.php on line 97
[Sun Aug 27 11:07:29.555529 2017] [:error] [pid 53275:tid 140326036657920] [client 66.249.76.110:64756] FastCGI: server "/usr/sbin/php56-fpm" stderr: PHP message: PHP Notice: Trying to get property of non-object in components/com_adsmanager/controller.php on line 97
[Sun Aug 27 11:07:29.555532 2017] [:error] [pid 53275:tid 140326036657920] [client 66.249.76.110:64756] FastCGI: server "/usr/sbin/php56-fpm" stderr: PHP message: PHP Notice: Trying to get property of non-object in components/com_adsmanager/controller.php on line 98
[Sun Aug 27 11:07:29.555534 2017] [:error] [pid 53275:tid 140326036657920] [client 66.249.76.110:64756] FastCGI: server "/usr/sbin/php56-fpm" stderr: PHP message: PHP Notice: Trying to get property of non-object in components/com_adsmanager/views/details/view.html.php on line 66
[Sun Aug 27 11:07:29.555545 2017] [:error] [pid 53275:tid 140326036657920] [client 66.249.76.110:64756] FastCGI: serverphp56-fpm stderr: PHP message: PHP Notice: Trying to get property of non-object in /components/com_adsmanager/views/details/view.html.php on line 66
[Sun Aug 27 11:07:29.555547 2017] [:error] [pid 53275:tid 140326036657920] [client 66.249.76.110:64756] FastCGI: server stderr: PHP message: PHP Notice: Undefined index: HTTP_REFERER in /components/com_adsmanager/views/details/view.html.php on line 83

Merci d'avance de me donner des explications si cela est normal dans l'erreur de journal du serveur apache
2 years 5 months ago #26608 by loic
Bonjour,

ce sont des notices donc ça n'empêche en rien le fonctionnement de votre site web.

Pour les corriger, dans images/com_adsmanager/plugins/gmap/plug.php ligne 97 :
Supprimer le point devant le '=', pour obtenir ceci :
$return = ob_get_contents();

Pour le HTTP_REFERER, dans /components/com_adsmanager/views/details/view.html.php, remplacez la ligne 83 :
$app->redirect($_SERVER['HTTP_REFERER'], JText::_('ADSMANAGER_ADS_NO_RIGHT'),'message' );

Par ceci :
if(isset($_SERVER['HTTP_REFERER'])) {
 $app->redirect($_SERVER['HTTP_REFERER'], JText::_('ADSMANAGER_ADS_NO_RIGHT'),'message' );
   }
else
{
$app->redirect(JUri::base(), JText::_('ADSMANAGER_ADS_NO_RIGHT'),'message' );
}

Best regards.
The following user(s) said Thank You: Blueeyes
2 years 5 months ago - 2 years 5 months ago #26623 by Blueeyes
Merci Pour le Code Fix ( images/com_adsmanager/plugins/gmap/plug.php ligne 97 : et dans /components/com_adsmanager/views/details/view.html.php line 83 )

d'autres points Log d'erreur à corriger si possible
[Wed Sep 06 12:20:58.399325 2017] [:error] [pid 22050:tid 140325710382848] [client 91.121.2.59:9782] FastCGI: server "/usr/sbin/php56-fpm" stderr: PHP message: PHP Notice: Undefined variable: author in components/com_adsmanager/views/list/view.feed.php on line 100

Merci d'avance, ces coreisations sont d'avoir un meilleur nettoyage des journaux d'erreurs, et aussi d'éviter les éventuelles vulnérabilités.
2 years 5 months ago #26628 by loic
Bonjour,

Dans le fichier components/com_adsmanager/views/list/view.feed.php, juste avant la ligne 100:
$item->author		= $author;

Ajoutez ceci :
$author	= '';

Cordialement.
The following user(s) said Thank You: Blueeyes
2 years 5 months ago #26717 by Blueeyes
Bonjour

Error Log Console Server:
[Thu Sep 14 02:11:47.507323 2017] [:error] [pid 27046:tid 140325994698496] [client 66.249.76.110:39367] FastCGI: server "/usr/sbin/php56-fpm" stderr: PHP message: PHP Notice: Trying to get property of non-object in /components/com_adsmanager/views/details/view.html.php on line 66
[Thu Sep 14 02:11:47.507321 2017] [:error] [pid 27046:tid 140325994698496] [client 66.249.76.110:39367] FastCGI: server "/usr/sbin/php56-fpm" stderr: PHP message: PHP Notice: Trying to get property of non-object in /components/com_adsmanager/views/details/view.html.php on line 66
[Thu Sep 14 02:11:47.507319 2017] [:error] [pid 27046:tid 140325994698496] [client 66.249.76.110:39367] FastCGI: server "/usr/sbin/php56-fpm" stderr: PHP message: PHP Notice: Trying to get property of non-object in /components/com_adsmanager/controller.php on line 98
[Thu Sep 14 02:11:47.507316 2017] [:error] [pid 27046:tid 140325994698496] [client 66.249.76.110:39367] FastCGI: server "/usr/sbin/php56-fpm" stderr: PHP message: PHP Notice: Trying to get property of non-object in /components/com_adsmanager/controller.php on line 97
[Thu Sep 14 02:11:47.507280 2017] [:error] [pid 27046:tid 140325994698496] [client 66.249.76.110:39367] FastCGI: server "/usr/sbin/php56-fpm" stderr: PHP message: PHP Notice: Trying to get property of non-object in /components/com_adsmanager/controller.php on line 97

( PHP Notice: Trying to get property of non-object ), Comment puis-je réparer ces types d'erreurs?

Merci Avance
2 years 5 months ago #26723 by loic
Bonjour,

Le code est un peu plus complexe dans ces fichiers et vous ne devriez pas avoir ces erreurs car les objets utilisés doivent être initialisé à ce moment la.

Je reviens vers vous rapidement pour vous donner la solution.

Cordialement.
Time to create page: 0.285 seconds
Powered by Kunena Forum