top article count function doesn't work

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Ulik
Posts: 12
Joined: Tue 2. Mar 2004, 20:32

top article count function doesn't work

Post 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.
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

This value is set in structure level editor - check: there is a new field for topcount.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Ulik
Posts: 12
Joined: Tue 2. Mar 2004, 20:32

Post by Ulik »

I tried that also. When I set topcount for the category and push "send" button it returns 0 again and again...
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Maybe - you have not updated any neccessary file.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Ulik
Posts: 12
Joined: Tue 2. Mar 2004, 20:32

Post by Ulik »

Any ideas what file? I recently updated to the RC4, I copied all files except config file.
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

fresh install?

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Ulik
Posts: 12
Joined: Tue 2. Mar 2004, 20:32

Post 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...
Ulik
Posts: 12
Joined: Tue 2. Mar 2004, 20:32

Post 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.
Pappnase

Post by Pappnase »

hello there was a few new fields!*smile*

did you run the upgrade.php!?
Ulik
Posts: 12
Joined: Tue 2. Mar 2004, 20:32

Post by Ulik »

lol, never heard of it :shock:
I'll give it a shot now, thanx :twisted:
Ulik
Posts: 12
Joined: Tue 2. Mar 2004, 20:32

Post by Ulik »

upgrade.php didn't work. I ran all needed sql queries manually and now it seems to be working allright. Thanks again!
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post 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.
Ulik
Posts: 12
Joined: Tue 2. Mar 2004, 20:32

Post 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:
Post Reply