PHP-Nuke Services - Addons, Modules, Blocks Vizitati www.westdesign.ro Select Interface Language:EnglishRomanian
  Login or Register HomeForumsDownloadsYour AccountWeb LinksContact   
SectionsShow\Hide
MultiheadlinesShow\Hide
LoginShow\Hide
~ Welcome, alien
Nickname Password
(Register)

~ Membership:

Greetings to the newest member jincesoft
~ New Today: 0
~ New Yesterday: 0
~ Overall: 4306

~ People Online:
~ Visitors: 16
~ Members: 0
~ Total: 16
~Aikon is offline
on Yahoo Msg.
Link to meShow\Hide

aikons.net
Search in FeedsShow\Hide
Search in feeds
HistoryShow\Hide
On 21 May


Speed Up   Pause   Speed Down
DictionaryShow\Hide
Enter the word

Romanian users only

- aikons.net - PHP-Nuke Services Forum Index


This topic is locked: you cannot edit posts or make replies. Page 2 of 2
Goto page Previous  1, 2
Error in functions.php
Message Author
Reply with quote
Post Posted: Tuesday 12 December, 2006 22:46

Oh sorry im receiving the same error messages as the guy who started this tread.

Code:
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'usr'@'localhost' (using password: NO) in /home/usr/public_html/modules/Multiheadlines/functions.php on line 580


Code:

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'usr'@'localhost' (using password: NO) in /home/usr/public_html/modules/Multiheadlines/functions.php on line 289


I only get these codes when the rss are auto refreshing. Also it seems as though it takes forever for them to auto refresh. I have over 80 feeds.

View user's profile Send private message
Reply with quote
Post Posted: Wednesday 13 December, 2006 04:43

Oh I am also running nsn groups. Ill have a look to see if that may be a cause. If it is, i still wont understand why. I masked the error with @, which seems to work. Although it still does not answer my question as to why. Ill post back soon.

thanks,

j

View user's profile Send private message
Reply with quote
Post Posted: Wednesday 13 December, 2006 05:20

ok nsn groups is not my problem.

My guess is that while not logged into God user or admin and refreshing the lists. The auto refresh makes sql injections(?) or whatever, with no password. Resulting in this error. So I dont really see a fix for this. Unless stating user name and pass. I dont know im a noob.


Someone else wana help? anyone?

View user's profile Send private message
Reply with quote
Post Posted: Wednesday 13 December, 2006 14:18

No, nothing like that and also it have nothing to do with NSN Groups.

You said you only get this error when "auto refreshing" could you change on line 580 instead mysql_real_escape_string() to mysql_escape_string() and see if you get the errors.

Quote:
Also it seems as though it takes forever for them to auto refresh. I have over 80 feeds.

You meant 80 feed urls?
That's a lot of urls to connect on.

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Wednesday 13 December, 2006 16:54

Right I only get these errors when it is "Auto Refreshing" only then.
K, just did it. That does fix the error on 580 but the 289 error still shows.

Yea I have 80 feed urls sorry. Last night, to help the work load, I set them to their own refresh time(that took forever). So that there is a little bit of time between each refresh. I think at most id have 3-4 refreshing at the same time.

View user's profile Send private message
Reply with quote
Post Posted: Wednesday 13 December, 2006 16:58

but i must say this module is really good.

thanks a lot for it...

View user's profile Send private message
Reply with quote
Post Posted: Wednesday 13 December, 2006 17:36

Did you made the replacement on 289 line too?

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Wednesday 13 December, 2006 18:11

K just did it now I get an error

Code:
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'usr'@'localhost' (using password: NO) in /home/usr/public_html/modules/Multiheadlines/functions.php on line 294


Do you think ill have to do it for all of em? Well give me a sec and ill replace them all.

View user's profile Send private message
Reply with quote
Post Posted: Wednesday 13 December, 2006 18:15

WOOT! ok i think removing _real on that line worked! I checked a few feeds were refreshing. OH i take back my 3-4 there were about 9 refreshing that time lol. So i think, im pretty sure that worked. Ill check more on it later, ima go pass out now. Almost 24 hours no sleep. Thanks aikon for the help.

night

j

View user's profile Send private message
Reply with quote
Post Posted: Wednesday 13 December, 2006 18:17

Ok, good night J.

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Thursday 14 December, 2006 17:15

ok it works, although other errors show up still in forums. That is when an error occurs. Say if there is an alert, I think an error pops up only when auto refreshing cant obtain a feed. The error shows at the bottom up of the forums.
I would have copied the error but didnt think about it and hit refresh and it went away. I think it was around the #400's line. 409 maybe. not sure.

View user's profile Send private message
Display posts from previous:
This topic is locked: you cannot edit posts or make replies. Page 2 of 2
Goto page Previous  1, 2
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
  


Page Generation: 0.57 Seconds