Page 1 of 1

top article count function doesn't work

Posted: Sat 15. May 2004, 06:16
by Ulik
Hello.

Every time when I try to set the top article count for any number other than 0 it still returns me 0 when page reloads... So I put in for example 2, push send category data, page reloads and I see 0 again. My conf.template file shows $template_default["top_count"] = 1;

What could be the problem? Please advise. Thanks.

Posted: Sat 15. May 2004, 08:12
by Oliver Georgi
This value is set in structure level editor - check: there is a new field for topcount.

Oliver

Posted: Sat 15. May 2004, 08:31
by Ulik
I tried that also. When I set topcount for the category and push "send" button it returns 0 again and again...

Posted: Sat 15. May 2004, 08:37
by Oliver Georgi
Maybe - you have not updated any neccessary file.

Oliver

Posted: Sat 15. May 2004, 08:44
by Ulik
Any ideas what file? I recently updated to the RC4, I copied all files except config file.

Posted: Sat 15. May 2004, 08:46
by Oliver Georgi
fresh install?

Oliver

Posted: Sat 15. May 2004, 08:52
by Ulik
I updated from RC2 to RC4
Every single file has been overwritten, so basically it was a fresh install :? I only kept conf file but it doesn't seem to cause any problems here...

Posted: Sat 15. May 2004, 08:57
by Ulik
Oh.. I just thought of another thing.. Was the database modified somehow? Are there any new fields for RC4? I think this might be the problem.

Posted: Sat 15. May 2004, 09:04
by Pappnase
hello there was a few new fields!*smile*

did you run the upgrade.php!?

Posted: Sat 15. May 2004, 09:07
by Ulik
lol, never heard of it :shock:
I'll give it a shot now, thanx :twisted:

Posted: Sat 15. May 2004, 09:22
by Ulik
upgrade.php didn't work. I ran all needed sql queries manually and now it seems to be working allright. Thanks again!

Posted: Sat 15. May 2004, 10:13
by pSouper
as you have upgraded from rc2 > rc4 you may need to apply the upgrade.sql for rc3 as well (then rc4 again :) )

I can assure you the this funcion does work (for everyone including you ;)) if phpwcms is installed correctly so fingers cross for you.

Posted: Sat 15. May 2004, 10:16
by Ulik
I've got it up and running already. I just forgot about database for some reason :shock: I compared 2 sql files from RC2 and RC4 and ran all needed queries on my server. Thanks anyway! Waiting for v2 now :twisted: