[Fixed] Voting and login problems with latest build (702)

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 02-14-2007, 04:22 AM
New Pligger
 
Join Date: Feb 2007
Posts: 21
My site is frequently getting Javascript errors when you try to vote. I recently installed build 693 from scratch, but was getting errors so I upgraded to 702. Unfortunately the errors continued. Since my site isn't an upgrade of a pre-beta9 version, I don't think the previous thread about voting errors applies to me.

Sometimes voting works, sometimes it doesn't. This is true both for IE7 and Firefox. I'm not sure what the cause is, but I suspect it has something to do with a login bug. Often I will appear to be logged out even if I don't click on the logout link. My theory is that once you log back in after that Pligg gets confused as to why there are 2 people logged in at once and the voting error occurs. Here's the error I get:

Line: 70
Char: 8
Error: Permission denied
Code: 0

Annoymous voting is turned on, and this error happens when logged in or logged off.

I'm using MySQL 4.1.21-standard, PHP 4.4.2 and Apache 1.3.36 on a shared hosting account. My site is at http://www.avoidinglife.com. Any help would be greatly appreciated, thanks!

Last edited by silversow; 02-14-2007 at 05:14 AM.
Reply With Quote
  #2 (permalink)  
Old 02-14-2007, 04:53 AM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,181
the problem is that your base url doesn't have www.
so when someone looks at your site with www. as a prefix, the browser doesn't allow ajax requests to go through.

So first rename htaccess.default to .htaccess
then set your base_url as www.avoidinglife.com

and it show work fine.
Reply With Quote
  #3 (permalink)  
Old 02-14-2007, 05:13 AM
New Pligger
 
Join Date: Feb 2007
Posts: 21
Ahhhhhh, I see! Never knew that made such a big difference.
I made the change and you're right, everything seems to be fine.
Thanks a bunch!
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Voting only after login... sakalli Questions and Comments 1 08-19-2007 08:12 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development