| Author |
Message |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12383
|
Posted:
Thu Dec 16, 2004 10:56 pm |
  |
Please read the following when doing an upgrade pre-7.5 to 7.5 and later versions of phpNuke. There is a new admin system, which will make old scripts possibly not working. Certain phpNuke files can be deleted - addons will need to be rewritten to support the new admin system.
http://www.nukeresources.com/ftopict-1425.html
If you don't read this topic first, before seeking help, then I will certainly point you here. If you have questions after you've done these steps, feel free to ask. |
_________________ Helping those that help themselves
Read FIRST or DIE!
"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding |
|
     |
 |
VAKEMP
Nuke Soldier


Joined: Aug 04, 2004
Posts: 12
|
Posted:
Fri Dec 17, 2004 5:06 pm |
  |
Evaders99,
The link isn't working for me. Is there any other info on the subject? |
|
|
   |
 |
rmdort
Nuke Soldier


Joined: Nov 06, 2004
Posts: 14
|
Posted:
Fri Dec 17, 2004 8:41 pm |
  |
|
   |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12383
|
Posted:
Fri Dec 17, 2004 11:08 pm |
  |
Link seems to working fine for me.. I don't know what's up with NukeResources right now.
But for everyone, here's the text:
| Quote: |
The following folders do not require any changes:
blocks
db
images only requires uploading code.bg.jpg to the main images folder.
includes
language
themes
The following files require no changes:
backend.php
banners.php
config.php
header.php
index.php
robots.txt
ultramode.txt
The admin language file only requires a few lines added to the start of it right before:
Code:
define("_SEND","Send");
The New lines are:
Code:
define("_DOWNLOAD","Downloads");
define("_ENCYCLOPEDIA","Encyclopedia");
define("_FAQ","F.A.Q.");
define("_NEWS","News");
define("_REVIEWS","Reviews");
define("_ADMPOLLS","Survey / Polls");
define("_TOPICS","Topics");
define("_WEBLINKS","Web Links");
The following files must be deleted from the admin case, links and modules folder:
all files relating to content, faq, download, encyclopedia, links, polls, reviews, stories, topics and users.
The rest of the files in the case and links folders require no changes.
The following files are the only ones that need updating in the admin/modules folder:
authors.php
backup.php
forums.php
modules.php
newsletter.php
optimize.php
All module main files can remain as they are, the only change is that you will need to upload an admin folder into the following modules:
Content
Downloads
Encyclopedia
FAQ
News
Reviews
Surveys
Topics
Web_Links
Your_Account
The following file must be deleted:
auth.php
The upgrade74-75.php file must be run from the main directory (where mainfile.php and config.php are) and deleted once run. That's about it.
|
|
_________________ Helping those that help themselves
Read FIRST or DIE!
"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding |
|
     |
 |
Melcindria
Corporal


Joined: Oct 17, 2003
Posts: 51
|
Posted:
Fri Dec 24, 2004 1:04 pm |
  |
Evaders, I have just installed a _fresh_ version of 7.6 with Chatserv's security patches, and I also get the Access Denied for my God login to the administrator's page.
Are these changes that need to be made even for fresh installs? |
|
|
   |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12383
|
Posted:
Fri Dec 24, 2004 4:08 pm |
  |
|
     |
 |
Realchaos1
Corporal


Joined: Jun 06, 2003
Posts: 52
|
Posted:
Sat Dec 25, 2004 6:33 pm |
  |
SMOKE POLE AND KISS A ROCK PHPNUKE 7.6!!!
WHAT DOESNT WORK 4 ME:
Edit Admin
Topics
Web Links
SENTINAL IS PRIMED AND WATCHING! MAYBE THE CAUSE OF THESE 'ACCESS DENIED' ISSUES THAT I GET, ILL KICK RAVEN IN THE HEAD! |
_________________
 |
|
   |
 |
topdog2k
Nuke Soldier


Joined: Oct 21, 2004
Posts: 32
|
Posted:
Sun Jan 09, 2005 12:32 pm |
  |
Done all those steps, still gettin Access Denied on module section of admin page. I have torn through all files in case/links/modules in the admin folder and replaced ALL instances of:
| Code: |
| if (!eregi("admin.php", $_SERVER['PHP_SELF'])) { die ("Access Denied"); } |
and
| Code: |
| if (!eregi("admin.php", $PHP_SELF)) { die ("Access Denied"); } |
WITH
| Code: |
global $admin_file;
if (!stristr($_SERVER['SCRIPT_NAME'], "".$admin_file.".php")) { die ("Access Denied"); } |
Upgrade 7.5 w/2.8 to 7.6 w/2.8 HELP!!!! What am I missing please help?? I have looked at tons of posts on this but no joy.
***EDIT***
Thank God I found the problem. When I u/l the new admin folders that are now in the modules I missed one. |
|
|
   |
 |
Jarhead
Nuke Cadet


Joined: Jan 23, 2005
Posts: 2
|
Posted:
Sun Jan 23, 2005 10:47 am |
  |
| Quote: |
| PHP Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/wwwmari/public_html/pub/includes/sql_layer.php on line 286 |
I keep getting the above error message when clicking on a few of the modules in the Administration menu...
Ephmerids, NUCalendar, Sections, and Theme Control all give me this error... it appears as though I can still work with them, but, not sure why that error message appears.
I followed your steps, and, got rid of a few other error messages, so thanks! Just hoping these will go away... i hate errors.
Sincerely,
Jarhead |
|
|
   |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12383
|
Posted:
Sun Jan 23, 2005 11:30 am |
  |
|
     |
 |
Jarhead
Nuke Cadet


Joined: Jan 23, 2005
Posts: 2
|
Posted:
Sun Jan 23, 2005 4:21 pm |
  |
Thank you. I think my upgrade is good now Just deleted the other crap that wouldn't work.
Thanks,
Jarhead |
|
|
   |
 |
maho
Corporal


Joined: Aug 15, 2004
Posts: 54
|
Posted:
Fri Feb 04, 2005 11:08 am |
  |
I dont get 1 thing i did do all the stuff that needs to be done. And works just fine but there is 1 thing that doesent work.
Messages button i can not add from home page the message you know the one that u can edit right from home page... and also what the problem i think is
its trying to go to
http://myhomepage.com/.php ???????? |
|
|
   |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12383
|
Posted:
Fri Feb 04, 2005 1:53 pm |
  |
|
     |
 |
maho
Corporal


Joined: Aug 15, 2004
Posts: 54
|
Posted:
Fri Feb 04, 2005 3:36 pm |
  |
do you mean this
| Code: |
/*********************************************************************/
/* You finished to configure the Database. Now you can change all */
/* you want in the Administration Section. To enter just launch */
/* you web browser pointing to [b]http://mydomaingoeshere.com ?/admin.php[/b] */
/* */
/* Remeber to go to Settings section where you can configure your */
/* new site. In that menu you can change all you need to change. */
/* */
/* Congratulations! now you have an automated news portal! */
/* Thanks for choose PHP-Nuke: The Future of the Web */
/********************************************************************* |
And btw my code_bg is not showing like random numbers and letters .....but it does show random numbers  |
|
|
   |
 |
maho
Corporal


Joined: Aug 15, 2004
Posts: 54
|
Posted:
Sat Feb 05, 2005 7:54 am |
  |
Hey sorry my bad! ......the config.php was not the right one it was still old 1 ..........i exchange with 7.6 and now everything works just fine |
|
|
   |
 |
|
|