Closed (fixed)
Project:
AJAX Comments
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 May 2012 at 12:59 UTC
Updated:
28 Jun 2013 at 13:16 UTC
Jump to comment: Most recent file
Comments
Comment #1
acouch commentedThe PHP devs breaking stuff again: https://bugs.php.net/bug.php?id=54657
Will look at another way to implement this. Thanks for the heads up.
Comment #2
sokrplare commentedSince $_SESSION is global, could it just be not passed as a function argument? Tried that change locally and seemed to work, but had other PHP 5.4 issues with other modules so couldn't do full testing.
Comment #3
acouch commentedIt will likely be a while before I test anything on PHP 5.4 personally, especially since the latest Ubuntu LTS still uses PHP 5.3, so if there is a patch that gets RTBC and doesn't break the functionality on 5.3 I will happily accept.
Alternatively there might be a better way of clearing those entries from the session variable in a cleaner way I'd be happy to include.
Comment #4
meinemitternacht commentedSeveral options here (I am not a Drupal developer):
1. Add a database column with a status code.
2. I haven't looked at the entire module, but depending on what calls the function, make the function argument irrelevant since it accesses the current session anyway.
3. Use the database! (reiterating #1)
Edit: Spelling
Comment #5
jcisio commentedSounds like we don't need that argument at all. This patch fixes it.
Comment #6
acouch commentedJeez, that makes me feel dumb ;)
I committed the above patch.
Comment #8
plexaz commentedHi. I'm brand new to Drupal. How do I run this patch? (Steps)
Thanks you greatly,.
Comment #9
kevla commentedHi Plexaz,
Try out this link http://drupal.org/patch/apply
Comment #10
delta commentedTested #5 works well for me.
Thanks
Comment #11
jci commentedTested the patch #5 ... Solved the issue. Please commit the patch above. Thanks
Comment #12
muschpusch commentedthis got committed a while ago...
Comment #13
kcaporaso commentedFWIW:
Actually, I just pulled the latest ajax_comments from:
http://ftp.drupal.org/files/projects/ajax_comments-7.x-1.0-alpha1.tar.gz
I had to apply the patch again in order to bring the site up.