Needs review
Project:
Phorum integration
Version:
4.7.x-1.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Mar 2007 at 19:48 UTC
Updated:
3 Mar 2007 at 20:49 UTC
I have installed Drupal 4.7.6 in the folder
http://localhost/lab/cmsintegration/drupal/
and Phorum 5.1.19 in
http://localhost/lab/cmsintegration/drupal/phorum
and installed the phorum_integrate module (and embed_phorum) according to the instructions in phorum_integrate
module's README. I also had to copy the template files from
E:\xampplite-1.5.4a\htdocs\lab\cmsintegration\drupal\phorum\mods\embed_phorum\templates
to
E:\xampplite-1.5.4a\htdocs\lab\cmsintegration\drupal\phorum\templates
I activated the "Embed Phorum Template 1.0-alpha" in phorums admin pages.
I can now see the phorum embedded in drupal, but the links within the forum (phorum) looks like
http://localhost/?q=discuss/index,0
when they should look like
http://localhost/lab/cmsintegration/dupral/?q=discuss/index,0
That is, everything in the path that comes after the server name, is missing.
I'm running
ApacheFriends XAMPP Lite version 1.5.4a, with:
+ Apache 2.2.3
+ MySQL 5.0.24a
+ PHP 5.1.6 + PEAR (basic package)
on Windows XP.
Comments
Comment #1
saml commentedI fixed this by changing the lines
to
in phorum_connector.php (located in the phorum_integrate drupal module folder).
Also, I forgot to say that I don't have clean url's enabled.
Comment #2
saml commentedSorry for the typo in the new code snippet above.
The new code is of course:
(The extra line was meant to be outside the code snippet, saying that my XAMPP doesn't have support for clean url's).