cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Go to solution
Highlighted

php pages have just stopped working in last fortnight

My website www.wlgf.org uses php on two pages /contact_us.php and /join_the_forum.php, and have worked just fine for 2 years. Within the last fewweeks (on or before 6th January) the php on these pages inexplicably fails to first validate then send emails or take to confirmatory pages. The action buttons flick, but that is all.  I have done nothing to the site that should have affected these pages.  I'm with GoDaddy and they haven't been able to help. Help!! (please)

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Super User III
Super User III
Solution

Re: php pages have just stopped working in last fortnight

@Stephenmhead 

 

In looking at the contact form - there is a JavaScript error in that the function doesn't exist....

This is from the Chrome Console

contact_us.php:3482 Uncaught ReferenceError: ValidateForm1 is not defined
    at appendform1message (contact_us.php:3482)
    at HTMLInputElement.onclick (contact_us.php:3495)

 



I am a GoDaddy End User - Just Like You
Check out my site! | I currently manage over 300 WordPress Websites
* Please note that I offer free advice on this forum. Thank You Info If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

Once your issue is resolved,
please be sure to come back and click accept for the solution

Get Better Support on the Community Boards!
Etiquette When Asking for Help from the Community

View solution in original post

Highlighted
Super User III
Super User III
Solution

Re: php pages have just stopped working in last fortnight

@Stephenmhead 

 

1) If you right mouse click on the page and select inspect element

2) It could be that was in a external file and the file isn't on the server anymore - I did the first box on the contact form

 



I am a GoDaddy End User - Just Like You
Check out my site! | I currently manage over 300 WordPress Websites
* Please note that I offer free advice on this forum. Thank You Info If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

Once your issue is resolved,
please be sure to come back and click accept for the solution

Get Better Support on the Community Boards!
Etiquette When Asking for Help from the Community

View solution in original post

4 REPLIES 4
Highlighted
Super User III
Super User III
Solution

Re: php pages have just stopped working in last fortnight

@Stephenmhead 

 

In looking at the contact form - there is a JavaScript error in that the function doesn't exist....

This is from the Chrome Console

contact_us.php:3482 Uncaught ReferenceError: ValidateForm1 is not defined
    at appendform1message (contact_us.php:3482)
    at HTMLInputElement.onclick (contact_us.php:3495)

 



I am a GoDaddy End User - Just Like You
Check out my site! | I currently manage over 300 WordPress Websites
* Please note that I offer free advice on this forum. Thank You Info If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

Once your issue is resolved,
please be sure to come back and click accept for the solution

Get Better Support on the Community Boards!
Etiquette When Asking for Help from the Community

View solution in original post

Highlighted

Re: php pages have just stopped working in last fortnight

Many thanks.  Two further queries - how did you get that error message through via the Chrome Console? (I'm not that experienced yet).  Given that the script ran pefectly ok for two years, can you think of any reason why it should have lost the functionn reference on its own?

Much appreciate your help

Highlighted
Super User III
Super User III
Solution

Re: php pages have just stopped working in last fortnight

@Stephenmhead 

 

1) If you right mouse click on the page and select inspect element

2) It could be that was in a external file and the file isn't on the server anymore - I did the first box on the contact form

 



I am a GoDaddy End User - Just Like You
Check out my site! | I currently manage over 300 WordPress Websites
* Please note that I offer free advice on this forum. Thank You Info If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

Once your issue is resolved,
please be sure to come back and click accept for the solution

Get Better Support on the Community Boards!
Etiquette When Asking for Help from the Community

View solution in original post

Highlighted

Re: php pages have just stopped working in last fortnight

Wow - that was fast. I'll look at the code and try to work out why an external file might have been lost.  Many thanks

Steve