Googlestats with phpnuke pages please help
6 messages
• Page 1 sur 1
- pueyo
- Nouveau WRInaute

- Messages: 6
- Inscription: 26 Mai 2003
Googlestats with phpnuke pages please help
I must paste this code:
In all pages. But My web is made with phpnuke with mysql. Where must I paste this code?? header, footer, index....
Thanks you!!
- Code: Tout sélectionner
<?php
include($DOCUMENT_ROOT.'/googlestats/admin/config.php');
include($DOCUMENT_ROOT.'/googlestats/googlestats.inc.php');
?>
In all pages. But My web is made with phpnuke with mysql. Where must I paste this code?? header, footer, index....
Thanks you!!
- moutyk
- WRInaute impliqué

- Messages: 713
- Inscription: 1 Mar 2003
Me i paste this code in the footer
- Code: Tout sélectionner
<?php
include($DOCUMENT_ROOT.'googlestats/admin/config.php');
include($DOCUMENT_ROOT.'googlestats/googlestats.inc.php');
?>
- pueyo
- Nouveau WRInaute

- Messages: 6
- Inscription: 26 Mai 2003
I have pasted the code in the footer but I have a lot of errors:
- Code: Tout sélectionner
Warning: Failed opening '/googlestats/admin/config.php' for inclusion (include_path='.:/usr/local/psa/apache/lib/php') in /usr/local/psa/home/vhosts/dibujosanimados.tv/httpdocs/footer.php on line 15
Warning: Failed opening '/googlestats/googlestats.inc.php' for inclusion (include_path='.:/usr/local/psa/apache/lib/php') in /usr/local/psa/home/vhosts/dibujosanimados.tv/httpdocs/footer.php on line 16
- pueyo
- Nouveau WRInaute

- Messages: 6
- Inscription: 26 Mai 2003
THANK YOU!!! MERCY!!!!
This is the exact code:
Note the "//"
Thank you for your help!!
Pueyo
This is the exact code:
- Code: Tout sélectionner
<?php
include($DOCUMENT_ROOT.'//googlestats/admin/config.php');
include($DOCUMENT_ROOT.'//googlestats/googlestats.inc.php');
?>
Note the "//"
Thank you for your help!!
Pueyo
-

enky - WRInaute occasionnel

- Messages: 405
- Inscription: 23 Mar 2003
remove the <?php and ?>
[/quote]
- Code: Tout sélectionner
include($DOCUMENT_ROOT.'//googlestats/admin/config.php');
include($DOCUMENT_ROOT.'//googlestats/googlestats.inc.php');
[/quote]
6 messages
• Page 1 sur 1
Lectures recommandées sur ce thème :
Qui est en ligne
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 0 invités
