Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6
Author Message
tina
Regular
Regular



Joined: Aug 15, 2006
Posts: 66

PostPosted: Sun Sep 17, 2006 4:48 am Reply with quote

7.6 patched with sentinel 2.5.02

My copyrights won't open on any module. When checking the Java Console it tells me the javascript is not defined.

I've checked the java.php file in includes and the code there is correct. Not sure where else I need to look.
 
View user's profile Send private message
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Sun Sep 17, 2006 7:54 am Reply with quote

Tina, may I see that in action on your site please (link)? Thx.

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
tina







PostPosted: Sun Sep 17, 2006 3:55 pm Reply with quote

[ Only registered users can see links on this board! Get registered or login! ]

Oh - please feel free (: P) to move the post to the 7.6 forum - just realised I posted it on the bugs by accident (was looking for a solution at the time and didn't realise I was on the wrong forum).
 
montego







PostPosted: Tue Sep 19, 2006 5:50 am Reply with quote

I am pretty sure the issue is in your includes/javascript.php file. I know you say what is there is correct, but when you look at your HTML page source, there is no definition for the function openwindow(), so that code is not getting executed.

You may have introduced an error in your NukeSentinel updates in this script for the "overlib" includes.
 
tina







PostPosted: Wed Sep 20, 2006 4:09 am Reply with quote

I checked the nuke sentinal files and it says

Quote:
Does NOT apply to new installs, only to upgraders.


so, I made no modifications to the file as I started with a fresh install of 7.6.

Following your advice though, I did go back to compare my file with the patch on this site for 7.6 (orignally I had to download the patch from another site as I had problems downloading from here). It was missing this code:

Code:


if (stristr(htmlentities($_SERVER['PHP_SELF']), "javascript.php")) {
    Header("Location: ../index.php");
    die();
}



So now its all working (and I have a job ahead of me to check other files with the patch!)

Thanks for your help. Much appreciated.
 
montego







PostPosted: Wed Sep 20, 2006 7:08 am Reply with quote

Well, I am glad that it is working, but I am left scratching my head as to why adding the above code helped... Did you replace some code that was there with this block of code? Confused
 
tina







PostPosted: Wed Sep 20, 2006 7:16 am Reply with quote

I replaced this code:

Code:
if (eregi("javascript.php",$_SERVER['PHP_SELF'])) {

    Header("Location: ../index.php");
    die();
}
 
montego







PostPosted: Wed Sep 20, 2006 7:23 am Reply with quote

Interesting... I am still Confused ... but, I am glad it is working.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©