Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - umiya

#1
Help / Bugs / some errors
October 23, 2004, 11:36:05 AM
 are giving off this error

Warning: eregi(): REG_EMPTY in /home/jeremy/public_html/beta/whelp.php on line 27

when i go to the help in the game....

what does it mean:|

also when i go to lottery i get division by zero error

Warning: Division by zero in /home/jeremy/public_html/beta/lottery.php on line 82
#2
Help / Bugs / sql install
September 24, 2004, 08:05:12 AM
 
Quote from: nevadacowhttp://www.redwallwarlords.com/forums/index.php?a...t=ST&f=7&t=5121

Yes, I already found it. *digs out setup script*

$insert["servers"] = "INSERT INTO `servers` VALUES ('$config[server]', '$config[servname]', 0, 0, 0, 0, '$config[sitedir]', 'No Turns Yet!');";

Copypaste that over the insert function for the servers table. That ought to work, assumeing you set the $config[sitedir] variable up correctly. The problem is Retto forgot to put the ULR of the server into the insert function.
that stilll isnt right, i used what ashaman said then mauly added the site url and it turned out good for me....but now im getting errors trying to login :S

ok i got the login fixed but how do i take it out of lite view.....once ur logged in its in lite mode and i cant figure out how to turn it off :|
#3
Help / Bugs / sql install
September 23, 2004, 08:56:43 PM
 CREATE TABLE `servers` (
 `name` varchar(50) NOT NULL default '',
 `title` varchar(200) NOT NULL default '',
 `players` int(11) NOT NULL default '0',
 `turns` int(11) NOT NULL default '0',
 `reset` tinyint(3) unsigned NOT NULL default '0',
 `hidden` tinyint(1) unsigned NOT NULL default '0',
 `url` varchar(200) NOT NULL default '',
 `news` text NOT NULL
) TYPE=MyISAM;

use this to base ur mysql query for i cant figure it out...i have no experience with mysql quiers so i really dont know how it should look
#4
Help / Bugs / sql install
September 23, 2004, 02:57:18 PM
 only if i knew how
#5
Help / Bugs / sql install
September 23, 2004, 10:23:32 AM
 this is the only one i had the problem with everything else i got jsut fine :)
#6
Help / Bugs / sql install
September 22, 2004, 08:31:13 PM
 when doing the sql isntall and on this step

INSERT INTO `servers` VALUES ('prom', 'Promisance', 0, 0, 0, 0, 'No Turns Yet!');

mysql puts out the following

MySQL said:
#1136 - Column count doesn't match value count at row 1


any fix for it?