| Author |
Message |
phyrebird

Joined: Jul 14, 2007
Posts: 3
|
Posted:
Sat Jul 14, 2007 9:14 pm |
|
Howdy,
Just getting into phpNuke and found your block, which looks awesome. I got it into the admin, told it to activate, but the site will no longer load. If I FTP in and rename the block, it's fine and comes back. I'm on a mid-to-high-end paid server, no restrictions on MySQL accessing, so I'm not sure what the problem is.
Any help would be greatly appreciated.
Thanks for the work.  |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 921
|
Posted:
Sat Jul 14, 2007 9:22 pm |
|
What version of nuke are you using? |
| |
|
|
 |
phyrebird

Joined: Jul 14, 2007
Posts: 3
|
Posted:
Sat Jul 14, 2007 10:05 pm |
|
| gotcha wrote: |
| What version of nuke are you using? |
7.0 the stats page says. |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 921
|
Posted:
Tue Jul 24, 2007 5:26 pm |
|
Your nuke version is way outdated and I strongly recommend that you upgrade. The best version to go with right now is ravenNuke from http://ravenphpscripts.com . It is based on 7.6 and is the most secure and bug-free version out right now.
Needless to say, the block isn't compatible with your version. If you can't upgrade but still want to use the block you can try this.
Open up block-Info_Box.php and find...
| php: |
if ( !defined('BLOCK_FILE') ) {
Header("Location: ../index.php");
die();
}
|
Replace with....
| php: |
if (stristr($_SERVER['SCRIPT_NAME'], "block-Info_Box.php")) {
Header("Location: ../index.php");
die();
}
|
|
| |
|
|
 |
phyrebird

Joined: Jul 14, 2007
Posts: 3
|
Posted:
Tue Jul 24, 2007 9:13 pm |
|
| gotcha wrote: |
Your nuke version is way outdated and I strongly recommend that you upgrade. The best version to go with right now is ravenNuke from http://ravenphpscripts.com . It is based on 7.6 and is the most secure and bug-free version out right now.
Needless to say, the block isn't compatible with your version. If you can't upgrade but still want to use the block you can try this.
Open up block-Info_Box.php and find...
| php: |
if ( !defined('BLOCK_FILE') ) {
Header("Location: ../index.php");
die();
}
|
Replace with....
| php: |
if (stristr($_SERVER['SCRIPT_NAME'], "block-Info_Box.php")) {
Header("Location: ../index.php");
die();
}
|
|
Thanks, gotcha, I appreciate the reply. I realized I was way behind the times, and updated to the 7.6-based PNC because it included a bunch of clan tools. |
| |
|
|
 |
|
|