Log in with username/password: lyceum/lyceum

Ticket #393 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

problem with comments on a subdomain-based installation

Reported by: marco@teknusi.org Assigned to: jjb
Priority: highest Milestone: 0.31
Keywords: Cc: ashley@bicycle.com

Description

Trying to post comments on a lyceum 0.30 installation w/subdomains setup always return a "token timed out" response. Have not tried it w/o a subdomain setup.

Change History

05/04/06 22:26:53 changed by jjb

  • priority changed from high to normal.
  • milestone set to 0.31.

05/05/06 00:15:53 changed by jjb

  • priority changed from normal to low.

marco have you tried this:

http://lyceum.ibiblio.org/19

(i think there are still some remaining subdomain commenting glitches, but i wanted to first make sure you had modified the theme)

05/05/06 01:53:51 changed by marco@teknusi.org

john i tried that on additional themes installed but comments still don't work. Same thing for other themes shipped with lyceum, where this modification is not needed as far as i can see

05/07/06 01:12:46 changed by ashley@bicycle.com

I've tried other themes -- the newly modified K2 for one, others modified with the code on http://lyceum.ibiblio.org/19, and none of them work properly. The K2 theme returns a blank page, the default theme returns a page saying the aforementioned token problem.

Oddly, they both do post the comments to the blog.

Other modified themes fail completely (for subdomains).

--Ashley

05/09/06 20:38:36 changed by jjb

  • cc set to ashley@bicycle.com.
  • priority changed from low to highest.

05/10/06 03:39:33 changed by marco@teknusi.org

Just an update: at the moment (nightly build downloaded on May 7th) comments on my sub-domain installation are still not working per default. I "enabled" them with this dirty hack: commented out the validateToken call i found at the beginning of wp-comments-post.php. I had a look at the validateToken function and to tokenIsValid() and this test

if (!array_key_exists($token, $_SESSIONformtokens?[$key]))

return false;

always return false.

Hope this helps.

05/10/06 16:48:52 changed by jjb

okay, trying this now. it looks like with subdomains, comments don't work even for the default theme. have you guys experienced this?

05/10/06 18:58:48 changed by jjb

  • status changed from new to closed.
  • resolution set to fixed.

got it! thanks guys for all your info.

changeset:707

http://lyceum.ibiblio.org/19 will be updated soon...

05/11/06 02:53:23 changed by ashley@bicycle.com

Thanks for the fast fix! :-)

BTW, this trac system is nice, makes oldschool diffs, even. Too cool...

Log in with username/password: lyceum/lyceum