How Do I run db_update.php

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   re: How Do I run db_update.php
zerocool
CZ Super Newbie
zerocool has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Mar 04, 2006
0.01 posts per day
Posts: 40
Points: 495
   
Thank you for your help.

What I did, now is installed phpBB on a different sever and ran the db_updat.php. It works. So then I copy the SQL to my nuke server. it works.

Because I was having problem with SQL, the coding.. I guess I figured out the solution



Back to top Reply with quote
#2   re: How Do I run db_update.php
floppydrivez
CZ Addict
 Codezwiz Site Donator
floppydrivez has been a member for over 18 year's 18 Year Member
usa.gif mississippi.gif
Occupation: graphic design
Age: 43
Gender: Male
Website:
Status: Offline
Joined: Feb 26, 2006
0.08 posts per day
Posts: 518
Points: 4,848
AIM Address Yahoo Messenger MSN Messenger 
Nice job, a lot of times it just takes some creativity and willingness to experiment.



Back to top Reply with quote
#3   re: How Do I run db_update.php
BigJim
CZ Super Newbie
BigJim has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Jun 09, 2006
0.01 posts per day
Posts: 60
Points: 1,327
   
Can you post the SQL here? I want to give this a shot in my Nuke test site- Thanks!



Back to top Reply with quote
#4   re: How Do I run db_update.php
zerocool
CZ Super Newbie
zerocool has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Mar 04, 2006
0.01 posts per day
Posts: 40
Points: 495
   
It worked when its on phpBB, but when I tried to put it on my nuke, I can not write or view comments. So I am still working on it. So here is the SQL. Let me know if you figure it out before me

-- phpMyAdmin SQL Dump
-- version 2.7.0-pl2
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Aug 08, 2006 at 06:09 PM
-- Server version: 4.0.16
-- PHP Version: 4.4.1
--
-- Database: `nuke_maxx`
--

-- --------------------------------------------------------

--
-- Table structure for table `comments_config`
--

CREATE TABLE `comments_config` (
  `config_name` varchar(255) NOT NULL default '',
  `config_value` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`config_name`)
) TYPE=MyISAM;

--
-- Dumping data for table `comments_config`
--

INSERT INTO `comments_config` VALUES ('comments_per_page', '15');
INSERT INTO `comments_config` VALUES ('comments_on_mini', '3');
INSERT INTO `comments_config` VALUES ('view_order', 'DESC');
INSERT INTO `comments_config` VALUES ('auth_owner', '3');
INSERT INTO `comments_config` VALUES ('auth_all', '0');
INSERT INTO `comments_config` VALUES ('auth_reg', '2');
INSERT INTO `comments_config` VALUES ('auth_mod', '5');

-- --------------------------------------------------------

--
-- Table structure for table `users_comments`
--

CREATE TABLE `users_comments` (
  `comment_id` mediumint(8) unsigned NOT NULL auto_increment,
  `user_id` mediumint(8) unsigned NOT NULL default '0',
  `poster_id` mediumint(8) NOT NULL default '0',
  `poster_ip` varchar(8) NOT NULL default '',
  `poster_username` varchar(25) NOT NULL default '',
  `comments` text NOT NULL,
  `time` int(11) default NULL,
  `enable_html` tinyint(1) unsigned NOT NULL default '0',
  `enable_bbcode` tinyint(1) unsigned NOT NULL default '0',
  `enable_smilies` tinyint(1) unsigned NOT NULL default '0',
  `bbcode_uid` varchar(10) NOT NULL default '',
  PRIMARY KEY  (`comment_id`),
  KEY `user_id` (`user_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

--
-- Dumping data for table `users_comments`
--



I can see a comment box, a link to write comments.. But I can not write.


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