PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old March 6th, 2005, 06:14 PM
sezam sezam is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 2 sezam User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old March 16th, 2005, 09:25 AM
M0nkeyAzz M0nkeyAzz is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Orivesi, Finland
Posts: 2 M0nkeyAzz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #3  
Old March 17th, 2005, 02:10 PM
sezam sezam is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 2 sezam User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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?

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > Webanalyse installation


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway