I can't remember the line # that the fatal error was on, but I remember it was the line that contains the message "Please wait..."
I forgot to copy and paste the error message, and I have not reinstalled the module to replicate the error, because it is on a live site.
Other noteworthy things I can remember about the error, was that it did not happen immediately. It was after the the module had been installed and running already for a while. Safari and Opera were the only browsers that showed the error, and it only showed up when trying to visit the frontpage with those browsers. If I would open the browser and visit "mysite.com/node/4", it would not display the fatal error, and it would function properly. I tried setting up the hide submit module to work on every page except the frontpage, but the error still showed up.
If you need me to replicate the error and gather specific information, please let me know, as this module is EXTREMELY important for my site.
PS, thanks for writing such a great module.
Comments
Comment #1
optalgin commentedI tried to reproduce the error you describe using the opera browser but it doesn't happen on my D5 dev site.
I just want to make sure I understand the problem, you mean javascript error? ; not php error right?
I'll try to run some more tests, but if you can help reproducing and send me
any other useful information it will be a great help..
Anything that can help debug the problem, such screen shots, error messages, logs etc..
Thanks
Comment #2
optalgin commentedI couldn't reproduce, on both opera and safari
Need more info
Comment #3
optalgin commentedI'm closing this one for now, I cannot reproduce and I have no further information
I hope it won't come back in the new release
Comment #4
pribeh commentedSorry for opening but I'm getting this on FF:
Fatal error: Call to undefined function t() in /var/www/.../mysite/sites/all/modules/hide_submit/hide_submit.module on line 24
Comment #5
optalgin commentedThis is a different issue and very strange, t() is a drupal core method
Please try to change line 24 in the hide_submit.module
from
to
What version of PHP do you use?
Comment #6
pribeh commentedOddly I get the following after making the suggested patch:
Fatal error: Call to undefined function drupal_get_path() in /var/www/mysite/sites/all/modules/hide_submit/hide_submit.module on line 26
I'm using php 5 I believe.
Comment #7
optalgin commentedIt appears that for some reason calling to functions within a "define" statement doesn't work for you
I am not sure why but I'm investigating this..
I'll continue discussing on this issue here
#463468: When site caching is enabled I get - Fatal error: Call to undefined function t()
Please subscribe there
Comment #8
optalgin commented