DeaTH_RideR Posted October 17, 2009 Share Posted October 17, 2009 hi guys , i didnt want to post this and show my uber noobness but i put this mod in and i got it work but now i get this error when making a new job any help would be very thankfull. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
thedestroyer Posted October 27, 2009 Share Posted October 27, 2009 problem Hi I added your mod but when i go to create a new job i get this error QUERY ERROR: Column count doesn't match value count at row 1 Query was INSERT INTO jobranks VALUES('', 'test', 15, 1, 1, 1, 1, 1, 1, 1) and when i go to the interview for the new job i get this error QUERY ERROR: 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 'WHERE userid=2' at line 1 Query was UPDATE users SET job=15,jobrank= WHERE userid=2; Can someone please help? Quote Link to comment Share on other sites More sharing options...
thedestroyer Posted December 1, 2009 Share Posted December 1, 2009 can someone pls add a code so each time you go up a level you gain more job points? and you dont have to select an item when creating a sepcial? Quote Link to comment Share on other sites More sharing options...
Curt Posted December 1, 2009 Share Posted December 1, 2009 QUERY ERROR: Column count doesn't match value count at row 1 Query was INSERT INTO jobranks VALUES('', 'test', 15, 1, 1, 1, 1, 1, 1, 1) This is a simple error with a simple solution... its telling you that the amount of values you are inserting does not match up with the amount of fields in the jobranks table.. the insert is showing 10 fields in the jobranks table in your database, verifiy if this is correct :) hope that helps cheers Quote Link to comment Share on other sites More sharing options...
thedestroyer Posted December 2, 2009 Share Posted December 2, 2009 ok i got it so you dont have to add an item but can someone make it so you gain more points when you go up levels? Quote Link to comment Share on other sites More sharing options...
DELETE-ME-NOW- Posted July 17, 2010 Share Posted July 17, 2010 Parse error: syntax error, unexpected T_STRING in ********l/public_html/job.php on line 85 Could someone PLEASE fix this? Or post there job.php with this mod working???? Quote Link to comment Share on other sites More sharing options...
Equinox Posted July 17, 2010 Share Posted July 17, 2010 Post line 85 Quote Link to comment Share on other sites More sharing options...
DELETE-ME-NOW- Posted July 17, 2010 Share Posted July 17, 2010 $js=$db->query("SELECT * FROM jobspecials WHERE jsJOB={$ir['job']} ORDER BY jsID ASC;",$c); Its the code the instructions told me to post Quote Link to comment Share on other sites More sharing options...
Equinox Posted July 17, 2010 Share Posted July 17, 2010 $js=$db->query("SELECT * FROM jobspecials WHERE jsJOB={$ir['job']} ORDER BY jsID ASC",$c); Quote Link to comment Share on other sites More sharing options...
DELETE-ME-NOW- Posted July 17, 2010 Share Posted July 17, 2010 The same error as before... Someone will need to post the whole job.php script WITH this mod installed in the code... Quote Link to comment Share on other sites More sharing options...
Dominion Posted July 17, 2010 Share Posted July 17, 2010 post yours and someone will fix it... Quote Link to comment Share on other sites More sharing options...
DELETE-ME-NOW- Posted July 17, 2010 Share Posted July 17, 2010 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
sniko Posted July 17, 2010 Share Posted July 17, 2010 Line 84 is print "</table> replace with print "</table> "; Quote Link to comment Share on other sites More sharing options...
DELETE-ME-NOW- Posted July 17, 2010 Share Posted July 17, 2010 Parse error: syntax error, unexpected '<' in /home2/mafiakil/public_html/job.php on line 102 :s I think it the place i put the code for this mod... I need someone to post there job.php codes WITH this mod... Quote Link to comment Share on other sites More sharing options...
Dominion Posted July 17, 2010 Share Posted July 17, 2010 untested You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.