Internal Server Error With Blog and Email Form
Auteur : Mark N.Once uploaded, I cannot get the blog or email contact form to work. I keep getting this message:
===============================
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
=================================
When my service provider looks(www.ipage.com), there is nothing in the php log. The test.php file executes correctly, but all other php files do not. If I execute blog.php, I get the above Internal Server Error message. I have changed settings to other text types for email form, but it makes no difference.
Site: http://heartlandqacom.ipage.com
Using Evolution 15.1.1 (64 bit) on Windows 10 Pro
Mark,
Check with an ftp progrom like filezilla, or with the your host account panel on your webserver.
See if you can find an .htacces file in the root of your website, there is probably an error in it. back it up and remove it, do a full upload. then refresh page when visiting in your browser with ctrl-F5, then chack again.
The .htacces file is normally hidden and x5 can't see it so you need to use fillezilla or another ftp program or you webviewer from your websitehost admin panel.
Best regards,
Auteur
Andre:
Thanks for your response. I used Filemanager in Control Panel to remove .htaccess from the account. Then did a full upload of the website. It is a small site--3 pages plus a blog. Error message remains for both the blog and the email contact form. Willing to grant you admin access to the site, if that would help.
Are you sure you have php support in your package with your host? If not upgrade package.
If you have php support what version is running?
Auteur
My site currently uses PHP version 5.5. I can change that to version 5.6, 7.0 or 7.1 if needed.
Auteur
The test.php file, in the root directory, does execute successfully; all other php files do not.
try latest php version.
do a full upload, test againg (press F5 in browser to refresh)
Auteur
Updated to PHP 7.1, refreshed, then resent all files to website. Now all .php files return the Internal Server Error.
Hi Mark.
This definitely indicates an issue in the server's configuration, there is nothing we can do to fix it unfortunately, since the websites generated by WebSiteX5 are fully compatible to all of the php versions you tried.
Something is definitely not working on your hosting, and you should probably get back to them with it since they're the only one that can analyze the issue.
If they can come up with no solution, it would be probably best to test the website on a different provider.
Let me know if I can provide further clarification
Stefano
Well Mark in that case I see a positve thing, you know now where the issui is, in the php (version?)
As Stefano already said, check with the provider. Try also the lowest version if you did not already do so.
But it works for many clients here with many providers, so Stefano has a good point, else we would have way more posts about this here in the helpdesk.
Goodluck,
And really try to test with aother provider, this way you can be sure where the problem is, hope that it is possible for you, if not you are welcome to send the project to me (if it's not too big, I will add it on my host and that you can test that and give this also as information to your host.
Best Regards
Auteur
Well...I went back and built a new site, after confirming that the php code is the problem. I deleted all files in my service provider's space, so I was installing in a clean directory. Small site with a Contact Form and a blog. Now, I get a blank screen when attempting to use the form or access the blog. But I opened a couple of files and found some error messages--maybe this will help to solve the issue. Here are the messages:
File: /admin/templates/sitetest/system-tests.php Message: Warning: Invalid argument supplied for foreach() in /hermes/bosnacweb02/bosnacweb02be/b452/ipg.heartlandqacom/admin/templates/sitetest/system-tests.php on line 3
File: /admin/templates/sitetest/email-form.php Message: Fatal error: Call to undefined function l10n() in /hermes/bosnacweb02/bosnacweb02be/b452/ipg.heartlandqacom/admin/templates/sitetest/email-form.php on line 1
Does this give you any idea what might be happening?
Hi Mark.
The data you sent definitely indicates a PHP error. If you're sure you exported everything correctly, I still invite you to test and upload the whole thing on a new free hosting, in order to be sure that the issue is to be found in it and not inside the code generated by the software.
Please test this and let me know
Stefano