Error upon winning!?
SpockST - November 5, 2009 - 21:14
Using File: breakout-6.x-1.4.tar.gz
I have installed the Breakout file indicated above and it plays just fine even for a klutz like me. When the game ends because I have missed all the 'balls' I get the following error message on a white page:
"Not Found
The requested URL /breakout/win was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."
I have already had to add '/cms' to the front of th image paths, so wonder if it might be the fact that the drupal folder is not installed in the root of the site.

It's always better to open
It's always better to open issues about specific modules in the issues page for that module, as the module writer and users are more likely to find the issue there than they are to find it here.
But that being said, I may be able to help you. Try changing this line (line 164):
<?php $content.='<form id=\'breakout_winform\' method=\'POST\' action=\'/breakout/win\' > '; ?>to this:
<?php $content.='<form id=\'breakout_winform\' method=\'POST\' action="' . url(breakout/win) . '" > '; ?>Thank you, I will try that
Thank you, I will try that and report back here.
BTW, I tried to find some place to leave feedback with the developer but couldn't find any place to leave any messages on their website and couldn't find any obvious place in here to leave feedback. If you can direct me in the proper procedure, I would be most appreciative.
[Added]
I must have done something wrong, as I now get the following error message:
"warning: Division by zero in /hermes/bosweb/web246/b2462/ipw.pctalkin/public_html/cms/sites/all/modules/breakout/breakout.module on line 164."
The one I changes didn't look exactly like yours, so I just changed what I thought was the pertinent part:
My line 164 reads:
$content.='<form id=\'breakout_winform\' method=\'POST\' action=\'/breakout/win\' > ';and I changed it to:
$content.='<form id=\'breakout_winform\' method=\'POST\' action="' . url(breakout/win) . '" > ';I have now changed it back. :(
[Added2]
I just tried:
$content.='<form id=\'breakout_winform\' method=\'POST\' action=\'url(/breakout/win)\' > ';It still doesn't work but it appears now it's actually looking for something as I get this error message:
"Page not found
The requested page could not be found."
[Added3]
I just figured out how to add a support request to the Module page, so have reported it there and referenced this topic. I suppose it might be good to leave this open in case anyone needs to add more information here ... ?