| Author |
Message |
sup
Beginner


Joined: Mar 18, 2008
Posts: 17
|
Posted:
Sat 29 Mar 2008 3:13 |
  |
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  |
|
|
  |
 |
sup
Beginner


Joined: Mar 18, 2008
Posts: 17
|
Posted:
Sat 29 Mar 2008 4:23 |
  |
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 |
|
|
  |
 |
sup
Beginner


Joined: Mar 18, 2008
Posts: 17
|
Posted:
Sat 29 Mar 2008 5:03 |
  |
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 |
|
|
  |
 |
zeromechanic
Administrator


Joined: Oct 01, 2004
Posts: 1474
Location: Emmeloord
|
Posted:
Sat 29 Mar 2008 6:38 |
  |
|
   |
 |
sup
Beginner


Joined: Mar 18, 2008
Posts: 17
|
Posted:
Sat 29 Mar 2008 12:08 |
  |
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. |
|
|
  |
 |
nedkelly
Elite Support


Joined: Aug 23, 2004
Posts: 518
|
Posted:
Sat 29 Mar 2008 22:08 |
  |
Did you uploaded this file custom_head.php? Is it the right size?
The error indicates that he is unable to find this file. |
|
|
  |
 |
sup
Beginner


Joined: Mar 18, 2008
Posts: 17
|
Posted:
Sun 30 Mar 2008 1:48 |
  |
hmmmm there wasnt one??
in includes folder there was
my_header_nxp_online.php
nxp-example-my_header.php.txt |
|
|
  |
 |
Ice_baby_Ice
Senior Support


Joined: Jan 22, 2007
Posts: 377
Location: Kapelle (zeeland)
|
Posted:
Sun 30 Mar 2008 2:48 |
  |
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 |
|
     |
 |
sup
Beginner


Joined: Mar 18, 2008
Posts: 17
|
Posted:
Sun 30 Mar 2008 3:11 |
  |
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?? |
|
|
  |
 |
sup
Beginner


Joined: Mar 18, 2008
Posts: 17
|
Posted:
Sun 30 Mar 2008 4:06 |
  |
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 |
|
|
  |
 |
Ice_baby_Ice
Senior Support


Joined: Jan 22, 2007
Posts: 377
Location: Kapelle (zeeland)
|
Posted:
Sun 30 Mar 2008 4:25 |
  |
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 |
|
     |
 |
sup
Beginner


Joined: Mar 18, 2008
Posts: 17
|
Posted:
Sun 30 Mar 2008 5:29 |
  |
in my includes folder all i had was
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 |
|
  |
 |
Ice_baby_Ice
Senior Support


Joined: Jan 22, 2007
Posts: 377
Location: Kapelle (zeeland)
|
Posted:
Sun 30 Mar 2008 5:30 |
  |
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 |
|
     |
 |
sup
Beginner


Joined: Mar 18, 2008
Posts: 17
|
Posted:
Sun 30 Mar 2008 5:39 |
  |
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  |
_________________ [img]http://img168.imageshack.us/img168/7159/sbssigpe6.jpg[/img] |
|
  |
 |
BlueLion
Administrator


Joined: Aug 21, 2004
Posts: 2834
|
Posted:
Thu 03 Apr 2008 8:42 |
  |
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™ |
|
    |
 |
|
|
| Donaties
| Adverteren
|
|
Wilt u het forum steunen, dan kunt u nu eenvoudig doneren met PayPal.
|
|