![]() |
the latest. soon it will be out 4.2
this hack was tested on PHP 4.1.2 (wich most providers have it installed). actually, VB is not working properly on such low version of PHP. |
I'm using 4.0.4pl1 on my own system and vB is working fine on it...
it's this hack that isn't, but that's cos of the low version, but vB itself works. (I have 4 boards running on my comp, all for work-in-progress to produce 1 single board, online... :eek: ) |
i think there was an fervent discussion related to this at vb.com
tubedogg was telling people that VB will not work properly. honestly, i dont remember the version he mentioned, but it was something with 4.0.x maybe one of the people here can let me know what is the lowest PHP version vB can run properly on it? thanks. |
4.0.4pl1 allows my vB to run perfectly fine.
So it has to be lower than that before vB _won't_ work, cos I have proof running in 4-fold (;)) that it works in 4.0.4pl1 :) (though, I really have to upgrade to 4.1.2 ASAP...) |
err... this hack had been working fine for the last few weeks or so, but I just noticed it says this these days:
Quote:
|
Quote:
|
Quote:
|
You are using the new db_mysql.php file, look up in the past 20~ posts to see how to re-modify it. If you haven't added the new hack for the new db_mysql.php file, it'll show 100% php and 0% mysql constantly.
|
Quote:
[high]* DWZ should read thread next time :) [/high] on that note, I never got an email to say this hack was updated :confused: |
hi DWZ.. i didnt send an email, because 226 was not released.. :)
|
thanks for the quick clarifications to the new db_mysql. i see the 'explain' function was removed, ostensibly because of a security concern - now i'm trying to figure out how that created insecurity ;)
anyways, thx for the update :) oh, since it is disabled, you might want to change this line of code in admin/functions.php: PHP Code:
PHP Code:
|
i wait for the new VB226 release.. and i think i will add those back as part of the hack.. the tables. i will ask then firefly or anyone here who knows well VB security if the mod is reliable.
|
:) sounds like a plan
|
Hi. With the new modified db_mysql.php version (post #306), does someone have noticed an increment (BY 1, only...) of query counts ?
I switched, on the same forumhome page, from 40 to 41 queries (nakkid, grin!!! ;) ) right after the upload of such hacked file. Thanks. Bye |
i just tried with the old file to do an explain=1. it's the same number of queries, in forumhome (i did a refresh on the page). maybe you forgot some template out of the equation? could be anything... let me know jawelin. curious on this.
|
No.... :O
Simply I loaded my forumhome in the browser... With that index.php page displayed, I uploaded the db_mysql.php file ONLY to server via FTP, and after the successful transfer i pressed the 'page reload' button. Very very strange: before 40 queries, after (and now, since then) 41 !!! :) It's just a mistery, not a problem, of course.... I've no time at the moment to investigate into db flow, but that's my black-box experiment.... :) Thanks |
let us know if you find out something. :)
|
Works great, thanks.
Page generated in 0.1183040 seconds (73.35% PHP - 26.65% MySQL) with 19 queries |
can someone heeellllpppp me!1..lol
i have vb 2.2.5 installed on my pc along with mysql 3.23 & php 4.2.0 ....i have installed the hack but still getting 100 php and 0 mysql.....have checked the updated db_mysql.php ....but copy i have does not tally with copy that peeps have adjusted in this thread...is it just me?....can someone point me in right direction...cos its doing my nut in!! :) ...even if i do a fresh installl can u tell me what i need to do with db_mysql.php from scratch!!...sorry for being a little dumb!! gotta start somewhere!! |
you probably have the old db_mysql.php file. make sure you download the new one from the link.
|
Quote:
But need a lot of help (see HERE) about optimisation... :bunny: Could you give a look? I would OUTER JOIN almost my queries on forumhome.... :squareeyed: Thnx |
updated version works fine for me.
thanks! :) |
I have 2.5 followed the instructions to the T and got this error:
Parse error: parse error in /usr/local/websites/fastboats/upload/global.php on line 271 Fatal error: Call to undefined function: getpermissions() in /usr/local/websites/fastboats/upload/index.php on line 10 |
this is have to do nothing with the vBMS hack.
|
ok guyz i need help here..........how do i put the microstats on a non-vB or vBportal page????? i have looked through the hacks code and cant work it out......plz help me?????
|
Can anyone tell me what this means and if I need to worry about it? I got it in the "details" in the footer where I have microstats running.
Cannot add header information - headers already sent by (output started at /home/virtual/site3/fst/var/www/html/forum/global.php:122) in /home/virtual/site3/fst/var/www/html/forum/admin/functions.php on line 1683 I don't have no-cache headers turned on, should I turn them on? Or does that have anything to do with anything? I'm not complaining, just curious. :) |
details are not working with the new db_mysql.php.
i will release a new version once VB226 is out. until then you cannot use details. regards, nakkid. |
I had to go back to the db_mysql.php file that came with 2.2.5 originally because the new one didn't have the code I needed to replace for microstats.
The details work fine, I just get that error in one of the listings on down the page in details. The rest of the details looks fine. What does it mean, exacxtly, and how do I fix it, or do I need to worry about it? |
your headers are sent twice by the script. that means you added something there in your file that calls twice the headers. a function, most probably.
look on the first post in this thread on how to update the newest db_mysql.php file. |
Ok, did that and it is working. You're right, now the details don't work. :)
On the already sent header error, that is nothing to worry about right? I have no idea where or what to fix to change it. It won't mess anything up, right? Or does it add an extra query that really isn't needed? |
Does this show for the members too? I don't like the idea of anyone knowing which verison of PHP I'm running, since there always a new vulnerability being discovered. :eek:
|
In a few posts back they said that the PHP and GZIP part of it (along with the details) only showed to the Admin (as long as the Admin was set to the default on your board, which is 6), so you're safe. :)
|
no. only to admins.
|
Just to confirm - with the new db_mysql, I cannot access ?showqueries=1 or ?explain=1 - no wonder! :)
|
you are correct erwin. due to some mods needed for php421, db_mysql.php was modified. i will drop that part when 226 is released. until then, i leave it like that. you can remove the link details, it will not work with the new file.
|
I'm sort of confused...
I have 2.2.5 installed with the PHP 4.2.0 version of db_mysql that I got of vb.com (from this thread: http://www.vbulletin.com/forum/showt...threadid=44820) Now, uploading that deleted all the changes I had made to my old db_mysql file, so I just went back then to update the file so I dont get the 100% PHP and 0% MySQL error, and I cant find PHP Code:
PHP Code:
Im really sort of confused here :\ What do I need to replace and with what to stop the 100% PHP / 0% MySQL thing? |
DWZ, in the first post of this thread is a link with all the instructions necesary to download the new db_mysql.php file and also how to mod it.
|
ahh, ok, sorry :)
Done that and its working fine now :D |
There was somebody several postings back that had the same exact problem I'm having now. I've tried installing this hack a dozen times with no success. I get all of the edits done and the one that seems to be breaking everything is:
Code:
while ($var=$DB_site->fetch_array($vars) and $i++) { https://vborg.vbsupport.ru/attachmen...&postid=239359 Thanks. By the way, I installed your vbhome(lite) and love it. Awesome hack. |
ahh, the pic you show in the link was due to the PHP version. it was to old. what MySQL and PHP ver you run?
|
All times are GMT. The time now is 01:13 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:
|