![]() |
This is just the hack i was looking for AND more. I read earlier about sombody wanting to get this hack to work on a differnt domain but on the same server, well I just got this puppy to work on an entirly DIFFERNT server than our MySQL db is on!
Our frontpage and our BBS are hosted on two differnt servers so I needed to find a way to do this. After having no prior experience with MySQL/PHP it took me awhile to learn how to give our frontpage server permisson to access the vBulletin db on the BBS server, but after about 30 mins of scanning the docs online I was able to do it and it works like a charm. All I had to do was add a new GRANT command and make a copy of the config.php file and toss it on the frontpage server, edit that to point to our BBS server instead of 'localhost', and that was that. So again, wonderfull Job tubedogg. I just saw your who's online hack which im about to try out as well, im sure ill get the same success. Thanks again. |
I'm kinda new at this stuff, so take it easy on me ;)
using: Version 2.0.1 Here is the error I am getting when calling via ssi on an html page SSI call: <!--#include file="last10.php" --> Fatal error: Failed opening required 'last10config.php' (include_path='/usr/share/php') in /home/httpd/allnurses.com/htmldocs/last10.php on line 12 any ideas? Thanks |
Did you upload last10config.php to the same directory as last10.php?
|
kevin any help/ideas on this post in this thread http://vbulletin.com/forum/showthrea...172#post128172 ?
|
Yes, both files are in the same dir.
Quote:
|
Eva: Sorry I missed that the first time around. In last10.php add
Code:
$boarddown1 = mysql_query("SELECT value FROM setting WHERE varname='bbactive'"); Code:
mysql_select_db($dbname) or die("Can't select database"); |
No, I am on a linux server. Thanks for your prompt responses ;)
Quote:
|
:( I don't know what to tell you. It should be requiring the file just fine...Well try one thing. Change
require("last10config.php"); require("$path/config.php"); to this: include("last10config.php"); include("$path/config.php"); and see if that helps. |
i can't set the maximum amount of characters to more than 120, as soon as i take it over i just get a blank page.
|
kevin,
That didnt work either? I called my hosting tech support. They figured it out. They told me they modified the php.ini in the /etc dir and they needed to ad the include path or something like that. Whatever they did they got it working....Yippie!!! Anyway, this is a great hack! I really appreciate your assistance Kevin! Thanks again! |
All times are GMT. The time now is 04:33 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:
|