CodeIgniter Forums
Webpage has expired - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Webpage has expired (/thread-20330.html)



Webpage has expired - El Forum - 07-06-2009

[eluser]AjTimme[/eluser]
I have a problem with a form in my website. It's just a simple form with checkboxes and when submit, it goes to a page called "detail" and there it catches the values and does some calculations on it with javascript. This all works perfectly in safari, firefox, IE6 but NOT in IE7 :-(

I always get an error "Webpage has expired". Anyone has any idea how i can solve this? It's really annoying :-(

Thanks in advance!


Webpage has expired - El Forum - 07-06-2009

[eluser]Evil Wizard[/eluser]
Could it be possible that some of your client side scripting is not compatible with IE7? can you not do the calculations on the server and let the browser handle the display?


Webpage has expired - El Forum - 07-06-2009

[eluser]AjTimme[/eluser]
So it would be better to calculate everything in php and than just echo to the screen? You think that is my problem?
Thanks for your answer by the way!

By the way: the url of my calculator is:
http://www.persgroepinternational.be/index.php/media/calculator

It works perfectly in Safari, Firefox and IE 6...


Webpage has expired - El Forum - 07-06-2009

[eluser]Evil Wizard[/eluser]
It is quite possible, however, are you sending any php headers?


Webpage has expired - El Forum - 07-06-2009

[eluser]AjTimme[/eluser]
No i'm not sending any headers (i think :-))

Did you see the page?


Webpage has expired - El Forum - 07-06-2009

[eluser]Evil Wizard[/eluser]
I had a look at the page, it doesn't seem to be sending any other headers and I looked at the javascript, I think I remember an issue with IE and getElementById, I mean prototype is not bad, but scriptaculous, I would recommend looking into jQuery


Webpage has expired - El Forum - 07-06-2009

[eluser]AjTimme[/eluser]
Maybe i can try deleting the redirections to prototype and so on and check if the calculator works than...
Thanks for your help man!


Webpage has expired - El Forum - 07-06-2009

[eluser]AjTimme[/eluser]
SUPER! It works now!!
Thanks a lot man! Now i can check on which page i am and when i'm on the page "calculator" it shouldn't load the javascript files because they're not necessary on that page.

You're the best!