![]() |
Quote:
What you could do is open the database with e.g. MySQL Front and edit the field, in wich the name of your domain should be, manualy. That should do the trick. |
Quote:
Don't just ask questions, but first read if the question is allready delt with :( |
okay...whoa. I just downloaded the english version and everything was english except the installer. The installer is Dutch(I think?) and so..am I going to have ot uninstall it or will the dutch install be okay?
|
Quote:
installer that's german |
Quote:
updated i found a solution .for people who get this MySQL error Code:
Database error in vBulletin 3.0.7: PHP Code:
any cheers working now |
For the record, PcFreak has confirmed the bug I posted here and is working on a sollution :)
|
Quote:
thx a million every upgrade i usually just redo everythin... |
Gentlemen,
I am receiving the following error, several times lately: Database error in vBulletin 3.0.6: Invalid SQL: SELECT counter FROM statistic_searchengine_keywords WHERE keywords = 'crimp, pressure, reload\' mysql error: You have an error in your SQL syntax near ''crimp, pressure, reload\' ' at line 4 mysql error number: 1064 Date: Tuesday 15th of February 2005 02:31:56 PM Script: http://forum.m1911.org/showthread.php?t=1379&page=3 Referer: http://www.google.com/search?q=crimp...&start=10&sa=N Username: Unregistered I checked the code, and can't find anything wrong with it. The common thing I noticed in all the errors I received, is the \ at the end of the search words. Any idea on how to stop these error messages? Rgds |
I get the same errors, but i think the reason is the \ in the query. As you can see when people search on google, their \ is above the enter button. When referrring to your site, the procedure to store the referrer goes wrong because of the \. Maybe a suggestion to strip \ from beeing inserted?
|
Yes, I think you are right. I'll try to come up with some sort of patch, to strip that last \ from the string.
Since the backslash character is not used in normal word typing, and since I didn't want to spend too much time coming up with an elaborate solution, here is a simple patch. Open your statistic_searchengines.php file and find: PHP Code:
PHP Code:
Rgds |
I would do it different, just change:
[sql]$keywords_known = $DB_site->query(" SELECT counter FROM " . TABLE_PREFIX . "statistic_searchengine_keywords WHERE keywords = '$keyword_found' "); [/sql]into[sql]$keywords_known = $DB_site->query(" SELECT counter FROM " . TABLE_PREFIX . "statistic_searchengine_keywords WHERE keywords = '" . addslashes($keyword_found) . "' "); [/sql] You should allways use addslashes around alphanumeric data to protect against sql insert vulnerability. I suggest that the coder of this hack review his sources and update with a patch. |
Some day I should have a look at what exactly those functions are doing. I think you are right, at least this is a common way of doing things in vB.
Rgds and tnx |
hi,
this is not a big a issue and probably i'm doing something wrong but it is prett annoying and working on my nerves :mad: when i login to my admincp the vbstatistics navgroup is always "collapsed out" (look at the image and you see what i mean) the insructions tell us to open admincp/indexcp and to look for this code PHP Code:
PHP Code:
|
=========================================
Invalid SQL: DELETE FROM statistic_referer_short ORDER BY counter ASC LIMIT 0 mysql error: You have an error in your SQL syntax near 'ORDER BY counter ASC LIMIT 0 ' at line 3 ========================================= AND Database error in vBulletin 3.0.3: Invalid SQL: DELETE FROM statistic_referer_full ORDER BY counter ASC LIMIT 0 mysql error: You have an error in your SQL syntax near 'ORDER BY counter ASC LIMIT 0 ' at line 3 mysql error number: 1064 ========================================= on running Optimizing Referring Domains AND Optimizing for the Referring Pages Table hmm... What do I need to change in the syntax to fix it.. and how? suggestions? Vik |
@Delphiprogrammi: Just collapse that part of the menu and then click "Save prefs" on top of the left hand menu. The setting that the statisticsmenu is collapsed when opening the control panel should now be saved ;)
|
01. If I set the Usergroups allowed to show stat. = 0 => the timeline show as 1970
Set your Usergroups which are allowed to show the statistics 0 You can use one of the following choices Show statistic pages only for administrators and moderators: type in 0 Show statistic pages only for registered users: type in 1 Show statistic pages for everybody visiting your forums: type in 2 This Option was changed last at: 01.01.1970, 07:00 02. Somehow I get this on More information about Java Scripting
Anyone has the same problem? |
Quote:
hello mr. pcfreak. |
Quote:
|
How can I just install a simple visit counter with this hack.. without the rest of all the other stuff?
|
Quote:
|
Quote:
uhmmmm...!?!?!?!?!?!?!?!?!?! |
If you'd like to get the vBstats templates in their own collapsable catagory in the template manager, then check this little mod out. Works like a charm :)
|
Wow, this works like a charm, PcFreak!!! :)
|
Awesome!!! Love it! Very Nice Work :)
|
Just wondering if there this hack would be of concern when upgrading to future releases of Vbulitten.. THis hack sounds awesome but scared to install it and then have trouble upgrading later ...
|
Quote:
|
Quote:
Remove one line from php_include_start and headinclude, drop the tables that were created by the hack, and it would be uninstalled. You wouldn't even need to drop the tables. Removing the lines from the templates causes the stats to no longer be logged. Delete the files that you uploaded and remove any links to statistic.php and it is 'uninstalled'. Regarding what will happen if you have to upgrade: There is NOTHING that this hack does that would interfere with a vB upgrade. NOTHING. It doesn't touch your php files or anything. |
I plan on using this script as a reference to the top posters for my board. I was wondering if there was anyway to exclude members from the posters count (like admins/mods) so it only shows regular members?
Also can anyone give me some guidance on how to pull just the top posters box so that I can paste it on the main forum page instead of the statistiks page? Any help/guidance would be great! |
Just curious if anyone has done a graphics set that looks better on black backgrounds... ?
Do you think 1.00 is the end? Pretty impressive to build this complex of a hack and three months later be at 1.00! |
Has anyone been able to get these 2 to work together. I have it partially working ok, but not updating the page hits and a few other things properly.
when this is put inthephp include start template: include("./statistic_counter.php"); it causes bad problems with my home page, but it records all the stats properly. If i change it to this: include("./../statistic_counter.php"); then the homepage dispalys correctly but i lose some of the stats. Any ideas from the portal users? paratek |
I'm noticing that whatever I do the Maintenance for Statistics database pages all remain at "0" and can never be set to the recommened 20 or any other number of that matter. I'm wondering if this too will prevent any statistics from being recorded in these areas. Anyone else have a zero value for this area of the vB Statistics Maintenance panel?
|
Small problem:
Whenever I try to access the stats page as a regular user, I get this: Quote:
|
Quote:
|
There were no such instructions on the installation_english.txt. I read through it a couple of times. And I don't see any on the original post. Furthermore, I don't think I've made myself real clear: I get re-dircted to an invalid link and not back to the forum. Basically, the URL is messed up.
Another issues I'm having with it is that sometimes the hack doesn't recognize me as the admin. It redirects me to the board (or at least tries to: see the first problem) as if I were a regular/registered member. Does anyone else have this problem? |
bump
Quote:
|
Quote:
1. Find "URL=$vboptions[bburl]" and remove "URL=" 2. Find "URL=URL=$vboptions[bburl]" and remove 1 "URL=" 3. Find "href="URL=$vboptions[bburl]" and remove "URL=" once again. This did the trick on my board. Succes :) |
Quote:
|
No. But the bug is confirmed by PCfreak and he's working on it.
It's not so simple to fix though... |
Works great! :bowdown:
|
is there any way of using this on a db that is shared with another board?
the install script wants to uninstall, i guess because it sees the stats tables already exist. thanks. |
All times are GMT. The time now is 01:09 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:
|