Notifications
Clear all

News comments don't work

14 Posts
8 Users
0 Reactions
3,737 Views
(@livia)
Posts: 30
Eminent Member
Topic starter
 

URL to your eFiction: http://www.acciofanfiction.com/index.php
Your version of eFiction: 3.2
Latest Patche(s): Yes (also the latest 3.2 fix)
Any mods installed?: the only mod installed is the 'challenges' one
Have you modified your eFiction?: No.
Version of PHP: 4.3.11
Version of MySQL: 4.1.21-standard
Have you searched for your problem: Yes
Other Notes: in 3.1.1 everything worked perfectly.
State the nature of your problem:
No member is able to post a comment to the news. After you click on "submit" the page regenerates, but nothing else; the comment is not added.

Thanks  πŸ™‚


URL to your eFiction: http://www.acciofanfiction.com/index.php
Your version of eFiction: 3.5.1 (Italian language)
Version of PHP: 4.4.8
Version of MySQL: 4.1.22

 
Posted : 01/03/2007 11:28 am
(@jacci)
Posts: 503
Honorable Member
 

I am getting the same with mine as well, whether trying to add comment to news as either admin or member

URL to your eFiction: http://www.pretendercentre/missingtest/index.php
Your version of eFiction: 3.2
Latest Patche(s): Yes (also the latest 3.2 fix)
Any mods installed?: no
Have you modified your eFiction?: No.
Version of PHP: 4.4.3
Version of MySQL: 5.0.27
Have you searched for your problem: Yes
Other Notes: in 3.1.1 everything worked perfectly.


why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/     
php: 5.2.5  msql: 5.0.45-community
efic version: 3.4.3           latest patches: yes
bridges: none              mods: challenges, displayword, beta-search

 
Posted : 01/03/2007 11:35 am
 laiq
(@laiq)
Posts: 19
Active Member
 

also suffering from this problem.

Just want to add - Thanbks to Tammy for all the hard work she does on this script.


 
Posted : 01/03/2007 3:33 pm
(@tammy)
Posts: 2577
Member Moderator
 

It's a bug.  On line 43 of news.php add a ! in front of $cid.


if(!$cid) {

 
Posted : 01/03/2007 4:23 pm
(@jacci)
Posts: 503
Honorable Member
 

thanks tammy, that will let you post a comment now but on the index page, the count comments is still zero, although the comment is there

http://www.pretendercentre.com/missingtest/index.php  count = 0

http://www.pretendercentre.com/missingtest/news.php?action=newsstory&nid=1  count = 2


why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/     
php: 5.2.5  msql: 5.0.45-community
efic version: 3.4.3           latest patches: yes
bridges: none              mods: challenges, displayword, beta-search

 
Posted : 01/03/2007 10:26 pm
(@tammy)
Posts: 2577
Member Moderator
 

Yeah.  I'll have that fixed soon.


 
Posted : 02/03/2007 1:54 am
 Saya
(@saya)
Posts: 30
Eminent Member
 

Have the same problem of the count comments 0, even if there is a comment there. °° Upgraded today to 3.2


URL to your eFiction: http://kawaii-hito.org/fic/index.php and http://www.silverblood.net/MS
Your version of eFiction: 3.5
Latest patch: YES
Mods: only Challenges and translated to Italian
Version of PHP: 4.3.11
Version of MySQL: 4

 
Posted : 10/03/2007 10:28 am
(@awkwardamy)
Posts: 24
Eminent Member
 

Oh, eep, I reported something similar on Tammy's site... I thought it was an issue with the recs module, but it might be this.


 
Posted : 10/03/2007 3:47 pm
(@slacker)
Posts: 30
Eminent Member
 

Sorry to be a bother, Tammy- just wondering how the fix is going? Thanks in advance!


I'm a crazy cat!

 
Posted : 16/03/2007 4:02 pm
(@soundspretty)
Posts: 65
Trusted Member
 

Here's what I'm using on my archive to fix this problem. This can be a temporary fix in case Tammy has something else in mind with the code.

Edit your blocks/news/news.php file

Find:

$newsquery = dbquery("SELECT nid, author, title, story, UNIX_TIMESTAMP(time) as date, comments FROM ".$tableprefix."fanfiction_news ORDER BY time DESC LIMIT $numupdated");

Replace with:

$newsquery = dbquery("SELECT n.*, UNIX_TIMESTAMP(n.time) as date, count(c.cid) as comments FROM ".$tableprefix."fanfiction_news as n LEFT JOIN ".$tableprefix."fanfiction_comments as c ON  n.nid = c.nid GROUP BY n.nid ORDER BY n.time DESC LIMIT $numupdated");

 
Posted : 16/03/2007 9:43 pm
(@jacci)
Posts: 503
Honorable Member
 

3.2.1 taken care of the newscomments yay

thanks tammy


why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/     
php: 5.2.5  msql: 5.0.45-community
efic version: 3.4.3           latest patches: yes
bridges: none              mods: challenges, displayword, beta-search

 
Posted : 17/03/2007 10:38 am
(@slacker)
Posts: 30
Eminent Member
 

Where is 3.2.1?


I'm a crazy cat!

 
Posted : 17/03/2007 10:41 am
(@jacci)
Posts: 503
Honorable Member
 

Just go to the downloads section and download the zip it is called 3.2 sitll.
I just ran it and it fixed the news comments, havent had chance to investigate much else yet, but so far it is great!!!


why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/     
php: 5.2.5  msql: 5.0.45-community
efic version: 3.4.3           latest patches: yes
bridges: none              mods: challenges, displayword, beta-search

 
Posted : 17/03/2007 10:49 am
(@slacker)
Posts: 30
Eminent Member
 

Thanks, will give it a go πŸ™‚


I'm a crazy cat!

 
Posted : 17/03/2007 11:29 am
Share: