Go Back   Pligg CMS Forum > Pligg Development > Bug Report

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-12-2007, 04:28 AM
Casual Pligger
 
Join Date: Dec 2006
Posts: 63
Thanks: 2
Thanked 3 Times in 3 Posts
[Fixed] Beta 9 Build 702-- Voting Problem

My problems occur after I upgraded from 8.20 to Beta 9.702

i) Voting for story fails without error messages

ii) Voting for comments fail with the following message

Not Found

The requested URL http:// was not found on this server.
1 | Thank you for rating this comment.



Appreciate the solutions.
Reply With Quote
  #2 (permalink)  
Old 02-12-2007, 05:41 AM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,218
Thanks: 64
Thanked 207 Times in 148 Posts
please could you provide3 more information

like

php version
mysql version
URL to your website
Any settings you have changed
Contents of settings.php
__________________
Anatomy of the Pligg template Help needed
Reply With Quote
  #3 (permalink)  
Old 02-12-2007, 06:07 AM
Casual Pligger
 
Join Date: Dec 2006
Posts: 63
Thanks: 2
Thanked 3 Times in 3 Posts
Hi Savant,

Appreciate your reply very much.

i) php version 4.3.11

ii) sql version 4.1.14

iii) I have not changed any settings pertaining to configurations

iv) Contents of settings.php
$my_base_url = 'http://www.mallr.com';
$my_pligg_base = '';
$dblang = 'en';
define('table_prefix', '');
include_once mnminclude.'settings_from_db.php';

v) Link to site, http://www.mallr.com/shakeit.php
Do not enter via the main url as I have replaced the index file. I have tested with the actual pligg index file but it didn't fix the problem, nor did the use of other templates helped

I used to run pligg 8.20 and it was perfectly ok, both voting for stories and comments.


Thanks in advance
Reply With Quote
  #4 (permalink)  
Old 02-12-2007, 06:40 AM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,218
Thanks: 64
Thanked 207 Times in 148 Posts
Add this near the top of htaccess

Quote:
<files *.js.gz>
AddType "text/javascript" .gz
AddEncoding gzip .gz
</files>
ctrl + f5 to refresh
__________________
Anatomy of the Pligg template Help needed
Reply With Quote
  #5 (permalink)  
Old 02-12-2007, 06:43 AM
Casual Pligger
 
Join Date: Dec 2006
Posts: 63
Thanks: 2
Thanked 3 Times in 3 Posts
Savant,

I'm on a shared host and am unable to access the .htaccess file. Is there any way else that we can get around this? Like disabling the new GZIP method?

I have problems with the AJAX configurations on the admin panel and I read that it was because of the new gzip method.
Reply With Quote
  #6 (permalink)  
Old 02-12-2007, 07:03 AM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,218
Thanks: 64
Thanked 207 Times in 148 Posts
hi you need to change the .htaccess file not the httpd.conf

the .htaccess file is in the pligg folder.
If you haven't used it before it's probably called htaccess.default

just rename that file to .htaccess and add the the lines i posted.
__________________
Anatomy of the Pligg template Help needed
Reply With Quote
  #7 (permalink)  
Old 02-12-2007, 07:07 AM
Casual Pligger
 
Join Date: Dec 2006
Posts: 63
Thanks: 2
Thanked 3 Times in 3 Posts
Savant,

I'm unable to upload a .htaccess file because of the restrictions imposed upon me by my web host... Is that the end of my pligg site?
Reply With Quote
  #8 (permalink)  
Old 02-12-2007, 07:37 AM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,218
Thanks: 64
Thanked 207 Times in 148 Posts
damn that webhost.

\modules\scriptaculous\scriptaculous_init.php

rename js/prototype.js.gz to js/prototype.js

and the others
__________________
Anatomy of the Pligg template Help needed
Reply With Quote
  #9 (permalink)  
Old 02-12-2007, 07:40 AM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
Open modules/scriptaculous/scriptaculous_init.php and you'll see the calls to .js.gz files. Change all of those to .js.

Open pligg.tpl of your template and do the same for all the .js.gz.


EDIT: Savant beat me
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
  #10 (permalink)  
Old 02-12-2007, 07:58 AM
Casual Pligger
 
Join Date: Dec 2006
Posts: 63
Thanks: 2
Thanked 3 Times in 3 Posts
Ok guys, i appreciate it a lot but i still couldn't get Voting to work

There still seem to be a problem after making those changes abovementioned. Is there anything that we might have missed out?

Current changes made:
i) scriptaculous_init.php
ii) pligg.tpl of mollio-beat

I get an error message when I try to load up the Tell A Friend feature on Firefox, while on IE... the AJAX form simply doesn't show up.
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
[Fixed] Install problems with Latest Nightly beta 9 build 693 nelsonm Bug Report 4 04-11-2007 01:05 PM
[Fixed] Beta 9.0 Build 728 - URLMethod2 Breadcrumb Permalinks 404 errors Simpatico Bug Report 1 02-18-2007 11:50 AM
[Fixed] Getting lots of Javascript errors ( beta 9 build 702) glj Bug Report 3 02-14-2007 02:26 PM
[Fixed] Voting and login problems with latest build (702) silversow Bug Report 2 02-14-2007 04:13 AM
[Fixed] Beta 9 build 702 - DigitalNature Template left-panel problem Exertrack Bug Report 17 02-12-2007 02:46 PM


Search Engine Friendly URLs by vBSEO 3.2.0