![]() |
Quote:
bump |
Ive just installed the hack but I cant find anywhere in the admincp, a link to administer this hack? Anyone know why please?
|
Quote:
As for your tables list, it has the correct 8 tables installed by this 'hack'. I can't remember the details - I'm jut an old guy keeping my forum online - I'm not php and mysql savvy - but that is the issue, or so it appears. I know this issue came up with some other folks and I thought it came up in this thread earlier. As I remember there's a 'switch' or something for those installing with and without the table prefix. If you look at the post I made just below this one there is an attachment which shows the tables on the far left. Note: none have the bbs. prefix. |
Quote:
|
I am getting this error:
Database error in vBulletin 3.0.3: Invalid SQL: SHOW TABLE STATUS FROM turbidblue_com_-_1 LIKE 'pm' mysql error: You have an error in your SQL syntax near '-_1 LIKE 'pm' ' at line 3 mysql error number: 1064 any help?? |
booost in hopes someone can help me out! i really need this for my forum!
thanks in advance ;) |
I've remove this script for the 2nd time now :(
I wish someone would rewrite it, because its a awesome addon :) |
I tried to manually run the query in PhpMyAdmin and I got this error:
SQL-query : SHOW TABLE STATUS FROM $dbname LIKE 'pm' MySQL said: Can't read dir of './$dbname/' (Errcode: 2) ??? please help! |
I have a little problem with the script.
I have Vb 3.0.3 installing was no problem i encountered one small problem with the prhases but that is solved by reading this thread. I have done everything in the readme file but the statistic will not show, but http://forum.ffdungeon.info/statistik.php is working well. I have made the change to phpinclude_start but it still not work, all edits are checked but i can't get it to work. |
Has anyone managed to cure the width issue yet? I use a fixed width site and this hack breaks the layout :(
Even on a full screen style, this hack throws up scrollbars. Any clues? |
/me installs this uber hack
|
Installed with alle mentioned problems and more.. but sure worth the trouble.
However I have a few problems with browser/os, country's and referer/domains they all do display correctly but all stay empty, it seems the database doesnt get any input about these. Does anyone have a clue where to start looking whats wrong? tia |
Not bad of a hack. I only want to OS and browser option. Is ther a hack that shows just that type of information?
|
I see the zip file was updated, this mean the mysql was corrected?
|
Hack looks really good but I just need to know how it affects serverload? Has anyone installed it on big boards (1 million posts+)?
Thank you :) |
ARrrrr...
Ok I've this is my third attemped at this install :( I've followed the install word for word.. When run the install, I get this error Quote:
|
Note that the error is:
mysql error: Table 'bbs.statistik_einstellungen' doesn't exist Note the bbs. prefix on the database table that is being called. I'm not sure where in this thread, and it's late so I'm not prepared to read back through, but I'm sure this is addressed somewhere in the thread. I think it was addressed a page back as well. |
the tables I have install are;
vB3statistik_browser_os vB3statistik_domain vB3statistik_einstellungen vB3statistik_laender vB3statistik_log vB3statistik_referer vB3statistik_spider vB3statistik_zaehler I've search this thread high and low, I cannot find a fix for the table errors :ermm: Maybe the author of this mod can shed some light on this problem Quote:
|
Is this the fix your talking about?
I don't understand * you should change "vB3_" with your table prefix Would I have to change all other prefixs for my other mods? sorry, its abotu confussing to me. thanks for your help Quote:
|
i got it running, but I still have to database errors :(
http://bbs.metallifukinca.com/statistik.php |
jesus murphy...
nothing but database errors, I've run 100's of installs and never had this many problems /me clicks un-install again |
I installed this hack the first time, no problems.
|
I've found out its not working for me because my prefix is vB3 not vB3_, the installer doesn't recognize other prefixes. :(
|
Okay, here we go....
I'm using this hack also on my Forum and do some bugfixing in the german vBulletin Forum for this hack. I saw this thread here in at vBulletin.com yesterday night and found a lot of questions, problems and db errors, so I decided today to do a complete rework of this hack from my installed german version to a new english Version. I worked now 8 hours on this hack and hope that most of the bugs are fixed ;) All changes from this forum and also from the german one are implemented in my new version. So I also will give further support for this hack if using my new files for install. Please read the installation instruction to see what is changed and work carefully through it to get this hack work. have fun @ oldfan the name of the tableprefix is defined in the file config.php with $tableprefix, so the install script only reads the prefix name from there and installs your tables like that name. After additional 6 hours with installing this hack in a new Testboard I found again several bad translations and also again some german words ;) Also 2 db queries has wrong syntax for prefixed tables again ! If you found misspelling or bugs please let me know that I can fix the download. for a updated zip file please look some posts later ;) |
I keep geting the same problem over and over.
Code:
Database error in vBulletin 3.0.3: Yes i have downloaded the new versjon of the Onkel_tom fix. thanks for any help. |
Quote:
I still get a problem with the bit "like 'pm'" saying invalid SQL, but it works fine if I comment that bit out. |
@ Ian Emu-UK
Which PHP Version do you have ? < 3.23 ? The Show Table syntax is working from V 3.23 and higher: SHOW TABLE STATUS [FROM db_name] [LIKE 'pattern'] You can also have a look at http://dev.mysql.com/doc/mysql/en/SH...LE_STATUS.html to read the documentation of MySQL @ iceman-x You are right ! There was again a table prefix missing in the install script "install_statistik_english.php" Search for: Code:
INSERT INTO statistik_einstellungen VALUES (0, 900, '', 10, 10, 10, 5, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10) Code:
INSERT INTO " . TABLE_PREFIX . "statistik_einstellungen VALUES (0, 900, '', 10, 10, 10, 5, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10) |
Quote:
Looking at the error message, it might be because the host has put an - in the database name. (In truth I have no idea though as I know very little about SQL) Code:
Invalid SQL: One translation hasn't been done that I've spotted so far: The last 10 Searchwords (Big Brother ist watching you) Should be (Big Brother is watching you) but I kinda like it the way it is so I'll be keeping it that way on my forum :) |
whoo thank Onkel_Tom!!!
I'll give it a test run later night, I'll let you know how things turned out Thanks!! :) |
Sorry, it's not the PHP version !
We need the MySQL Version ;) I've never tried to name a database with "-", mine are always with "_" in the name and it works. Do you use also table prefixes for your tables ? You can try this: find in statistik.php: Code:
LIKE 'pm' Code:
LIKE " . TABLE_PREFIX . "'pm' |
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 07:40 PM. |
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:
|