On Mon, 2003-11-24 at 08:48, Shane wrote:
> On Nov 23, 2003, at 10:54 PM, Harold Martin wrote:
> > On Sun, 2003-11-23 at 17:59, Shane wrote:
> >> On Nov 22, 2003, at 12:00 AM, Harold Martin wrote:
> >>> Hello,
> >>> After I created a new poll, the old poll wasn't displayed, but
> >>> neither
> >>> was the new poll.
> >>> The poll block has these properties:
> >>> Block ID: poll
> >>> Type: portald
> >>> Section: index
> >>> Ordernum: 3
> >>> Portal: Checked
> >>> What gives?
> >> Again, you don't give any information. People on this list aren't
> >> psychic, atleast that I know of. You need to supply information
> >> everytime you post: verion of slash/apache/mysql, version of the perl
> >> script that does the poll stuff, version of index.pl you're using. Did
> >> you go into the admin editor and view the poll block to see how it was
> >> setup? Did you read through the current bug-list on slash's
> >> soureceforge to see if any of them relate to the poll system.... etc
> >> etc...
> > Apologies, I didn't realize that was standard procedure.
> > But treating me to days of silence won't suddenly make me realize I
> > should've included that info.
> > Linux kernel: 2.6.0-test9
> > Linux distro: Gentoo (RedHat like)
> > Slash: 2.2.6
> > MySQL: Ver 12.22 Distrib 4.0.16
> > Perl: 5.8.2
> > Apache: 1.3.29
> > mod_perl: 1.27-r4
> > index.pl: 22.214.171.124 2001/08/20 13:37:52
> > pollBooth.pl: 126.96.36.199 2001/10/17 19:08:35
> > None of the added polls are showing up under /pollBooth.pl
> > I think I may have figured out the cause of this issue.
> > I dumped the database to another HD, moved the original DB, then
> > symlinked the DB directory to the path that I dumped to.
> > (All per MySQL documentation, manual section 188.8.131.52).
> > Since then, no database changes appear to be taking place (ie new
> > stories), though SELECTs seem to be doin fine.
> > I have ensured that permissions of the symlink and it's directories are
> > equal to all of the old database's.
> > I rm's the symlink, created a dir, and used mount --bind, but that
> > didn't work either.
> > I will ask about this on the MySQL list, as I realize that's probably
> > the most appropriate place to go now.
> > Thanks,
> > Harold
> check your current_qid variable in slash (admin.pl, vars).
> that variable decides which poll shows up on the frontpage, I believe.
> (the name
> may not be exactly correct as I'm typing it, but I'm 100% sure 'qid' is
> in the var's name)
> See what that has in it...
currentqid = 0
Manually setting it to the qid of a valid poll (ie 1) makes the poll
appear on the main page.
Obviously something is foobared though, since trying to create a new
poll with the Poll item in the admin menu does not insert the poll info
into the DB and resets currentqid to 0