Staff v0.3 Problem.

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Staff v0.3 Problem.
jcb
CZ Active Member
 Codezwiz Site Donator
uk.gif
Occupation: Soldier
Age: 49
Gender: Male
Fav. Sports Team: England
Status: Offline
Joined: Oct 20, 2003
0.02 posts per day
Posts: 135
Points: 7,618
   
Hi guys,

I have been reading the posts on the errors with the staff script. I also get the access denied message when running the Install_MySQL_Staff-v0.3 file along with this:



Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/kelly/public_html/homev2/includes/sql_layer.php on line 286



I read in another post that the solution maybe to use the sql file and isert the code straight into phpmyadmin. So. I did this but now have a different error. This is what i get when I try to run the tables:



#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ') TYPE=MyISAM' at line 8


Any help will be gratefully received. Thanks guys, and keep up the great work !!

Regards

Jon



Back to top Reply with quote
#2   re: Staff v0.3 Problem.
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.71 posts per day
Posts: 5530
Points: 481,695
   
The sql reads

TYPE=MyISAM;

make sure you copied and pasted correctly. There should be no ' after MyISAM



Back to top Reply with quote
#3   re: Staff v0.3 Problem.
jcb
CZ Active Member
 Codezwiz Site Donator
uk.gif
Occupation: Soldier
Age: 49
Gender: Male
Fav. Sports Team: England
Status: Offline
Joined: Oct 20, 2003
0.02 posts per day
Posts: 135
Points: 7,618
   
Thanks for your reply. I have rechecked the copy and paste and placed in exactly what is in the sql file:





CREATE TABLE nuke_staff (
id int(3) NOT NULL default '',
sid int(3) NOT NULL auto_increment,
name varchar(255) NOT NULL default '',
des mediumtext NOT NULL,
rank varchar(255) NOT NULL,
alias varchar(255) NOT NULL default '',
photo varchar(255) NOT NULL default '',
PRIMARY KEY (sid),
UNIQUE KEY sid (sid)
) TYPE=MyISAM;

CREATE TABLE nuke_staff_config (
latest int(3) NOT NULL default '',
img_url mediumtext NOT NULL,
staff_join_page mediumtext NOT NULL,
ranks int(3) NOT NULL default '',
index_bl int(3) NOT NULL default '',
copyright_txt mediumtext NOT NULL,
) TYPE=MyISAM;

INSERT INTO nuke_staff_config (
latest,
img_url,
staff_join_page,
ranks,
index_bl,
copyright_txt)
VALUES (
'1',
'images/staff/',
'',
'1',
'1',
'[color="#999999" size="1"]Staff v0.3 by [url="http://www.caffeine-junkies.com"]Caffeine Junkies[/url]. © 2004[/colour]');

CREATE TABLE nuke_staff_cat (
id int(3) NOT NULL auto_increment,
name varchar(255) NOT NULL default '',
PRIMARY KEY (id),
UNIQUE KEY id (id)
) TYPE=MyISAM;



But im still getting the same error. Any ideas?

Thanks for your help.

Regards

Jon



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