|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Webanalyse installation
Here goes installation procedure taken from readme file:
------------- Installation ------------- 4 steps : > Upload the folder (you can rename the folder) of webanalyse on the root directory. > In the folder, make a new folder named "log" with CHMOD 777 (the log file are write in this) (Secure with .htaccess) > add the 2 lines of code on each pages, with the whole beginning of the pages in you want to analyze the traffic. Exemple : <? require("../webanalyse/include/stats_main.inc"); $stats = new init(true, '../webanalyse/'); // 2 params. true/false for activate or not, and the path of webanalyse. ?> > access consultation page exemple : http://yourwebsite/webanalyse/ that's all ! ============================================= I don't have total access to web server, just to directory /home/ortodoks/, and I put Webanalyse folder into /home/ortodoks/www/ I added those two lines into php script which is located in /home/ortodoks/www/ =========================================== If I want to run Webanalyse script, I see these few lines in begining of script: Warning: fopen(./log/conf.ser): failed to open stream: Permission denied in /home/ortodoks/public_html/webanalyse/include/stats_main.inc on line 194 Warning: fputs(): supplied argument is not a valid stream resource in /home/ortodoks/public_html/webanalyse/include/stats_main.inc on line 195 Warning: fclose(): supplied argument is not a valid stream resource in /home/ortodoks/public_html/webanalyse/include/stats_main.inc on line 196 ============================================= If I want to run my script with those two lines od code, I see these few lines: Warning: main(../webanalyse/include/stats_main.inc): failed to open stream: No such file or directory in /home/ortodoks/public_html/zarada.php on line 2 Warning: main(../webanalyse/include/stats_main.inc): failed to open stream: No such file or directory in /home/ortodoks/public_html/zarada.php on line 2 Fatal error: main(): Failed opening required '../webanalyse/include/stats_main.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ortodoks/public_html/zarada.php on line 2 Has anyone had any experience with this analyzer, or anyone can tell me how to configure it properly, or maybe someone could recommend another analyse script which is more flexible, if installation of this one is not possible under these conditions. Thanks beforehand. |
|
#2
|
|||
|
|||
|
RE: Webanalyse installation
Does you creat log directory and chmod it in 777 thats is important becaus script want's write in .logsomefile. If there are not 777 priviligens it can't write there only read...
Sorry my bad english i live in finland |
|
#3
|
|||
|
|||
|
RE: Webanalyse installation
I'm total beginner in PHP, so I'm not sure how to do it. www.php.net says that chmod function changes file mode, and I'm confused becouse we were talking here about folder (log).
Should I create a file inside /log/ directory, or if not, where should I place chmod function? |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > Webanalyse installation |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|