Bug Report

forum previews not working when run through regular templates

Date: 03/15/2010 Show-stopper?:
Status: Unidentified Reporter: jkneeshaw
Reported in Version: Forum 2.1.0 Assigned To: Derek Jones
Keywords: Modules, Forum,
Support Thread:

Details

Forum previews are currently not working when the forum module is embedded into a regular template.

EE 1.6.8 with the Discussion module 2.1.2 (Latest builds)

relevant support thread: http://expressionengine.com/forums/viewthread/148576/#725479

Comment on Bug Report

Page 1 of 1 pages
Posted by: jkneeshaw on 13 April 2010 3:53pm
jkneeshaw's avatar

any progress here?

Posted by: Derek Jones on 10 August 2010 9:22pm
Derek Jones's avatar

Hey sorry for the extreme delay jkneeshaw, this slipped through the cracks.  Working on it right now.

Posted by: Derek Jones on 11 August 2010 10:31am
Derek Jones's avatar

Jacob, I cannot reproduce the issue.  Are you using any .htaccess or other means to remove segments from your URL?  I have a forum running through my templates on my site’s default index template, and previews are working.

Posted by: jkneeshaw on 11 August 2010 1:19pm
jkneeshaw's avatar

Hi Derek, I have .htaccess removing index.php from my URLS. I think it strips out the /forum/ on crapsforum.com too. Here is the contents of those files:

Crapsforum.com .htaccess (non-working previews)

AddHandler application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
AddType application
/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
RewriteEngine on

RewriteCond 
%{HTTP_HOST} ^crapsforum\.com [NC]
RewriteRule 
(.*) http://www.crapsforum.com/$1 [L,R=301]

RewriteCond $^(site|wiki|P[0-9]{2,8}[NC]

RewriteRule 
^(.*)$ /index.php/$1 [L]

RewriteCond 
$!^(casinocodes|images|kenoforum|old_images|paigowforums|rouletteforum|slotsforum|smartergamblers|system|themes|twentyoneforum|videopokerforum|admin\.php|test\.php|favicon\.ico|robots\.txt|index\.php|path\.php|site|casinocodes|cgi-bin|error_log[NC]

RewriteRule 
^(.*)$ /index.php/forums/$1 [L] 



#############################################################



SmarterGamblers.com .htaccess (working previews on smartergamblers.com/forum)

RewriteEngine on

RewriteCond 
%{HTTP_HOST} ^smartergamblers\.com [NC]
RewriteRule 
(.*) http://www.smartergamblers.com/$1 [L,R=301]

RewriteCond $!\.(gif|jpe?g|png)$ [NC]
RewriteCond 
%{REQUEST_FILENAME} !-f
RewriteCond 
%{REQUEST_FILENAME} !-d
RewriteRule 
^(.*)$ index.php/$1 [L] 

RewriteCond 
$!^(images|admin\.php|test\.php|favicon\.ico|robots\.txt|index\.php|path\.php|site[NC]
RewriteRule 
^(.*)$ /index.php/forums/$1 [L] 
Posted by: Derek Jones on 14 August 2010 9:46pm
Derek Jones's avatar

Jacob, it appears that something else may be wrong.  I am sending you an email with additional information.

Posted by: Derek Jones on 14 August 2010 11:48pm
Derek Jones's avatar

Jacob, I can confirm on your installation that you’re getting a blank screen, but the behavior does not occur on an installation of the current version.  You have many sites so I understand the need to carefully consider when to perform an update, but you are on a version that is over a year old, so I’m afraid we will not be able to continue to troubleshoot your installation until after you are able to update.

I’ll mark this bug as suspended and if after updating you still experience the issue, we can re-open the bug report, but there’s not obvious code defect that I can find, and no one on staff can reproduce.

Name:

Email:

Location:

URL:

Remember my personal information

Notify me of follow-up comments?