The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
last 10 problems since upgrading to 3.53
I installed the last 10 hack while running a previous version. I updated yesterday to 3.53 and am now getting an error on my non-vb page :
Warning: Access denied for user: 'www-data@localhost' (Using password: NO) in /var/www/sites/mysite.com/last104.php on line 14 Warning: MySQL Connection Failed: Access denied for user: 'www-data@localhost' (Using password: NO) in /var/www/sites/mysite.com/last104.php on line 14 Can't open connection to MySQL Can anyone please tell me what I need to do to get this working? This is my FAVORITE hack. Thanks! Kath |
#2
|
||||
|
||||
What is the "last 10" hack ?
|
#3
|
|||
|
|||
A hack that shows the last 10 postings on a non-vb page. I use it on my homepage to show the last 10 postings made on my forum.
Kath |
#4
|
|||
|
|||
Quote:
|
#5
|
||||
|
||||
Quote:
|
#6
|
|||
|
|||
I'm not sure it was compatible in 3.53. For that matter, I don't think it was compatible in that previous version but we got it to work. There is a last104config file and a last104 file. Line 14 of the config files states:
1.<? 2. 3.//...........Last X Posts v1.0.5...........\\ 4.//......by Kevin (kevin@tubescan.com)......\\ 5. 6.// For vBulletin version 2 (betas 3, 4, 5, RC1, RC2, RC3) 7.// (c) 2001 Jelsoft Enterprises, Ltd. 8. 9.// vBulletin.com thread: http://www.vbulletin.com/forum/showt...threadid=12324 10. 11.// let's get connected 12.require("last104config.php"); 13.require("$path/config.php"); 14.$db=mysql_connect($servername,$dbusername,$dbpa ssword) or die("Can't open connection to MySQL"); 15.mysql_select_db($dbname) or die("Can't select database"); I'm not real experienced in reading these codes. So please bear with me but the error message says: Warning: Access denied for user: 'www-data@localhost' (Using password: NO) in /var/www/sites/mysite.com/last104.php on line 14 Warning: MySQL Connection Failed: Access denied for user: 'www-data@localhost' (Using password: NO) in /var/www/sites/mysite.com/last104.php on line 14 Can't open connection to MySQL Any ideas on what might be wrong? Thanks, Kath |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|