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

PHP-Nuke Nederland :: View topic - need some help guys NXP error
 Forum FAQ  •   Search   •  Memberlist  •  Usergroups   •  Register   •    •  Profile  •  Log in to check your private messages  •  Log in

 
Post new topicReply to topic
View previous topic Log in to check your private messages View next topic
Author Message
sup
Beginner
Beginner


Joined: Mar 18, 2008
Posts: 17

PostPosted: Sat 29 Mar 2008 3:13 Reply with quoteBack to top

I installed the NXP Online Block, everything went ok. went to my admin menu, clicked on the NXP Admin image.

message popped up showing:
Main Admin PageThis is the New Central Admin Section for all NX Project Scripts. Any new NX Project Script installed will appear on the left. To edit a particular Script just click on the Image / Name of that Script.

I then clicked on the image to the left:
NX Project
Scripts Found
NXP Online

And got this error???

Warning: main(includes/custom_files/custom_head.php) [function.main]: failed to open stream: No such file or directory in /home/sites/modern-warfare.co.uk/public_html/admin/modules/nxp_online.php on line 2

Warning: main() [function.include]: Failed opening 'includes/custom_files/custom_head.php' for inclusion (include_path='.:/usr/share/pear') in /home/sites/modern-warfare.co.uk/public_html/admin/modules/nxp_online.php on line 2

Fatal error: Call to undefined function: nxp_online_config_data() in /home/sites/modern-warfare.co.uk/public_html/admin/modules/nxp_online.php on line 42

Any help on this matter would be great guys Wink
View user's profileSend private message
sup
Beginner
Beginner


Joined: Mar 18, 2008
Posts: 17

PostPosted: Sat 29 Mar 2008 4:23 Reply with quoteBack to top

I activated the block, site is now all messed up.
now i get this error message??

Fatal error: Call to undefined function: nxp_online_config_data() in /home/sites/modern-warfare.co.uk/public_html/blocks/block-nxp_online.php on line 36

You can see what i mean by visitin my site address
www.modern-warfare.co.uk
View user's profileSend private message
sup
Beginner
Beginner


Joined: Mar 18, 2008
Posts: 17

PostPosted: Sat 29 Mar 2008 5:03 Reply with quoteBack to top

I reistalled, everything ok as b4, went to admin menu, now get this message??

Fatal error: Call to undefined function: nxp_online_config_data() in /home/sites/modern-warfare.co.uk/public_html/admin/modules/nxp_online.php on line 45
View user's profileSend private message
zeromechanic
Administrator
Administrator


Joined: Oct 01, 2004
Posts: 1527
Location: Emmeloord

PostPosted: Sat 29 Mar 2008 6:38 Reply with quoteBack to top

http://www.phpnuke-nederland.com/ftopict-1453-nxp.html+online

_________________
Te Lezen: Forum Regels | Te Gebruiken
View user's profileSend private messageVisit poster's website
sup
Beginner
Beginner


Joined: Mar 18, 2008
Posts: 17

PostPosted: Sat 29 Mar 2008 12:08 Reply with quoteBack to top

Open ROOTDIR/blocks/block-nxp_online.php

vind :
PHP:
if ( !defined('BLOCK_FILE') ) {
Header("Location: ../index.php");
die();
}


voeg daarna toe :
PHP:
include_once("includes/custom_files/custom_head.php");


sla bestand op

open ROOTDIR/admin/modules/nxp_online.php

vind :
PHP:
if ( !defined('ADMIN_FILE') )
{
die("Illegal File Access");
}

voeg daarna toe :
PHP:
include_once("includes/custom_files/custom_head.php");


Ok i did as the above text said, but got new errors???

Warning: main(includes/custom_files/custom_head.php) [function.main]: failed to open stream: No such file or directory in /home/sites/modern-warfare.co.uk/public_html/admin/modules/nxp_online.php on line 27

Warning: main() [function.include]: Failed opening 'includes/custom_files/custom_head.php' for inclusion (include_path='.:/usr/share/pear') in /home/sites/modern-warfare.co.uk/public_html/admin/modules/nxp_online.php on line 27

Fatal error: Call to undefined function: nxp_online_config_data() in /home/sites/modern-warfare.co.uk/public_html/admin/modules/nxp_online.php on line 46

Anyone know how to fix these errors??, as i really want to use this cool block.
View user's profileSend private message
nedkelly
Elite Support
Elite Support


Joined: Aug 23, 2004
Posts: 533

PostPosted: Sat 29 Mar 2008 22:08 Reply with quoteBack to top

Did you uploaded this file custom_head.php? Is it the right size?
The error indicates that he is unable to find this file.
View user's profileSend private messageVisit poster's website
sup
Beginner
Beginner


Joined: Mar 18, 2008
Posts: 17

PostPosted: Sun 30 Mar 2008 1:48 Reply with quoteBack to top

hmmmm there wasnt one??

in includes folder there was

my_header_nxp_online.php
nxp-example-my_header.php.txt
View user's profileSend private message
Ice_baby_Ice
Helper
Helper


Joined: Jan 22, 2007
Posts: 437
Location: Kapelle (zeeland)

PostPosted: Sun 30 Mar 2008 2:48 Reply with quoteBack to top

You can create one by your self.

Create a file in a editor. Put there this code
Code:

<?php
include_once("includes/custom_files/custom_head_nxp_online.php");
?>


Save the file as custom_head.php and put it in the folder includes/custom_files/

The error is now gone.

I hope the NXP block now works. My NXP block works with it.

_________________
Kijk ook eens op de site the-future-webdesign
View user's profileSend private messageSend e-mailVisit poster's websiteMSN Messenger
sup
Beginner
Beginner


Joined: Mar 18, 2008
Posts: 17

PostPosted: Sun 30 Mar 2008 3:11 Reply with quoteBack to top

eek tried that buddy, now get error at top of my webby on all pages saying

Warning: main(includes/custom_files/custom_head_nxp_online.php) [function.main]: failed to open stream: No such file or directory in /home/sites/modern-warfare.co.uk/public_html/includes/custom_files/custom_head.php on line 2

Warning: main() [function.include]: Failed opening 'includes/custom_files/custom_head_nxp_online.php' for inclusion (include_path='.:/usr/share/pear') in /home/sites/modern-warfare.co.uk/public_html/includes/custom_files/custom_head.php on line 2

NXP_Online_v2.0_BETA_3.04_[7.0~7.5] is this version what most of you are using??
View user's profileSend private message
sup
Beginner
Beginner


Joined: Mar 18, 2008
Posts: 17

PostPosted: Sun 30 Mar 2008 4:06 Reply with quoteBack to top

sorted it m8.

<?php
include_once("includes/custom_files/custom_head_nxp_online.php");
?>

Was wrong, i edited it to

<?php
include_once("includes/custom_files/my_header_nxp_online.php");
?>

Wooohooo it works.

Ty for you help, in sending me in the right direction
View user's profileSend private message
Ice_baby_Ice
Helper
Helper


Joined: Jan 22, 2007
Posts: 437
Location: Kapelle (zeeland)

PostPosted: Sun 30 Mar 2008 4:25 Reply with quoteBack to top

NP Sup your welcome, thats what we are here fore...

But i don understand what you mean by
Quote:
my_header_nxp_online.php
On my site it is custom_header.php.

Doesn't matter anymore. It works.....

BTW Nice site and the NXP looks good....



CYa

_________________
Kijk ook eens op de site the-future-webdesign
View user's profileSend private messageSend e-mailVisit poster's websiteMSN Messenger
sup
Beginner
Beginner


Joined: Mar 18, 2008
Posts: 17

PostPosted: Sun 30 Mar 2008 5:29 Reply with quoteBack to top

in my includes folder all i had was
Image

I downloaded NXP_Online_v2.0_BETA_3.04_[7.0~7.5].zip
from this site bud.

Aww cheers bud, just split from my old clan. just built webby this week, still work to be done, but its getting there


Last edited by sup on Sun 30 Mar 2008 5:31; edited 1 time in total
View user's profileSend private message
Ice_baby_Ice
Helper
Helper


Joined: Jan 22, 2007
Posts: 437
Location: Kapelle (zeeland)

PostPosted: Sun 30 Mar 2008 5:30 Reply with quoteBack to top

I see what you mean, i think i have a different version.

About your site. Witch version you use. Because of te Vwar module i presume that you use Php Nuke Clan (PNC).

I also like your theme... is this your one creation or download it somewhere on the internet?
If so i like to get the link for it. I have made also a clan site for a customer and he likes to play COD4 en 2. Maybe i can use te theme for them to.

Regards.
Wim

_________________
Kijk ook eens op de site the-future-webdesign
View user's profileSend private messageSend e-mailVisit poster's websiteMSN Messenger
sup
Beginner
Beginner


Joined: Mar 18, 2008
Posts: 17

PostPosted: Sun 30 Mar 2008 5:39 Reply with quoteBack to top

Its
NVISION from Destine Designs
www.destinedesigns.com/
Bought it a couple of years ago.
Think site is closed now, not sure as it says This Account Has Been Suspended
Cheers once again for your help bud Wink

_________________
[img]http://img168.imageshack.us/img168/7159/sbssigpe6.jpg[/img]
View user's profileSend private message
BlueLion
Administrator
Administrator


Joined: Aug 21, 2004
Posts: 2836

PostPosted: Thu 03 Apr 2008 8:42 Reply with quoteBack to top

Wrong download. Use the 7.6 version instead.


BL

_________________
Te Lezen: Forum Regels | Te Gebruiken: Forum Zoek Functie
Aanbevolen PHP-Nuke versie: PHP-Nuke 7.6pl3.1!
Aanbevolen Security AddOn: Nuke Sentinel™
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 topicReply to topic
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.09 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 ::