Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
What MOD is this?
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: Previous  1, 2
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
Re: What MOD is this?
PostPosted: 11/30/2006 9:01 AM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 5:59 PM
Location: Klang, Malaysia
malaysiC.gif
What problem is this?

Could not update forum views.

DEBUG MODE

SQL Error : 1054 Unknown column 'forum_views' in 'field list'

UPDATE phpbb_forums SET forum_views = forum_views + 1 WHERE forum_id = 73

Line : 338
File : viewforum.php


Im using on my subsilver templates
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: What MOD is this?
PostPosted: 11/30/2006 1:49 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 1:59 PM
Location: St Pete, FL
peace.gif
masteranu84 wrote:
SQL Error : 1054 Unknown column 'forum_views' in 'field list'

This error message gives you a very good clue of what the problem can be.  Your code tried to run an SQL query against your database but didn't find the forum_views field in the  phpbb_forums table.  So your first thought should be is was there a database update for the MOD I just installed?  Obviously there was.  So you would read the author's notes to try to determine what to do next...

If you had used EM, it would have run the following for you or told you that there was a problem with it.  So why aren't you using EM to install these MODs?  You're making this much harder on yourself than it needs to be...

Code:
#
#-----[ SQL ]------------------------------------------
#
ALTER TABLE phpbb_forums ADD forum_views MEDIUMINT(8) UNSIGNED DEFAULT '0' NOT NULL;

dontknow
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: What MOD is this?
PostPosted: 12/01/2006 12:57 AM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 5:59 PM
Location: Klang, Malaysia
malaysiC.gif
Nightrider wrote:
masteranu84 wrote:
SQL Error : 1054 Unknown column 'forum_views' in 'field list'

This error message gives you a very good clue of what the problem can be.  Your code tried to run an SQL query against your database but didn't find the forum_views field in the  phpbb_forums table.  So your first thought should be is was there a database update for the MOD I just installed?  Obviously there was.  So you would read the author's notes to try to determine what to do next...

If you had used EM, it would have run the following for you or told you that there was a problem with it.  So why aren't you using EM to install these MODs?  You're making this much harder on yourself than it needs to be...

Code:
#
#-----[ SQL ]------------------------------------------
#
ALTER TABLE phpbb_forums ADD forum_views MEDIUMINT(8) UNSIGNED DEFAULT '0' NOT NULL;

dontknow


Ok. I don't understand this at all ...sorry.. can step by step tell me what should i need to do on my 1st step? Can u show some print screen ?
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: What MOD is this?
PostPosted: 12/01/2006 1:48 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 1:59 PM
Location: St Pete, FL
peace.gif
If you would start using EM, you wouldn't have to worry so much  about stuff like this:

phpMyAdmin -  Manually Applying SQL Code

The following is how you apply your SQL code manually to your phpMyAdmin database. You can get into your database through your CPanel by clicking on phpMyAdmin. Follow the following instructions:

I'm sure that every host is different. I will tell you how I run my queries manually and hopefully it will be close to what you have available to you. The following may or may not be similar to what you have...

Log into your domain Control Panel and find the database icons. You should be able to find the phpMyAdmin icon. Click on it...



Hopefully that will log you into your phpAdmin panel. You may need to provide a username and password...

In the phpMyAdmin panel, click on the Databases hyperlink...



Hopefully that should take you where you can select your database. You may only have one. Select your database hyperlink...



That should open up the display of all the tables in your database. Ignore them. Somewhere on the page, you should see something similar to this:



Click on the SQL tab to display something like the following where you can copy all of the SQL commands in at once:



Click on the Go button and the queries will be run. If all goes well, you will be told that the commands were executed successfully. Otherwise you will see a screen that tells you which command failed. If the columns that you are trying to add already exist, a duplicate will not be added...

Hopefully my instructions above are close to what you would see on your domain. If not, perhaps you could provide some screenshots of what you have available and we can figure out what you need to do. I use Gadwin Printscreen to create the screenshots and www.ImageShack.us to host them so they can be posted here...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: What MOD is this?
PostPosted: 12/03/2006 2:28 AM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 5:59 PM
Location: Klang, Malaysia
malaysiC.gif
Issit it will automatic install after i import which file i want to install ? Embarassed
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: What MOD is this?
PostPosted: 12/05/2006 10:22 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 1:59 PM
Location: St Pete, FL
peace.gif
Yes, EM will apply the MOD code to your phpBB files.  It definitely simplifies the install process and avoids human error...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: What MOD is this?
PostPosted: 12/06/2006 11:07 AM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 5:59 PM
Location: Klang, Malaysia
malaysiC.gif
Nightrider wrote:
Yes, EM will apply the MOD code to your phpBB files.  It definitely simplifies the install process and avoids human error...

headbang


I dunno use it.... Embarassed Issit 1st step need to copy the MOD zip file into my FTP ? After it ..click the query and puting the installation COD and click GO? Do you can print screen step by step ? What should i need to do 1st ?

1.1st step
2.?
3.?
4.?
5.?
6.?
.?
.?
?
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: What MOD is this?
PostPosted: 12/06/2006 3:21 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 1:59 PM
Location: St Pete, FL
peace.gif
You would extract the MOD files and folders before uploading the MOD folder to your admin/mods directory.  If you haven't already done so, you really should read the following and it should make things a lot more clear for you.  Since you can use your Test forum to install the MOD, there really shouldn't be anything to fear from trying to learn how to use EM...

Installing MODs with EM FAQ

If you haven't done so, read this section:  Installing MODs with EasyMOD

If you run into any problems during the MOD install, don't hesitate to ask for additional support.  Let me know how it goes..

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

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
All times are GMT - 5 Hours
Goto page: Previous  1, 2
Page 2 of 2


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0774s (PHP: 66% - SQL: 34%) - SQL queries: 51 - GZIP disabled - Debug on