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: 8
~ Members: 0
~ Total: 8
~Aikon is offline
on Yahoo Msg.
Link to meShow\Hide

aikons.net
Search in FeedsShow\Hide
Search in feeds
HistoryShow\Hide
On 17 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 1 of 2
Goto page 1, 2  Next
Error in functions.php
Message Author
Reply with quote
Post Posted: Sunday 16 April, 2006 10:02

Hello,

I have an error when I answers has a message on my forum :
Code:
Warning: mysql_real_escape_string(): Access denied for user: 'root@localhost' (Using password: NO) in .../public_html/modules/Multiheadlines/functions.php on line 580

and :
Code:
Warning: mysql_real_escape_string(): Access denied for user: 'root@localhost' (Using password: NO) in .../public_html/modules/Multiheadlines/functions.php on line 289

That gene not with the operation of the forum. I added one (@) in front of each line to mask the warning.
Have an idea on the problem?

Cordially


_________________
Stef and Co. Bénévolat sur mesure Wink

http://www.stefvar.com
View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Sunday 16 April, 2006 13:42

http://lists.mysql.com/mysql/163007

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Sunday 16 April, 2006 15:05

Thank's Wink


_________________
Stef and Co. Bénévolat sur mesure Wink

http://www.stefvar.com
View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Sunday 09 July, 2006 15:25

Code:
[Sun Jul  9 12:37:17 2006] [error] PHP Warning:  mysql_real_escape_string() [<a href='function.mysql-real-escape-string'>function.mysql-real-escape-string</a>]: A link to the server could not be established in /home/deltas00/public_html/index/modules/Multiheadlines/functions.php on line 289
[Sun Jul  9 12:37:17 2006] [error] PHP Warning:  mysql_real_escape_string() [<a href='function.mysql-real-escape-string'>function.mysql-real-escape-string</a>]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/deltas00/public_html/index/modules/Multiheadlines/functions.php on line 289


I have same problem did you fix it im unsure what to do.

View user's profile Send private message
Reply with quote
Post Posted: Sunday 09 July, 2006 15:32

Mask this error as Stefvar said in the first post of this thread.

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Monday 07 August, 2006 06:18

I just upgraded to the 2.0 I look at my error log and it is filling up with this error

[06-Aug-2006 21:12:10] PHP Warning: main(modules/Multiheadlines/getrss.php) [function.main]: failed to open stream: No such file or directory in /home/edit by me/public_html/footer.php on line 86

this is the code on that line
Code:
require( "modules/Multiheadlines/getrss.php" );


any thoughts on a fix Aikon ?

View user's profile Send private message
Reply with quote
Post Posted: Monday 07 August, 2006 11:57

When you updated the script did you copied getrss.php file on the proper place, on modules/Multiheadlines/ folder?

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Monday 07 August, 2006 14:48

yes it is working fine except for the eror log filling up

View user's profile Send private message
Reply with quote
Post Posted: Monday 07 August, 2006 16:01

The funny thing is the errors are not in the cpanel error log it is in the root of the DIR in the public_html/ error log it is filling up with this

[06-Aug-2006 21:12:10] PHP Warning: main(modules/Multiheadlines/getrss.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory

I empty it last night and it is getting bigger and the file are in the right places

View user's profile Send private message
Reply with quote
Post Posted: Tuesday 08 August, 2006 12:25

Well I don't know what to say.

I don't get any of these errors. Neither in root nor in cpanel. Confused

Maybe it's something temporary.

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Saturday 02 September, 2006 16:27

I would have to agree with Aikon, there is only one reason you should be getting that error and thats if the getrss.php file is not there, it is in the wrong place or you have changed the name of the module directory.

We only need it required for one instance so you could try changing it to
Code:
require_once('modules/Multiheadlines/getrss.php');
which might reduce the amount of errors being reported.

View user's profile Send private message
Reply with quote
Post Posted: Tuesday 12 December, 2006 09:43

phpnuke version 7.6

Im having the same problem. Could someone explain to me why this is happening? Also just masking the problem does that really solve an error?

Could someone also explain to me what this script is for?

Code:
if (eregi("getrss.php", $_SERVER['PHP_SELF'])) {
    Header("Location: http://www.google.com/search?hl=en&q=define%3A+stupid&btnG=Google+Search");
    die();
}


thanks,

j

View user's profile Send private message
Reply with quote
Post Posted: Tuesday 12 December, 2006 09:51

oh sorry coulnt find an edit button. This only seems to happen when the feeds refresh. After going into Multiheadlines admin and refreshing feeds, all seems to be well. When they auto refresh i get the error at the bottom of my forums page as well.

thanks,

j

View user's profile Send private message
Reply with quote
Post Posted: Tuesday 12 December, 2006 10:42

jjh221 wrote:

Could someone also explain to me what this script is for?

Code:
if (eregi("getrss.php", $_SERVER['PHP_SELF'])) {
    Header("Location: http://www.google.com/search?hl=en&q=define%3A+stupid&btnG=Google+Search");
    die();
}


thanks,

j


hehe nm, figured it out. ....[edited]

Smile

View user's profile Send private message
Reply with quote
Post Posted: Tuesday 12 December, 2006 13:52

And what exactly is your problem?

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