WebSite X5Help Center

 
Mark N.
Mark N.
User

Internal Server Error With Blog and Email Form  en

Auteur : Mark N.
Visité 2290, Followers 1, Partagé 0  

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

Posté le
11 RéPONSES
Andre E
Andre E
Moderator

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,

Lire plus
Posté le de Andre E
Mark N.
Mark N.
User
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.

Lire plus
Posté le de Mark N.
Andre E
Andre E
Moderator

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?

Lire plus
Posté le de Andre E
Mark N.
Mark N.
User
Auteur

My site currently uses PHP version 5.5.  I can change that to version 5.6, 7.0 or 7.1 if needed.

Lire plus
Posté le de Mark N.
Mark N.
Mark N.
User
Auteur

The test.php file, in the root directory, does execute successfully; all other php files do not.

Lire plus
Posté le de Mark N.
Andre E
Andre E
Moderator

try latest php version.

do a full upload, test againg (press F5 in browser to refresh)

Lire plus
Posté le de Andre E
Mark N.
Mark N.
User
Auteur

Updated to PHP 7.1, refreshed, then resent all files to website. Now all .php files return the Internal Server Error.

Lire plus
Posté le de Mark N.
Incomedia
Stefano G.
Incomedia

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

Lire plus
Posté le de Stefano G.
Andre E
Andre E
Moderator

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

Lire plus
Posté le de Andre E
Mark N.
Mark N.
User
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?

Lire plus
Posté le de Mark N.
Incomedia
Stefano G.
Incomedia

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

Lire plus
Posté le de Stefano G.