Closed (fixed)
Project:
Guestbook
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
10 Nov 2005 at 17:27 UTC
Updated:
15 Feb 2006 at 20:31 UTC
Running Guestbook 1.1.6.3 from a Drupal installation not running from root directory, the module does not respect the $base_url set in the site's settings.php file.
In my case, site runs from http://sitename.com/drupal
As a result, line 173 which contains:
url("/guestbook/$uid") . "\">";
Causes a page not found when the form is submitted. (The form returns to http://sitename.com/guestbook/$uid which is nonexistant.
Fixed in my install by changing line to:
url("guestbook/$uid") . "\">";
Is this the proper fix?
Comments
Comment #1
agentrickardMy gut also says that this will prevent Guestbook from working properly under a multi-site install. Can anyone verify?
Comment #2
hba commentedCleanup is being commited to CVS (for 4.6.0) right now.
Comment #3
hba commentedComment #4
(not verified) commented