problems after updating to 7.0

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   
xaros
CZ Super Newbie
Gender: Male
Website:
Status: Offline
Joined: Nov 26, 2003
0.01 posts per day
Posts: 96
Points: 5,060
   
Yes telli i try and me and its works but only for blocks no for modules.
Nice job mate




_________________
Come to bathtub mate icon_smile.gif
Back to top Reply with quote
#2   re: problems after updating to 7.0
tw0sh0t
CZ Newbie
tw0sh0t has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jan 14, 2004
0.00 posts per day
Posts: 7
Points: 856
   
I tried to follow this thread to fix mine as best as possible. I am a big time novice, in other words I really shouldn't be screwing around in the SQL database at all. I do have a backup that I made before I started, though I wouldn't have the slightest clue on how to restore it.

Anyway, after trying these suggestions, including changing my nuke_blocks to what was posted here earlier (here's my current dump)

# phpMyAdmin SQL Dump
# version 2.5.2
# [ Register or login to view links on this board. ]
#
# Host: localhost
# Generation Time: Feb 09, 2004 at 12:20 AM
# Server version: 4.0.15
# PHP Version: 4.2.3
#
# Database : `jlouisvi_nuke`
#

# --------------------------------------------------------

#
# Table structure for table `nuke_blocks`
#
# Creation: Feb 09, 2004 at 12:19 AM
# Last update: Feb 09, 2004 at 12:19 AM
#

CREATE TABLE `nuke_blocks` (
`bid` int(10) NOT NULL auto_increment,
`bkey` varchar(15) NOT NULL default '',
`title` varchar(60) NOT NULL default '',
`content` text NOT NULL,
`url` varchar(200) NOT NULL default '',
`bposition` char(1) NOT NULL default '',
`weight` int(10) NOT NULL default '1',
`active` int(1) NOT NULL default '1',
`refresh` int(10) NOT NULL default '0',
`time` varchar(14) NOT NULL default '0',
`blanguage` varchar(30) NOT NULL default '',
`blockfile` varchar(255) NOT NULL default '',
`view` int(1) NOT NULL default '0',
PRIMARY KEY (`bid`),
KEY `bid` (`bid`),
KEY `title` (`title`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

#
# Dumping data for table `nuke_blocks`
#



And using the blocks.php file found earlier in this thread. I still cannot add any new blocks. My site is still up, but only the NEWS section down the middle is available and it's streatched from one side to the other because some of these steps have removed my blocks completely. heh...

PLEASE HELP. icon_smile.gif grrrrrrrrrrr I need a stiff drink.


Oh, using PHP_NUKE 7.0 and the original problem was that I could not add any new blocks. No errors, just couldn't add them.



Back to top Reply with quote
#3   re: problems after updating to 7.0
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Run this query:

CREATE TABLE nuke_blocks (
  bid int(10) NOT NULL auto_increment,
  bkey varchar(15) NOT NULL default '',
  title varchar(60) NOT NULL default '',
  content text NOT NULL,
  url varchar(200) NOT NULL default '',
  bposition char(1) NOT NULL default '',
  weight int(10) NOT NULL default '1',
  active int(1) NOT NULL default '1',
  refresh int(10) NOT NULL default '0',
  time varchar(14) NOT NULL default '0',
  blanguage varchar(30) NOT NULL default '',
  blockfile varchar(255) NOT NULL default '',
  view int(1) NOT NULL default '0',
  expire varchar(14) NOT NULL default '0',
  action varchar(1) NOT NULL,
  PRIMARY KEY  (bid),
  KEY bid (bid),
  KEY title (title)
) TYPE=MyISAM;

#
# Volcar la base de datos para la tabla `nuke_blocks`
#

INSERT INTO nuke_blocks VALUES (1, '', 'Modules', '', '', 'l', 1, 1, 0, '', '', 'block-Modules.php', 0, 0, 'd');
INSERT INTO nuke_blocks VALUES (2, 'admin', 'Administration', '<strong><big>·</big></strong> <a href="admin.php">Administration</a><br>\r\n<strong><big>·</big></strong> <a href="admin.php?op=adminStory">NEW Story</a><br>\r\n<strong><big>·</big></strong> <a href="admin.php?op=create">Change Survey</a><br>\r\n<strong><big>·</big></strong> <a href="admin.php?op=content">Content</a><br>\r\n<strong><big>·</big></strong> <a href="admin.php?op=logout">Logout</a>', '', 'l', 2, 1, 0, '985591188', '', '', 2, 0, 'd');
INSERT INTO nuke_blocks VALUES (3, '', 'Who\'s Online', '', '', 'l', 3, 1, 0, '', '', 'block-Who_is_Online.php', 0, 0, 'd');
INSERT INTO nuke_blocks VALUES (4, '', 'Search', '', '', 'l', 4, 0, 3600, '', '', 'block-Search.php', 0, 0, 'd');
INSERT INTO nuke_blocks VALUES (5, '', 'Languages', '', '', 'l', 5, 1, 3600, '', '', 'block-Languages.php', 0, 0, 'd');
INSERT INTO nuke_blocks VALUES (6, '', 'Random Headlines', '', '', 'l', 6, 0, 3600, '', '', 'block-Random_Headlines.php', 0, 0, 'd');
INSERT INTO nuke_blocks VALUES (7, '', 'Amazon', '', '', 'l', 7, 1, 3600, '', '', 'block-Amazon.php', 0, 0, 'd');
INSERT INTO nuke_blocks VALUES (8, 'userbox', 'User\'s Custom Box', '', '', 'r', 1, 1, 0, '', '', '', 1, 0, 'd');
INSERT INTO nuke_blocks VALUES (9, '', 'Categories Menu', '', '', 'r', 2, 0, 0, '', '', 'block-Categories.php', 0, 0, 'd');
INSERT INTO nuke_blocks VALUES (10, '', 'Survey', '', '', 'r', 3, 1, 3600, '', '', 'block-Survey.php', 0, 0, 'd');
INSERT INTO nuke_blocks VALUES (11, '', 'Login', '', '', 'r', 4, 1, 3600, '', '', 'block-Login.php', 3, 0, 'd');
INSERT INTO nuke_blocks VALUES (12, '', 'Big Story of Today', '', '', 'r', 5, 1, 3600, '', '', 'block-Big_Story_of_Today.php', 0, 0, 'd');
INSERT INTO nuke_blocks VALUES (13, '', 'Old Articles', '', '', 'r', 6, 1, 3600, '', '', 'block-Old_Articles.php', 0, 0, 'd');
INSERT INTO nuke_blocks VALUES (14, '', 'Information', '<br><center><font class="content">\r\n<a href="http://phpnuke.org"><img src="images/powered/phpnuke.gif" border="0" alt="Powered by PHP-Nuke" title="Powered by PHP-Nuke" width="88" height="31"></a>\r\n<br><br>\r\n<a href="http://validator.w3.org/check/referer"><img src="images/html401.gif" width="88" height="31" alt="Valid HTML 4.01!" title="Valid HTML 4.01!" border="0"></a>\r\n<br><br>\r\n<a href="http://jigsaw.w3.org/css-validator"><img src="images/css.gif" width="88" height="31" alt="Valid CSS!" title="Valid CSS!" border="0"></a></font></center><br>', '', 'r', 7, 1, 0, '', '', '', 0, 0, 'd');


Then upload this over the admin/modules/blocks.php


Attached Files
blocks.txt (39.91 KB, Downloaded: 5233 Time(s))



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#4   re: problems after updating to 7.0
tw0sh0t
CZ Newbie
tw0sh0t has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jan 14, 2004
0.00 posts per day
Posts: 7
Points: 856
   
OMG! I've been sitting here for 3 hours and 6 beers reading this thread and many others like it trying to decifer all this and all that.... I FINALLY ask for help and within a few minutes you post my solution.... IT WORKS! IT"s ALIVE!


Thank you so very much. I owe you a cold one.



Back to top Reply with quote
#5   re: problems after updating to 7.0
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Glad you got it fixed up!




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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
You cannot attach files in this forum
You cannot download files in this forum