PHP Nuke Nederland
 
•   Home  •  Downloads  •  Your Account  •  Forums  •
PHP-Nuke Nederland: Forums

PHP-Nuke Nederland :: View topic - Site freezes when trying to install NXP Online Block
 Forum FAQ  •   Search   •  Memberlist  •  Usergroups   •  Register   •    •  Profile  •  Log in to check your private messages  •  Log in

 
Post new topicThis topic is locked: you cannot edit posts or make replies.
View previous topic Log in to check your private messages View next topic
Author Message
mc260377
Beginner
Beginner


Joined: May 01, 2005
Posts: 7

PostPosted: Mon 02 May 2005 19:40 Reply with quoteBack to top

Hi all,

I'm having a problem getting the NXP whos online block installed. Everything is fine until it gets to here:-

Quote:
Checking includes/my_header.php for appropriate code - Line Missing

The include line required in the includes/my_header.php file has not been found. Please add the following line exactly as it is shown below to the includes/my_header.php file and click on RE-CHECK.

Somewhere between the < ?PHP and ? > tag add this:

include_once("includes/my_header_nxp_online.php");



The problem is that when I put that line into my_header.php and then recheck the site just freezes and I cant get on my site at all until I remove that line again Shocked


Any ideas?
View user's profileSend private message
BlueLion
Administrator
Administrator


Joined: Aug 21, 2004
Posts: 2836

PostPosted: Tue 03 May 2005 1:38 Reply with quoteBack to top

The NXP Online block is working with the Nuke Patch 2.9. Did you install that patch?


BL
View user's profileSend private messageSend e-mailVisit poster's website
mc260377
Beginner
Beginner


Joined: May 01, 2005
Posts: 7

PostPosted: Tue 03 May 2005 2:40 Reply with quoteBack to top

Hi BL thanks for the reply.. I'm using Nuke 7.5 so do I need the 2.9 patch and if so where is this available?

Thanks again Smile
View user's profileSend private message
mc260377
Beginner
Beginner


Joined: May 01, 2005
Posts: 7

PostPosted: Tue 03 May 2005 3:07 Reply with quoteBack to top

My bad.... I've downloaded the patch and just backing up my files and will try again after applying.. cheers Mike Smile
View user's profileSend private message
BlueLion
Administrator
Administrator


Joined: Aug 21, 2004
Posts: 2836

PostPosted: Tue 03 May 2005 8:06 Reply with quoteBack to top

The patch 2.9 replaces

[php:1:220fe6c7cf]if(stristr($_SERVER['SCRIPT_NAME'], "block-***.php")) {
header("Location: index.php");
die();
}[/php:1:220fe6c7cf]

with

[php:1:220fe6c7cf]if ( !defined('NUKE_FILE') ) {
Header("Location: index.php");
die();
}[/php:1:220fe6c7cf]

This means the block is requesting the definable NUKE_FILE. This is defined with patch 2.9 in your mainfile.php.

If it is not there patch your Nuke up to this one. Not only because of the NXP Online block, but it will also fix some bugs or improve your files.

After, when you altered your PHP-Nuke the block should work.


BL


Last edited by BlueLion on Tue 03 May 2005 9:07; edited 1 time in total
View user's profileSend private messageSend e-mailVisit poster's website
mc260377
Beginner
Beginner


Joined: May 01, 2005
Posts: 7

PostPosted: Tue 03 May 2005 9:02 Reply with quoteBack to top

It worked fine... many thanks for the info Smile

A few problems I have now though is when I goto change the preferences and click on the "update" button it takes me to a page that says "you are not authorised to view this page"

The update button seems to be sending me here:- http://www.mysite.com/html/admin

And is not updating any changes that I have made.

Also language in the drop down boxes dont seem to be getting the define info from the language file although the language files seem to be in the correct place.

Also Step 11 has 2 spelling mistakes and Step 12 has one Smile
View user's profileSend private message
BlueLion
Administrator
Administrator


Joined: Aug 21, 2004
Posts: 2836

PostPosted: Tue 03 May 2005 9:17 Reply with quoteBack to top

Re-check your admin.php. The following should in that file after the PHP open tag <?php

[php:1:5373035a08]define('ADMIN_FILE', true);[/php:1:5373035a08]


BL
View user's profileSend private messageSend e-mailVisit poster's website
Lascar
Beginner
Beginner


Joined: Apr 29, 2005
Posts: 9

PostPosted: Tue 03 May 2005 17:16 Reply with quoteBack to top

Waar kan ik die patch 2.9 downloaden ??

waarom is deze forum in het engels ?? is toch een nederlandse website ??


groetjes lascar
View user's profileSend private message
Lascar
Beginner
Beginner


Joined: Apr 29, 2005
Posts: 9

PostPosted: Tue 03 May 2005 17:19 Reply with quoteBack to top

kan het zijn dat nxpinstall een fout bevat ?

ik kom er maar niet uit als ik bij stap 4 terug kom krijg ik hetvolgende te zien

Checking includes/my_header.php for appropriate code - Line Missing

The include line required in the includes/my_header.php file has not been found. Please add the following line exactly as it is shown below to the includes/my_header.php file and click on RE-CHECK.

Somewhere between the < ?PHP and ? > tag add this:

include_once("includes/my_header_nxp_online.php");

als ik dit doe en refresh blokkeerd men beeld
View user's profileSend private message
Lascar
Beginner
Beginner


Joined: Apr 29, 2005
Posts: 9

PostPosted: Tue 03 May 2005 18:17 Reply with quoteBack to top

help ik heb dat blok echt nodig

heb intussen alles all die nxp fils verwijderd zodat ik terug opnieuw kan beginnen

bij de 4de of 5de stap van de installatie loopt het telkens fout

Code:
Checking includes/my_header.php for appropriate code - Line Missing

The include line required in the includes/my_header.php file has not been found. Please add the following line exactly as it is shown below to the includes/my_header.php file and click on RE-CHECK.

Somewhere between the < ?PHP and ? > tag add this:

include_once("includes/my_header_nxp_online.php");


dit krijg ik altijd te zien

vervolgens die ik wat er gevraagd wordt

endan blijft mijn beeld steken

kan iemand me helpen met het installeren van dit block/module

Met vriendelijke groeten, Lascar
View user's profileSend private message
mc260377
Beginner
Beginner


Joined: May 01, 2005
Posts: 7

PostPosted: Tue 03 May 2005 18:32 Reply with quoteBack to top

BlueLion wrote:
Re-check your admin.php. The following should in that file after the PHP open tag <?php

[php:1:8d9e2f80e9]define('ADMIN_FILE', true);[/php:1:8d9e2f80e9]


BL



Checked admin.php and that line is already there and in the correct place.
View user's profileSend private message
anaerobic
Beginner
Beginner


Joined: May 03, 2005
Posts: 2

PostPosted: Tue 03 May 2005 19:50 Reply with quoteBack to top

helo all. i been using the previous version of the JAG block.. now i updated and my site also freezes...
1. i am using phpnuke platinum 7.6
so does the patch work?
2. where do i apply the patch and all.
can someone please point me to the right direction plz.
i will greatly appretiate that.
View user's profileSend private message
mc260377
Beginner
Beginner


Joined: May 01, 2005
Posts: 7

PostPosted: Tue 03 May 2005 23:26 Reply with quoteBack to top

I dont know whether the 2.9 patch is ok with the platinum version but this is where I got the 2.9 patch from for my site and it worked fine although i'm using 7.5 and not the platinum version.

http://www.nukefixes.com/
(look under the PHP-Nuke Patched Series section)
View user's profileSend private message
BlueLion
Administrator
Administrator


Joined: Aug 21, 2004
Posts: 2836

PostPosted: Wed 04 May 2005 2:28 Reply with quoteBack to top

FYI, see http://www.phpnuke-nederland.com/ftopict-692.html

@Lascar
Dit forum is in het engels, zie ook je PM.


BL
View user's profileSend private messageSend e-mailVisit poster's website
BlueLion
Administrator
Administrator


Joined: Aug 21, 2004
Posts: 2836

PostPosted: Wed 04 May 2005 3:32 Reply with quoteBack to top

mc260377 wrote:
A few problems I have now though is when I goto change the preferences and click on the "update" button it takes me to a page that says "you are not authorised to view this page"

The update button seems to be sending me here:- http://www.mysite.com/html/admin


Small bug in the 7.0~7.5 release.
To fix it yourself: Open nxp_online.php in root/admin/modules/ and find:

[php:1:0878bf3f6a] echo " <form name='disen' action='admin' method='post'>\n";[/php:1:0878bf3f6a]

and change to:

[php:1:0878bf3f6a] echo " <form name='disen' action='admin.php' method='post'>\n";[/php:1:0878bf3f6a]

Download will be updated to BETA 3.03a.


BL
View user's profileSend private messageSend e-mailVisit poster's website
Display posts from previous:      
 Donaties   Adverteren 
Wilt u het forum steunen, dan kunt u nu eenvoudig doneren met PayPal.
Post new topicThis topic is locked: you cannot edit posts or make replies.
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

Web site powered by PHP-Nuke

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2004-2008 by BlueLion.
SEO enhanced with the Sitemapper script
You can syndicate our news using the file backend.php or ultramode.txt
Powered by PHP Powered by MySQL Apache Webserver Valid robots.txt
PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Pagina rendering: 0.17 seconden


[Valid News RSS]

RSS Feeds:
[RSS 2.0 News Feed]
[RSS 2.0 Download Feed]
[RSS 2.0 Forum Feed]
[RSS 2.0 Link Feed]
:: fisubsilver shadow phpbb2 style by Daz :: PHP-Nuke theme by BlueLion ::