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