![]() |
Quote:
It still said the same after I altered the part you said to, but I removed the "FROM $dbname" bit from the query and now it works and gives the size for the PM table. Is that part un-needed or will I run into problems having removed it at some point? Thanks for your help Onkel_Tom :) |
Quote:
I will fixed this also in the next release ! Thanks for your help to get this hack working :) Hope more people will install this hack and give a click in the "hack of the month August " section for this very nice work from PcFreak. |
Code:
Database error in vBulletin 3.0.3: It look like the statistik work. the error apers when i am trying to enter the admin opitons. "statistikadmin.php?do=statistik_general" |
Found the ansvare to the problem. In the "statistikadmin.php"
i canged this.. Find this Code:
$statistikaktiv = $DB_site->query(" Code:
$statistikaktiv = $DB_site->query(" thanks for all the help. |
I took a few hours and worked through all the MySQL errors and it seems to work except for Browser & Operating System Stats. See my attachment. I know not EVERYONE is using "Other" for a browser. Did I miss something on the install?
|
@ Iceman-X
https://vborg.vbsupport.ru/external/2004/08/1.gif thanks for the hint of another missing table_prefix @ Wential Browsers and OS are identified from the file /includes/functions_statistik.php so please check if this file is in that directory. In that file the the Browsers are identified by getenv("HTTP_USER_AGENT") and a listing with the Browsernames. Is only Browsertyp and OS version not identified by the statistics ? |
Ah, I missed replacing the " . TABLE_PREFIX . " with vb3_ in that file. Hopefully it will start showing up now. And yes, that was the only part that wasn't filling in with data. You're assistance is much appreciated.
|
Your welcome ;)
If the script still not identify the browsers and OS try this. open file functions_statistik.php from Directory /includes and find: Code:
$agent = getenv("HTTP_USER_AGENT"); Code:
$agent = $_SERVER['HTTP_USER_AGENT']; |
The first solution didn't work after waiting an hour. I'm trying your second $_SERVER fix now. I'm running MYSQL 4.0.18 and PHP 4.3.6 so hopefully it will work. I hope it's not a problem that I run my own local Windows 2003 servers on a dedicated T-3 line. You wouldn't believe how many things (VB related) are designed around Apache. Yuck!
|
Darn that was fast. It works perfectly now! Onkel Tom, you're a genius!
|
All times are GMT. The time now is 02:52 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|