crooms Posted May 10, 2008 Report Share Posted May 10, 2008 Hi, total beginner here I am doing an assignment for my Web Implementation project and am running a website on Uniserver. One of the things i have to achieve is to add page statistics to my site. i am allowed to use a 3rd party solution, and have used cdub's website stats. I've created the db and table in MySQL, no problem. However the logs.php and pageviews.php don't seem to be working correctly. They open without any 404 message etc, and the logs.php does display 1 user looking at 1 page. This is incorrect however as no matter how many times i look at all my pages, the figure never changes. The pageviews page opens but does not display anything, even the tables it is meant to draw. My best guess is that i am not entering my site URL properly, or something relating to that. At the moment i have it set to $cdub_site = 'http://localhost:80/Studentunion' in the cdub config file as this is the root folder of my website (inside the udrive/www). The php files are all in the Studentunion folder too (i dont know if this is correct). Any help in getting it working properly would be great, and although this isnt specifically a Uniserver issue i would appreciate any help. If anyone is looking at it, the staff folder page is htaccess protected, and i cant get the .htpasswd to work either. Thanks from the ultimate newbie Attached is my www folder and the sql table file.www.zipinstructions.txtsql.txt Quote Link to comment Share on other sites More sharing options...
kalpz Posted May 12, 2008 Report Share Posted May 12, 2008 Hi I wonder if it's because your viewing the page from 1 ip. So no matter how many times you refresh it won't update the figure because your from the same ip. That would be my guess? Quote ATOMIC Web Hosting 2007 - 2011 Shared Hosting - Reseller Hosting - Dedicated Servers - Virtual Private Servers (Request Dedicated/VPS Servers via E-mail) E-mail: sales@atomicwebhosting.com Website: http://www.atomicwebhosting.com/ Link to comment Share on other sites More sharing options...
olajideolaolorun Posted May 15, 2008 Report Share Posted May 15, 2008 Does it work on another server or somethinG? Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.