Please do not visit, its a trap for bots
NukeXchange Network

          

Nuke Sites Link Directory
Nuke Fixes NukeForums NukeZone Hosting Nuke Sites Nuke Skins
Nuke Resources
 :: Home  :: Downloads  :: Your Account  :: Forums  :: Advertise :: 
Login or Register
Main Menu
General
 Main
 AvantGo
 Banner_Clients
 cfaq
 Donations
 Downloads
 Forums
 Members_List
 Private_Messages
 Search
 Stories_Archive
 Submit_News
 Surveys
 Topics
 Web_Links
 Your_Account

Your Account
 Login
 Register
 Lost Pass

Modules
Quick Links
Domain Names
. Game Quest
Learning Linux
. MateMaker
NukeFixes
NukeForums
Nuke Sites
Nuke Skins
NukeZone Hosting
. SearchDevil
Other Options

Download Resources
Nuke Downloads
Add a Link
New Files
Top Rated
Most Popular

Web Site Resources
Nuke Sites
Add A Site
New Sites
Top Rated
Most Popular

Support
NukeZone Hosting
NukeSkins.com
NukeForums.com
phpnuke.org
NukeFixes.com
Information
NukeForums
·403 Forbidden

Forbidden

You don't have permission to access /backend.phpon this server.

Additionally, a 403 Forbiddenerror was encountered while trying to use an ErrorDocument to handle the request.

" target="_blank">403 Forbidden


read more...
Top10 Links
· 1: Nuke Forums
· 2: Windows Installation: PHP
· 3: PHPNukeFiles
· 4: NukeSkins
· 5: Nuke Templates
· 6: EcomJunk
· 7: FLASH-FOR-NUKE
· 8: MDesign
· 9: Dezina
· 10: Global Dream News Sharing Portal!
Site Visitors
User Login:

Nickname:
Password:
Security Code: Security Code
Type Security Code Here:

Members List Membership:
Latest: TommiePea
Today: 0
Yesterday: 0
Overall: 24467

Visitation:
Guests: 236
Members: 0
Total: 236


You are Anonymous user. You can register for free by clicking here
Sponsor Links
php-Nuke Themes and Templates
php-Nuke Themes and Templates

NukeResources :: View topic - ms analysis
NukeResources Forum Index

NukeResources Forum Index -> Random Thoughts -> ms analysis Goto page 1, 2  Next
Post new topic  Reply to topic    View previous topic :: View next topic 
ms analysis
PostPosted: Wed Nov 08, 2006 3:23 pm Reply with quote
apophis
Resource Newbie
Resource Newbie
 
Joined: Dec 28, 2005
Posts: 41




I have just moved our Nuke site to a new server and have two problems;

1 When trying to access MS Analysis all I get is 'This file can't be
accessed directly'. I have tried re-installing but it is just the same.

2 All the posts prior to the swap do not show up in the forums, when
viewing the .sql file for the database via a text editor I can see them
but that is as far as it goes. All the tables are present and populated.

Dean
View user's profile Send private message
PostPosted: Wed Nov 08, 2006 4:15 pm Reply with quote
Evaders99
Resource Master
Resource Master
 
Joined: May 25, 2004
Posts: 1796




1) What version are you using? PHPNuke and MS_Analysis

2) So all the tables were merged and have data in them?
Did you do any code changes? Or changed phpNuke versions?

_________________
- Star Wars Rebellion Network - Evaders Squadron Coding -

Need help? Nuke Patched Core, Coding Services, Webmaster Services
View user's profile Send private message Visit poster's website AIM Address
PostPosted: Fri Nov 10, 2006 3:05 pm Reply with quote
apophis
Resource Newbie
Resource Newbie
 
Joined: Dec 28, 2005
Posts: 41




Hi

It's Nuke version 7.7 and MS Analysis 2.1.1.

All the tables have data in them and the only change I made was in config.php to amend the database name, username and password.
I did not change the Nuke version.

Dean
View user's profile Send private message
PostPosted: Fri Nov 10, 2006 3:47 pm Reply with quote
Evaders99
Resource Master
Resource Master
 
Joined: May 25, 2004
Posts: 1796




I use MS_Analysis 2.3

In modules/MS_Analysis/index.php

there should be code like
Code:

if( !stristr( $_SERVER['SCRIPT_NAME'], "modules.php" ) ) {
   die( "You can't access this file directly..." );
}


Copy what code you have like that here

_________________
- Star Wars Rebellion Network - Evaders Squadron Coding -

Need help? Nuke Patched Core, Coding Services, Webmaster Services
View user's profile Send private message Visit poster's website AIM Address
PostPosted: Sat Nov 11, 2006 2:16 pm Reply with quote
apophis
Resource Newbie
Resource Newbie
 
Joined: Dec 28, 2005
Posts: 41




Here is the code as requested

if(! eregi( "modules.php", $_SERVER['SCRIPT_NAME'] ) ) {
die( "You can't access this file directly..." );

Dean
View user's profile Send private message
PostPosted: Sat Nov 11, 2006 3:20 pm Reply with quote
Evaders99
Resource Master
Resource Master
 
Joined: May 25, 2004
Posts: 1796




Try using what I posted

or

Code:

if( !stristr( $_SERVER['PHP_SELF'], "modules.php" ) ) {

_________________
- Star Wars Rebellion Network - Evaders Squadron Coding -

Need help? Nuke Patched Core, Coding Services, Webmaster Services
View user's profile Send private message Visit poster's website AIM Address
PostPosted: Sat Nov 11, 2006 3:30 pm Reply with quote
apophis
Resource Newbie
Resource Newbie
 
Joined: Dec 28, 2005
Posts: 41




Just tried that and no luck I'm afraid.


Regarding the missing posts I now have some but not others. I
changed the nsqlconfig.php to point to the same database tonight, not
sure if that made any difference but are there any other files I need to
change regarding the database.

I also tried this I found;

SELECT nuke_bbposts.poster_id, nuke_users.username
FROM nuke_bbposts
LEFT JOIN nuke_users
ON nuke_bbposts.poster_id = nuke_users.user_id
WHERE (nuke_users.username IS NULL)

and got the following;



Query Results


poster_id username
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1

although the table went on in the same manner for well over 200 rows.

It looks as though all the users that have been deleted in the past have been set to -1 as I ran the following query;

SELECT * FROM nuke_bbposts
WHERE poster_id = "-1" ;

which gave me their names, not sure how to fix this though.

Dean
View user's profile Send private message
PostPosted: Mon Nov 13, 2006 9:08 pm Reply with quote
apophis
Resource Newbie
Resource Newbie
 
Joined: Dec 28, 2005
Posts: 41




I have also updated to the latest version of MS Analysis, dropped all the tables and started again but still to no avail. Any ideas?

Dean
View user's profile Send private message
PostPosted: Tue Nov 14, 2006 12:54 am Reply with quote
Evaders99
Resource Master
Resource Master
 
Joined: May 25, 2004
Posts: 1796




Hmm missing posts? Did you convert from phpBB? phpNuke uses a different anonymous user_id (instead of -1 its 1)

_________________
- Star Wars Rebellion Network - Evaders Squadron Coding -

Need help? Nuke Patched Core, Coding Services, Webmaster Services
View user's profile Send private message Visit poster's website AIM Address
PostPosted: Tue Nov 14, 2006 5:52 am Reply with quote
apophis
Resource Newbie
Resource Newbie
 
Joined: Dec 28, 2005
Posts: 41




No I did not convert it was a straight server swap. Is there any way to convert the -1 to 1 or would that make it worse?

Dean
View user's profile Send private message
PostPosted: Tue Nov 14, 2006 9:59 am Reply with quote
Evaders99
Resource Master
Resource Master
 
Joined: May 25, 2004
Posts: 1796




So no changes to the software itself? I don't understand how you would have anything with a poster_id = -1
You could try poster_id = 1 and see if that works

_________________
- Star Wars Rebellion Network - Evaders Squadron Coding -

Need help? Nuke Patched Core, Coding Services, Webmaster Services
View user's profile Send private message Visit poster's website AIM Address
PostPosted: Wed Nov 15, 2006 1:26 pm Reply with quote
apophis
Resource Newbie
Resource Newbie
 
Joined: Dec 28, 2005
Posts: 41




Ok I will try that but before I go ahead, would the following be the correct code to use?

UPDATE nuke_bbposts
SET poster_id = '1'
WHERE poster_id = '-1'

Dean

PS Any ideas on how to get MS Analysis working and thanks for your help
so far.

Dean
View user's profile Send private message
PostPosted: Wed Nov 15, 2006 1:48 pm Reply with quote
Evaders99
Resource Master
Resource Master
 
Joined: May 25, 2004
Posts: 1796




Yes that should work.

Nope, I'm not really sure what is wrong with MS_Analysis.

_________________
- Star Wars Rebellion Network - Evaders Squadron Coding -

Need help? Nuke Patched Core, Coding Services, Webmaster Services
View user's profile Send private message Visit poster's website AIM Address
PostPosted: Thu Nov 16, 2006 2:57 pm Reply with quote
apophis
Resource Newbie
Resource Newbie
 
Joined: Dec 28, 2005
Posts: 41




I changed the code from this;

if( !stristr( $_SERVER['SCRIPT_NAME'], "modules.php" ) ) {
die( "You can't access this file directly..." );
}


to this;

if(!defined('MODULE_FILE') ) {
die( "You can't access this file directly..." );
}

I can now access MS Analysis from the Main Menu but not from the Admin Panel.
Any ideas what I may need to add to make it work from the Admin Panel?

Dean
View user's profile Send private message
PostPosted: Thu Nov 16, 2006 8:39 pm Reply with quote
Evaders99
Resource Master
Resource Master
 
Joined: May 25, 2004
Posts: 1796




All the scripts in modules/MS_Analysis/admin/ need to use

Code:

if (!defined('ADMIN_FILE')) {
   die ("Access Denied");
}

_________________
- Star Wars Rebellion Network - Evaders Squadron Coding -

Need help? Nuke Patched Core, Coding Services, Webmaster Services
View user's profile Send private message Visit poster's website AIM Address
ms analysis
 NukeResources Forum Index -> Random Thoughts
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
All times are GMT - 4 Hours  
Page 1 of 2  
Goto page 1, 2  Next
  
  
 Post new topic  Reply to topic     



Powered by phpBB © 2001-2005 phpBB Group.     Theme created by Vjacheslav Trushkin.
There have been 87 unique hit(s) in the past 24 hours.
Forums ©
NukeZone Hosting - Fast, Affordable and Dependable


Best viewed with a Browser
All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest 2001 - 2007 by NukeResources.com
You can syndicate our news using the file .backend.php or ultramode.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.
Page Generation: 0.90 Seconds

:: Eos phpbb2 style by Cyberalien :: PHP-Nuke theme by www.nukemods.com ::