Author |
Message |
Hengis
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Aug 26, 2004
Posts: 2
|
Posted:
Thu Aug 26, 2004 3:11 pm |
|
Hi people!
I have a prob with the fantastic who is where block. The message I get in the block is:
Warning: mysql_connect(): Access denied for user: 'pchelp4@localhost' (Using password: NO) in /home/pchelp4/public_html/modules/RWH_WhoIsWhere/index.php on line 39
Unable to connect to Server. MySQL said Access denied for user: 'pchelp4@localhost' (Using password: NO)
Code:LINE 39 - $db = mysql_connect($dbhost, $dbuname, $dbpass) or die('<br />Unable to connect to Server. MySQL said '.mysql_error());
|
I don't seem to have problems with other blocks using MySQL, ie: 4nChat
Any help would be really appreciated ![Very Happy](modules/Forums/images/smiles/icon_biggrin.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Thu Aug 26, 2004 4:33 pm |
|
Verify that you have installed it correctly. That is a MySQL error, not a block error. It appears as if it is not reading the password from your config file. Is your config in the root nuke directory or have you moved it elsewhere? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Hengis
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Aug 26, 2004 4:41 pm |
|
Yea, the config.php is in the root (public_html) and I have double checked the details held within...they seem to check out. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
quickthrottle
Regular
![Regular Regular](modules/Forums/images/ranks/2stars.gif)
![](modules/Forums/images/avatars/46ad73274425a5cc4c02c.gif)
Joined: Mar 18, 2006
Posts: 60
|
Posted:
Thu Mar 23, 2006 7:26 pm |
|
Unable to locate nuke config file
I have moved my config.php file to my main root??
path would look like this:
config.php/public_html/
How can i get it to work?
do i have to put config back in the html folder? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Mar 23, 2006 8:23 pm |
|
Moving the config file really accomplishes very little and causes more problems that it is intended to cure. Just move it back. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
quickthrottle
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Mar 25, 2006 11:30 am |
|
I moved the config back to html directory as you said.
but I'm having trouble with MySql database for some reason.
i get this error:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/clubhous/public_html/modules/RWH_WhoIsWhere/index.php on line 151
Line 151 says:
$data = mysql_fetch_row($cmd);
I have not found a reference to this $cmd
I'm running the new rn76v2.02
as long as there are no members on line it works
if a member logs in i get the error. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
evaders99
Former Moderator in Good Standing
![](modules/Forums/images/avatars/803d73f6452557b947721.jpg)
Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Mon Mar 27, 2006 11:04 am |
|
Unfortunately that is a generic error that one of the queries is not working.
It would require some debugging to determine what is causing the error, usually missing tables or variables |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
quickthrottle
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Mar 27, 2006 5:51 pm |
|
Well i guess i will junk it because that is above my head. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Stang5_0
Hangin' Around
![](modules/Forums/images/avatars/005.gif)
Joined: Oct 17, 2002
Posts: 49
Location: Phoenix, AZ
|
Posted:
Wed Jan 10, 2007 2:13 pm |
|
Mine sounds familiar. This is what my block looks like:
Guest(s) Online
56 guest(s)
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/httpd/vhosts/stangsgarage.com/httpdocs/modules/RWH_WhoIsWhere/index.php on line 76
1 User(s) Online
stang5_0
Home
(60 sec. refresh)
i will continue to look for the answer in the forums though but of course any help would be appreciated.
Thank you |
|
|
![ICQ Number ICQ Number](themes/RavenIce/forums/images/lang_english/icon_icq_add.gif) |
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Jan 10, 2007 4:04 pm |
|
Are you using v1.3 (latest release)? I don't think so because that line number does not cause that error. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Stang5_0
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Jan 10, 2007 4:08 pm |
|
Ok, I added the table and low and behold I think it is working now. Sorry, I did not have word wrap on and didn't slide on over to the the query part.
I added the table and seem to be good to go now.
Thanks though. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Foggy
Client
![](modules/Forums/images/avatars/45f326c44769413edd410.gif)
Joined: Jan 07, 2006
Posts: 52
|
Posted:
Sat Jan 27, 2007 12:06 pm |
|
You mentioned version 1.3 and I can only find version 1.2 in the download section. Where can I get v 1.3? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Jan 27, 2007 8:39 pm |
|
That's a very good question! I don't know what happened to v1.3 but no matter. I just released v1.4 It's in the Downloads. Click on the image to download.
Only registered users can see links on this board! Get registered or login! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Anders
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jun 16, 2004
Posts: 159
Location: Sweden
|
Posted:
Sun Jan 28, 2007 3:12 am |
|
hi
will only say look in top of in /modules/RWH_WhoIsWhere/index.php
missing php
And how do i change refresh rate?? its on 0 so it jumping like hell lol |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jan 28, 2007 6:39 am |
|
You do not have to have the php short tag. The default refresh rate is 60 and is changed in the block. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
sowsteady
Regular
![Regular Regular](modules/Forums/images/ranks/2stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Apr 09, 2004
Posts: 87
Location: UK
|
Posted:
Sun Jan 28, 2007 11:07 am |
|
Raven wrote: | That's a very good question! I don't know what happened to v1.3 but no matter. I just released v1.4 It's in the Downloads. Click on the image to download.
Only registered users can see links on this board! Get registered or login! |
HI Raven, I also noticed something else which could be another "Senior Moment" thing. On your site, you are using Site Info v2.2.2.
In the downloads area I can only find 2.1.1 ... so, is this a "Senior Moment" or is it just that you are not planning to release 2.2.2? ![Very Happy](modules/Forums/images/smiles/icon_biggrin.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jan 28, 2007 11:09 am |
|
Not a Senior Moment this time - I just haven't had time to package it up. I will get to it -- eventually. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
sowsteady
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jan 28, 2007 12:26 pm |
|
Raven wrote: | Not a Senior Moment this time - I just haven't had time to package it up. I will get to it -- eventually. |
Cool Raven ... don't worry about it, we're more keen for 2.10 to come out. We can wait on Site Info. ![Mr. Green](modules/Forums/images/smiles/icon_mrgreen.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Sun Jan 28, 2007 7:05 pm |
|
I believe the latest-and-greatest is also in the upcoming 2.10.00 release.... |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
sowsteady
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jan 28, 2007 7:21 pm |
|
montego wrote: | I believe the latest-and-greatest is also in the upcoming 2.10.00 release.... |
Aha! Now that's very cool ... no messing around re-installing anything! ![Very Happy](modules/Forums/images/smiles/icon_biggrin.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|