You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 39 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Ack .. All blocks gone after upgrade [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Greefer
Nuke Soldier
Nuke Soldier


Joined: Jan 14, 2006
Posts: 22


PostPosted: Fri Jan 13, 2006 9:22 pm Reply with quoteBack to top

Hi,

I did an upgrade from 6.0 - 7.8.

I upgraded them all step by step, doing every .php file.

I received no errors however ALL my blocks are gone now. I did find a page that said to add:

if (defined('INDEX_FILE')) {

to my theme.php file. This did not seem to do anything at all.

What happened? Can this be fixed?

Thanks for your time on this guys.
Find all posts by GreeferView user's profileSend private message
Greefer
Nuke Soldier
Nuke Soldier


Joined: Jan 14, 2006
Posts: 22


PostPosted: Fri Jan 13, 2006 9:39 pm Reply with quoteBack to top

Here is an update that maybe will help you to help me.

I did a delete / create / restore on my DB and restored all my old 6.0 files. Everything is peachy keen.

Now when I copy the 6.0-6.5 files into my home dir, blammo all blocks gone then and there. I didnt even run the update60-65 script yet. After I run it, same thing and the blocks stay gone right up through to 7.8 if when I take it that far.

Why is it that as soon as I copy the updated files that I just downloaded off the site into my home dir ALL blocks are gone?

The only obscure thing is that I am using the subBlack theme and I dont think that is standard with the php nuke package? Not sure because its been a dogs age since I have messed with this as you can tell (still running 6.0)

Any help would be appreciated a great deal.

Thanks
Find all posts by GreeferView user's profileSend private message
Greefer
Nuke Soldier
Nuke Soldier


Joined: Jan 14, 2006
Posts: 22


PostPosted: Sat Jan 14, 2006 7:44 am Reply with quoteBack to top

Still working away at this with no luck at all.

I now dont have to put in a password to get into the admin section, yet when I click on Blocks I get a big ole Access Denied screen.
EDIT: By doing a full restore and leaving the name of my admin entry in config.php and the file itself to admin/admin.php my control panel are now working. I need to log in and am not getting the denied error.

I can go to my blocks panel now and it shows active, I can even view the blocks specifically, but it seems there is nothing I can do to get my right/left blocks to show up on my page.

Does anyone have any insight as to what I might be doing? The upgrades dont give me any errors. The main articles work great, but im still getting NO blocks at all.

Its driving me nuts now hahahaha
Find all posts by GreeferView user's profileSend private message
Greefer
Nuke Soldier
Nuke Soldier


Joined: Jan 14, 2006
Posts: 22


PostPosted: Sat Jan 14, 2006 9:02 am Reply with quoteBack to top

Sorry for all the posts .. I just want to provide as much information as possible in hopes that someone out there has seen this or has an idea that could fix it.

I have gone through and done the following to my theme.php and every index.php in my modules directory. Nothing has changed, and I still have NO BLOCKS Sad

1- If you want right side blocks to appear in third party add-ons change:
In Modules:
index = 1;
to:
define('INDEX_FILE', true);

In Themes:
if ($index == 1) {
to:
if (defined('INDEX_FILE')) {

NOTE: I went through this next part as well but didnt find any of these instances in my modules, or my theme.php. Im looking everywhere and doing anything possible, but nothing is kicking.

2- Additional changes for third party add-ons:
if ($mainfile == 1) {
should be changed to:
if (defined('NUKE_FILE')) {

if ($module == 1) {
should be changed to:
if (defined('MODULE_FILE')) {

if ($footer == 1) {
should be changed to:
if (defined('NUKE_FOOTER')) {

if ($header == 1) {
should be changed to:
if (defined('NUKE_HEADER')) {

..............

Thanks agian ..
Find all posts by GreeferView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12403


PostPosted: Sat Jan 14, 2006 4:16 pm Reply with quoteBack to top

You ran all the upgrade scripts, correct? And you are using the Patched files too?

Sounds like you have some old incomptable files. Clear your entire /admin folder. Load back only the /admin files from the 7.8 package and then the Patched package

_________________
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
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Greefer
Nuke Soldier
Nuke Soldier


Joined: Jan 14, 2006
Posts: 22


PostPosted: Sun Jan 15, 2006 8:29 am Reply with quoteBack to top

EDIT:
I rolled back, went only to 6.5 with the update script, then copied up the 6.5 patched files, and now my left blocks are showing up. My right still will not work.

I checked the theme.php but the index line is still reading as it should. Is this easier to fix now that I have left but not right? At least it is a little progress.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I did run the update scripts yes.

The blocks disappear as soon as I copy the new files in, i dont even need to run the script, but when I do they stay gone. So far im just trying to get it to work from 6.0-6.5 and it wont.

I did try taking it all the way to 7.8 .. i never get errors, all update scripts ran with no problem, but my blocks are all gone.

So far I have no luck with the Patched files. Is there anything else I can do/try? I really want to get the code updated for the site, and seem like I have been trying everything Sad

I did a delete of all admin files, recopied them in and re-ran the update.php .. same thing I still have no blocks Sad
Find all posts by GreeferView user's profileSend private message
Greefer
Nuke Soldier
Nuke Soldier


Joined: Jan 14, 2006
Posts: 22


PostPosted: Sun Jan 15, 2006 11:31 am Reply with quoteBack to top

Im up and running.

What I did was delete everything .. fresh restore.

Upgraded to 6.5, then put patched files on the 6.5 install. This fixed my left side of the blocks. I then went through all my module files again and there were 2 added:

index = 1;
to:
define('INDEX_FILE', true);

After this I now seem to be going well.

Thanks
Find all posts by GreeferView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.182 Seconds - 159 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::