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, 42 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 - FAQ categories not displaying - admin or module [ ]
 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
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Tue May 13, 2003 4:38 pm Reply with quoteBack to top

Open /admin/modules/adminfaq.php
and /modules/FAQ/index.php

change all instances of _faqCategories to _faqcategories , and all instances of _faqAnswer to _faqanswer in the SQL statements (they're case sensitive)

AI
Find all posts by ArtificialIntelView user's profileSend private message
ZuRrOn
Sergeant
Sergeant


Joined: Dec 10, 2003
Posts: 92


PostPosted: Mon Dec 22, 2003 9:45 pm Reply with quoteBack to top

ahhh thank you!!! i was looking for this everywhere... if anyone is having the same problem i can assure this will fix it!
Find all posts by ZuRrOnView user's profileSend private message
supergrover
Nuke Cadet
Nuke Cadet


Joined: Jan 11, 2004
Posts: 6

Location: Holland

PostPosted: Sun Jan 11, 2004 11:07 am Reply with quoteBack to top

Thanx alot guys, this was wat i was looking for. Works great now Smile
Find all posts by supergroverView user's profileSend private message
djmaze
Captain
Captain


Joined: Nov 29, 2003
Posts: 566

Location: Netherlands

PostPosted: Sun Jan 11, 2004 6:02 pm Reply with quoteBack to top

Be aware that somehow the Nuke7 sql is wrong.
I've checked all my nuke sql's and they all use faqAnswer.

To get rid of problem is just dropped faqanswer and faqcategories tables and created the case sensitive ones

_________________
Famous people never give their signature Rolling Eyes
http://www.cpgnuke.com <- back online thanks to dedicatednow.com
Don't ask me to be admin on your site please Exclamation
Find all posts by djmazeView user's profileSend private messageVisit poster's website
Agent001Fox
Nuke Soldier
Nuke Soldier


Joined: Dec 11, 2003
Posts: 15


PostPosted: Wed Jan 14, 2004 3:55 am Reply with quoteBack to top

djmaze wrote:
Be aware that somehow the Nuke7 sql is wrong.
I've checked all my nuke sql's and they all use faqAnswer.

To get rid of problem is just dropped faqanswer and faqcategories tables and created the case sensitive ones

Please... how is this done in PhpMyAdmin?
Can you make a little step by step for newbies?
Find all posts by Agent001FoxView user's profileSend private messageSend e-mailVisit poster's website
djmaze
Captain
Captain


Joined: Nov 29, 2003
Posts: 566

Location: Netherlands

PostPosted: Wed Jan 14, 2004 3:03 pm Reply with quoteBack to top

Code:
DROP TABLE IF EXISTS faqanswer;
DROP TABLE IF EXISTS faqcategories;

CREATE TABLE nuke_faqAnswer (
  id tinyint(4) NOT NULL auto_increment,
  id_cat tinyint(4) NOT NULL default '0',
  question varchar(255) default '',
  answer text,
  PRIMARY KEY  (id),
  KEY id (id),
  KEY id_cat (id_cat)
) TYPE=MyISAM;

CREATE TABLE nuke_faqCategories (
  id_cat tinyint(3) NOT NULL auto_increment,
  categories varchar(255) default NULL,
  flanguage varchar(30) NOT NULL default '',
  PRIMARY KEY  (id_cat),
  KEY id_cat (id_cat)
) TYPE=MyISAM;

_________________
Famous people never give their signature Rolling Eyes
http://www.cpgnuke.com <- back online thanks to dedicatednow.com
Don't ask me to be admin on your site please Exclamation
Find all posts by djmazeView user's profileSend private messageVisit poster's website
Agent001Fox
Nuke Soldier
Nuke Soldier


Joined: Dec 11, 2003
Posts: 15


PostPosted: Wed Jan 14, 2004 11:12 pm Reply with quoteBack to top

I got help from Raven. Check this out:
Raven wrote:
...just run this query in the SQL window
Code:
ALTER TABLE `nuke_faqanswer` RENAME `nuke_faqAnswer`

and
Code:
ALTER TABLE `nuke_faqcategories` RENAME `nuke_faqCategories`

It worked great!


Last edited by Agent001Fox on Fri Jan 16, 2004 12:19 am; edited 1 time in total
Find all posts by Agent001FoxView user's profileSend private messageSend e-mailVisit poster's website
ryndog
Corporal
Corporal


Joined: Apr 29, 2003
Posts: 58

Location: USA

PostPosted: Thu Jan 15, 2004 6:49 pm Reply with quoteBack to top

Agent001Fox wrote:
I got help from Raven. Check this out:
Raven wrote:
...just run this query in the SQL window
Code:
ALTER TABLE `nuke_faqanswer` RENAME `nuke_faqAnswer`

and
Code:
ALTER TABLE `nuke_categories` RENAME `nuke_faqCategories`

It worked great!



This did work for me too, however, I must point out your SQL query is a little off... you forgot the 'faq' before nuke_catagories on the second query. It should be this:

Quote:
ALTER TABLE `nuke_faqanswer` RENAME `nuke_faqAnswer`


And then:

Quote:
ALTER TABLE `nuke_faqcategories` RENAME `nuke_faqCategories'

_________________
[HOOD]-RynDog
www.clanhood.com

Image
Find all posts by ryndogView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
Agent001Fox
Nuke Soldier
Nuke Soldier


Joined: Dec 11, 2003
Posts: 15


PostPosted: Fri Jan 16, 2004 12:19 am Reply with quoteBack to top

Sorry... changed it now... Very Happy
Find all posts by Agent001FoxView user's profileSend private messageSend e-mailVisit poster's website
bigtree
Sergeant
Sergeant


Joined: Feb 04, 2004
Posts: 100


PostPosted: Thu Feb 05, 2004 5:53 pm Reply with quoteBack to top

Yikes, I did something in phpMyAdmin. I had is all going and then did something twice and now I'm getting this:

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /usr/local/phpMyAdmin/lib.inc.php on line 507

Please help.
Find all posts by bigtreeView user's profileSend private message
bigtree
Sergeant
Sergeant


Joined: Feb 04, 2004
Posts: 100


PostPosted: Thu Feb 05, 2004 5:59 pm Reply with quoteBack to top

SQL-query:

SELECT * FROM nuke_faqCategories'

MySQL said: You have an error in your SQL syntax near ''' at line 1
Find all posts by bigtreeView user's profileSend private message
bigtree
Sergeant
Sergeant


Joined: Feb 04, 2004
Posts: 100


PostPosted: Thu Feb 05, 2004 9:33 pm Reply with quoteBack to top

I believe I (hopefully) found what happened but am still unsure how to fix this. There was a ' in: ALTER TABLE `nuke_faqcategories` RENAME `nuke_faqCategories'

shouldn't it be with a `

ALTER TABLE `nuke_faqcategories` RENAME `nuke_faqCategories`


I don't know how to fix this. If anyone could help me I would really appreciate it!
Find all posts by bigtreeView user's profileSend private message
ZuRrOn
Sergeant
Sergeant


Joined: Dec 10, 2003
Posts: 92


PostPosted: Fri Feb 06, 2004 12:34 am Reply with quoteBack to top

i honestly cant see the difference between the 2.... i am going to an optomistrist now.. lol
Find all posts by ZuRrOnView user's profileSend private message
bigtree
Sergeant
Sergeant


Joined: Feb 04, 2004
Posts: 100


PostPosted: Fri Feb 06, 2004 12:42 am Reply with quoteBack to top

Hi, got some help... all works well now. Nuke... what a great program! Thanks for doing you hard work.

Cheers!
Find all posts by bigtreeView user's profileSend private message
ltcmdropie
Corporal
Corporal


Joined: Jan 27, 2004
Posts: 54


PostPosted: Thu Feb 12, 2004 10:09 pm Reply with quoteBack to top

Hello,

I did this and still get nothing on the admin screen just a plain white screen.

Checked mysql and index and adminfaq all use lower case letter

what to do now
Find all posts by ltcmdropieView 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.247 Seconds - 221 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::