Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

Bug when trying to creat a new petition (404 error) --re: issue #48 #88

Open
danigayo opened this issue Nov 22, 2013 · 2 comments
Open

Comments

@danigayo
Copy link

I've downloaded drupal 7.24 and petitions 7.x-2.0-beta19. Everything seemed to worked smoothly during installation and a clone of the Whitehouse Petitions website is available.

However, petitions cannot be created since a 404 error is produced when trying to access "/petitions/create" within the iframe.

I've seen that this very same issue has been reported before (#48). However, the issue appears as closed and this pull request is provided as a solution (#49).

Unfortunately, changing the file wh_petitions.form.inc with the version provided in pull request 49 does not solve the problem but, instead, produces a new one. The whole page is loaded into the iframe and the petition is still not created.

@benbunk
Copy link
Contributor

benbunk commented Nov 23, 2013

Hi @danigayo I wouldn't recommend simply swapping the file from #49 into the current version. I haven't personally tried the latest versions so I can't be sure but I would imagine that file has changed since #49 was originally written. I think copying the changes and reapplying them into the newest version of that file might work better but theres no way to tell until someone tries.

Good luck - let us know if it works for you.

@danigayo
Copy link
Author

Hi @benbunk. First of all, thank you for your advice!

I've just done as you suggested and the result is basically the same as replacing the whole file. That is, the iframe is loaded with the whole front page and an error message appears instead of the petition creation form:

"The requested page "/?q=/petition/create?t=0.54950500%201385384685" could not be found."

Any help with this would be greatly appreciated.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants