phpBB Digests

Broken Digest (Server settings) - phpBB Digests

Broken Digest (Server settings)

Postby sbloomer » Mon Jun 20, 2011 10:12 am

Why would changing Force Server URL settings from Yes to No break my Digest, leaving out script path to my forum?

Instead of links being of the form

Code: Select all
www.mysite,com/forum/viewtopic.php


they are

Code: Select all
www.mysite.com/viewtopic.php


I though the script path was responsible for this, not force server URL.
sbloomer
Registered User
 
Posts: 64
Joined: Fri Jun 12, 2009 8:18 pm

Re: Broken Digest (Server settings)

Postby MarkDHamill » Mon Jun 20, 2011 12:24 pm

Not sure what you mean by "Force Server URL Settings"? If you changed the path to your forum in the Administration Control Panel then this change will also be made to the URLs in the digest as well. The digest software calls a phpBB routine responsible for assembling the correct board URL.
Get the latest versions of my Digests and Smartfeed mods.
MarkDHamill
Registered User
 
Posts: 2117
Joined: Fri Aug 02, 2002 12:36 am
Location: Oak Hill, Virginia USA

Re: Broken Digest (Server settings)

Postby sbloomer » Mon Jun 20, 2011 1:40 pm

As per the attached screenshot my script path is set correctly, and as per the configuration shown Force Server URL is set to Yes.

Capture.JPG


This configuration works fine, but I was advised that the Force Server URL should be set to no, which is what I did, but it broke the Digests, dropping the /forum from the URL. In my mind it should make no difference but it did (Digests was the only thing that broke, BTW)

It is working again but it took me forever to work out what it was that did the damage.
sbloomer
Registered User
 
Posts: 64
Joined: Fri Jun 12, 2009 8:18 pm

Re: Broken Digest (Server settings)

Postby MarkDHamill » Mon Jun 20, 2011 3:14 pm

Thanks. When I have time I need to check this force setting and see if I can write around it. I was given guidance to use the phpBB routine I was using. I thought it would handle this case. Maybe not.
Get the latest versions of my Digests and Smartfeed mods.
MarkDHamill
Registered User
 
Posts: 2117
Joined: Fri Aug 02, 2002 12:36 am
Location: Oak Hill, Virginia USA

Re: Broken Digest (Server settings)

Postby thetobster » Mon Dec 05, 2011 4:40 pm

This was very helpful, my install was also dropping the /forum thus sending out invalid links.
thetobster
Registered User
 
Posts: 12
Joined: Mon Apr 19, 2010 2:13 am