You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 64 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Clearchat problems - Please Help! [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Aldaron
Nuke Soldier
Nuke Soldier


Joined: Nov 02, 2003
Posts: 15

Location: Whiteland, Indiana

PostPosted: Thu Feb 05, 2004 10:19 pm Reply with quoteBack to top

I just installed Clearchat, but something went wrong with it so I deleted the modules/clearchat folder and replaced it. Now I have two clearchat links in the administration block and I get an two or three error messages, which I had from the first install, that I can't see to obliviate.

This error appears where the smilies and input field should be:
Code:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/virtual/site35/fst/var/www/html/modules/ClearChat/block-files/input.php on line 45


This error is in the text box where messages are displayed:
Code:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/virtual/site35/fst/var/www/html/modules/ClearChat/block-files/view.php on line 22


Can anyone possibly assist me in this problem?
Find all posts by AldaronView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
grebo
Nuke Cadet
Nuke Cadet


Joined: Mar 02, 2004
Posts: 6


PostPosted: Thu Mar 18, 2004 3:47 pm Reply with quoteBack to top

What version of phpnuke are you using? I am running this fine on cpgnuke8.01, however the sql calls need to be udpated to use the new sql abstraction ($db->) I have not much of a programmer so I have not figured out how to update the code. (anyone want to take a shot at this, or at least give me a hint where to start?)

Your error could be your version of nuke, or your version of mysql.
Find all posts by greboView user's profileSend private messageVisit poster's website
552211
Sergeant
Sergeant


Joined: Feb 28, 2005
Posts: 140


PostPosted: Fri Feb 23, 2007 5:09 pm Reply with quoteBack to top

Wow, this post is old but I thought I'd enter here rather then starting a new one.

Had clearchat working fine at old host (mysql 3.23.5Cool but I moved to a new host. All works well cept clearchat which in itself seems fine in all respects cept it's not writing to the new mysql 5.1.2

To be more specific, there are no errors. Everything with it seems fine. But when you type in some chat and hit post, it does not post nor get entered into the nuke_clearchat table. Nothing shows up in the nuke_errors table either.

I'm thinking I need to rewrite something in the script for it to work with mysql 5???

Code:
<?php

$timedate = date("l F dS, Y - g:i a");
$useraddress = $_SERVER['REMOTE_ADDR'];
require "../common/config.php";


if (isset($submit))
{

$db = mysql_connect("$dbaddress", "$dbuser", "$dbpass");

mysql_select_db("$dbname",$db);
$checker = mysql_query("SELECT user_password FROM nuke_users WHERE username = '$username'");
while ($disp = mysql_fetch_array($checker))
{
$realuserpw = $disp["user_password"];
}

if (($userpw == $realuserpw) && ($userpw != "")) {
include "../common/checks.php";

mysql_select_db("$dbname",$db);
$sql = "INSERT INTO nuke_clearchat (username, useravatar, comment, useraddress, date) VALUES ('$username','$useravatar','$comment','$useraddress','$timedate')";
$result = mysql_query($sql);

} else {

//Inserts error data
$userinfo = $_SERVER['HTTP_USER_AGENT'];
$errornumber = "1: Docked";
mysql_select_db("$dbname",$db);
$sql = "INSERT INTO nuke_ccerror (username, userpw, realuserpw, errornumber, useraddress, userinfo, date, comment, useravatar) VALUES ('$username', '$userpw', '$realuserpw', '$errornumber', '$useraddress', '$userinfo', '$timedate', '$comment', '$user_avatar')";
$result = mysql_query($sql);

$error = "true";
}
}


$db = mysql_connect("$dbaddress", "$dbuser", "$dbpass");

mysql_select_db("$dbname",$db);
$checker = mysql_query("SELECT user_password FROM nuke_users WHERE username = '$username'");
while ($disp = mysql_fetch_array($checker))
{
$userpw = $disp["user_password"];
}
<?php

_________________
What you teach me today, I will be able to pass on to others tomorrow, thus making less work for you!

PHP-Nuke 7.6 Platinum
phpBB 2.0.11
Find all posts by 552211View user's profileSend private message
552211
Sergeant
Sergeant


Joined: Feb 28, 2005
Posts: 140


PostPosted: Tue Feb 27, 2007 5:50 am Reply with quoteBack to top

Anyone?

_________________
What you teach me today, I will be able to pass on to others tomorrow, thus making less work for you!

PHP-Nuke 7.6 Platinum
phpBB 2.0.11
Find all posts by 552211View user's profileSend private message
Pumpkin_Masher
Nuke Cadet
Nuke Cadet


Joined: Mar 06, 2007
Posts: 1


PostPosted: Tue Mar 06, 2007 9:08 am Reply with quoteBack to top

I'm having exactly the same problem as 552211

The chatbox is on the site and everything, but when I type anything into it, it fails to show up in the window.
Find all posts by Pumpkin_MasherView user's profileSend private message
hue
Support Mod
Support Mod


Joined: Apr 18, 2003
Posts: 368

Location: Ohio

PostPosted: Tue Mar 06, 2007 9:13 am Reply with quoteBack to top

552211 wrote:
Anyone?


Pumpkin_Masher wrote:
I'm having exactly the same problem as 552211

The chatbox is on the site and everything, but when I type anything into it, it fails to show up in the window.



Since you are using PhP Nuke Platinum and not PHP-Nuke , I would suggest going to http://www.futurenuke.com since they are the developers of this moded version.
Find all posts by hueView user's profileSend private messageICQ Number
scorpio4646
Nuke Cadet
Nuke Cadet


Joined: Jul 26, 2007
Posts: 9


PostPosted: Thu Aug 09, 2007 8:44 am Reply with quoteBack to top

Exactly same problem here all seems ok but cannot log in as admin or type messages. some help would be great. BTW I am using phpnuke 7.8, and it worked fine on my old server

Thanks in advance
Find all posts by scorpio4646View user's profileSend private message
scorpio4646
Nuke Cadet
Nuke Cadet


Joined: Jul 26, 2007
Posts: 9


PostPosted: Fri Jan 18, 2008 2:39 am Reply with quoteBack to top

follow up to this thread. I finally got this working (with a little help from my friends). Then about a week ago I noticed that there were no msgs coming thru. So I checked and suddenly its back to as it was no update on the chat. Anyone else having same probs. Also I haven't changed anything on my site to effect this.Also the following

I have a problem with my admin block. I have tried to install a module which I'm having problems with. I have installed and un installed it 5 times (still doesnt work). Now I have 5 links to this programme in amy admin block. Even when I remove it completely from the system AND the database I still get the 5 links showing. If I install it again I will then have 6 links. how can I get rid of these


Image


Last edited by scorpio4646 on Fri Jan 18, 2008 2:42 am; edited 1 time in total
Find all posts by scorpio4646View user's profileSend private message
scorpio4646
Nuke Cadet
Nuke Cadet


Joined: Jul 26, 2007
Posts: 9


PostPosted: Fri Jan 18, 2008 2:40 am Reply with quoteBack to top

Me again, as there seems to be a major problem with Clearchat can someone suggest another chat prog the does the same job.and sits in a block
Find all posts by scorpio4646View user's profileSend private message
scorpio4646
Nuke Cadet
Nuke Cadet


Joined: Jul 26, 2007
Posts: 9


PostPosted: Thu Jan 24, 2008 11:01 am Reply with quoteBack to top

is anyone monitoring this forum, dont seem to be getting a lot of help I am desperate to get this chat working help please Crying or Very sad
Find all posts by scorpio4646View user's profileSend private message
scorpio4646
Nuke Cadet
Nuke Cadet


Joined: Jul 26, 2007
Posts: 9


PostPosted: Tue Feb 05, 2008 5:20 am Reply with quoteBack to top

sorted the problem myself turn register globals on
Find all posts by scorpio4646View user's profileSend private message
Yesideez
Nuke Soldier
Nuke Soldier


Joined: Feb 02, 2008
Posts: 12


PostPosted: Tue Feb 05, 2008 6:37 am Reply with quoteBack to top

scorpio4646 wrote:
is anyone monitoring this forum, dont seem to be getting a lot of help I am desperate to get this chat working help please Crying or Very sad

I've yet to find a forum supporting PHP Nuke that isn't dead. Until I find one have to put up with thise site.
Find all posts by YesideezView user's profileSend private messageVisit poster's website
Wrecit
Nuke Soldier
Nuke Soldier


Joined: Aug 16, 2004
Posts: 32


PostPosted: Thu Feb 07, 2008 7:02 pm Reply with quoteBack to top

you need suport? go to www.ravenphpscript.com.

They will usualy reply within 12 hrs.

I would sugest changing to Raven Nuke for better security
Find all posts by WrecitView user's profileSend private message
allsouthernrock
Nuke Cadet
Nuke Cadet


Joined: Jun 16, 2007
Posts: 1


PostPosted: Wed May 21, 2008 8:37 am Reply with quoteBack to top

Yep, need to have register Globals on. Does anyone have a work around for this? Makes the server very un-secure.
Find all posts by allsouthernrockView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12368


PostPosted: Wed May 21, 2008 1:52 pm Reply with quoteBack to top

phpNuke itself does not require register_globals, but if you're using a specific addon like ClearChat that requires such settings, you're going to have to talk to the creator of those addons

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.420 Seconds - 263 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::