Author |
Message |
Preach
New Member


Joined: Oct 27, 2005
Posts: 7
|
Posted:
Thu Oct 27, 2005 11:59 am |
|
I have installed php nuke 7.6 pl 3.1 yesterday and everything is fine. Today I installed nukesentinel 2.4.2. I
uploaded all the files and folders to my main directory, edit the core files but when I try to run nsnst.php i get a blank page.
what could be the problem. i am new to this phpnuke stuff.
any ideas?
thanks |
|
|
|
 |
hitwalker
Sells PC To Pay For Divorce

Joined:
Posts: 5661
|
Posted:
Thu Oct 27, 2005 12:05 pm |
|
you sure you uploaded everything to the correct folder?
And your sure you did the edit properly ?
No missed includes or whatever.?
and you call the install file like...www.yoursite.com/nsnst.php ? |
|
|
|
 |
Preach

|
Posted:
Thu Oct 27, 2005 6:27 pm |
|
yeah I did try to edit the core files again and now it works fine.
thanks anyway.
i have another question, I'm not quite sure with .htaccess and .staccess.
i did upload them to my main/root directory.Am I doing right?
Thanks again |
|
|
|
 |
hitwalker

|
Posted:
Thu Oct 27, 2005 6:34 pm |
|
well you should do better reading the install..
sample.htaccess and sample.staccess are samples of the CGIAuth system. In the
sample.htaccess file you will see a sample of the code needed to use CGIAuth and
the sample.staccess, while empty, if renamed to .staccess, upload your server
then chmoded to 666 will store the CGIAuth AID's and Passwords.
Only on Apache servers -------------> root/.htaccess (CHMOD 666)
Be sure your .htaccess file
has at least one blank line at
the end of it.
Only on Apache servers -------------> root/.staccess (CHMOD 666)
This file should be empty to begin.
In your configuration of sentinel you will see howto set the admin user and pass... |
|
|
|
 |
Preach

|
Posted:
Fri Oct 28, 2005 1:04 am |
|
ok i've done that but my problem now is when I change my theme to custom theme, my right blocks are disappeared especially in my home page
No problem there when I used the default phpnuke themes.
Sorry for asking too much questions.
thanks again |
|
|
|
 |
hitwalker

|
Posted:
Fri Oct 28, 2005 4:24 am |
|
thats not problem...
In your theme.php find:
if ($index == 1) {
and change to:
if (defined('INDEX_FILE')) { |
|
|
|
 |
fkelly
Former Moderator in Good Standing

Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY
|
Posted:
Sat Nov 05, 2005 4:18 pm |
|
Quote: | well you should do better reading the install.. |
Having just installed (upgraded) Sentinel and having read the instructions, unless I am badly mistaken, they are incomplete. The readme.txt says:
Quote: | Uploading Files:
----------------
NukeSentinel(tm) Files in Directories: FTP Upload to:
html/abuse/*.* ----------------> root/abuse/*.*
html/admin/*.* ----------------> root/admin/*.*
html/blocks/*.* ----------------> root/blocks/*.*
html/images/*.* ----------------> root/images/*.*
html/import/*.* ----------------> root/import/*.* See IMPORT.txt for info.
html/includes/*.* ----------------> root/includes/*.*
html/language/*.* ----------------> root/language/*.*
html/modules/*.* ----------------> root/modules/*.*
* root = the root directory of your site.
Installation or Updating Existing NukeSentinel(tm) To Latest Version After Uploading Files:
----------------------------------------------------------------------------------------
Running the nsnst.php file:
---------------------------
1) After uploading the files, Login to your PHP-Nuke admin.php screen:
For example: http://www.YOURDOMAIN.com/admin.php
2) Then, in the address line of your browser, erase the admin.php and replace it with nsnst.php
For example: http://www.YOURDOMAIN.com/nsnst.php
This will install, upgrade, or uninstall NukeSentinel(tm) database tables.
Uploading Files:
----------------
NukeSentinel(tm) Files in Directories: FTP Upload to:
html/abuse/*.* ----------------> root/abuse/*.*
html/admin/*.* ----------------> root/admin/*.*
html/blocks/*.* ----------------> root/blocks/*.*
html/images/*.* ----------------> root/images/*.*
html/import/*.* ----------------> root/import/*.* See IMPORT.txt for info.
html/includes/*.* ----------------> root/includes/*.*
html/language/*.* ----------------> root/language/*.*
html/modules/*.* ----------------> root/modules/*.*
* root = the root directory of your site.
Installation or Updating Existing NukeSentinel(tm) To Latest Version After Uploading Files:
----------------------------------------------------------------------------------------
Running the nsnst.php file:
---------------------------
1) After uploading the files, Login to your PHP-Nuke admin.php screen:
For example: http://www.YOURDOMAIN.com/admin.php
2) Then, in the address line of your browser, erase the admin.php and replace it with nsnst.php
For example: http://www.YOURDOMAIN.com/nsnst.php
This will install, upgrade, or uninstall NukeSentinel(tm) database tables.
|
It omits mentioning that you need to upload the nsnst_installer directory. So, if you follow the instructions explicitly you will get a blank screen when you run nsnst.php. Sure, the PHP savvy can look at nsnst.php and infer that this needs to be done but the instructions could and should be explicit. And given all the "file_exists" checks that are done in mainfile perhaps the installer could check for the existence of at least one of the install files and give a meaningful error message. |
|
|
|
 |
hitwalker

|
Posted:
Sat Nov 05, 2005 4:27 pm |
|
that the install never will be any bestseller is wellknown,but has nothing to do with posted problem...,whitch i asume is solved. |
|
|
|
 |
Preach

|
Posted:
Sat Nov 05, 2005 7:02 pm |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sun Nov 06, 2005 1:15 am |
|
fkelly,
Picky, picky, picky  |
|
|
|
 |
|