Closed (works as designed)
Project:
Tetris
Version:
6.x-1.6
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jul 2009 at 04:34 UTC
Updated:
16 Dec 2010 at 05:04 UTC
Thanks for this module.
There seems to be an issue finding the win page.
I get a page not found error.
This is page not found:
/drupal/node/tetris/win
Looks like a small configuration issue, but I dont know what to try.
Any assistance would be appreciated.
Rob
Comments
Comment #1
aaronmchaleHi, I get the same problem, the url is actually /tetris/win, however the page is blank for me.
Comment #2
Diecilab commentedHi, I fixed this problem changing the line 159 to this:
$content.="<form id='tetris_winform' method='POST' action='" . url('tetris/win') . "' >Comment #3
aaronmchaleThat works to a degree, if you play from the /tetris/win page you are redirected to /tetris/tetris/win, and so on: /tetris/tetris/tetris/win, as far as I know this is the only problem with your code.
Comment #4
aaronmchaleComment #5
Weka commentedDoes anyone know of a solution to this?
Comment #6
aaronmchaleIf anything the creator should!
Aaron
Comment #7
Weka commentedI got this working just fine now. My problem was caused by using a deeper path alias. Leaving the path to the game as /tetris the win page is working correctly. Everything else is working just fine.
Comment #8
cwk1 commentedPut game on a page directly after your website address. I.E.
yoursite.com/tetris
Don't put it at any deeper address or it won't show the "win" page.
Now all should work well.