Post by sinnedobi » Wed Feb 08, 2017 11:40 pm

Hello,

I have just installed opencart on my site hooplastore.com and i get internal server error at:

http://hooplastore.com/index.php?route=account/register but also in admin section at settings.

This is what i get.

Can anyone please help?


Internal Server Error

Internal Server Error

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
webmaster@hooplastore.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>

Newbie

Posts

Joined
Fri Feb 03, 2017 5:29 pm

Post by uksitebuilder » Wed Feb 08, 2017 11:46 pm

If it has just been installed, how did you install it - Via FTP or via autoinstaller such as Softaculous ?

May be worth trying to install again via FTP

--

Also, 500 errors always produce a real error in your server error logs, so may be an idea to view those logs to get the real error.

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by sinnedobi » Wed Feb 08, 2017 11:55 pm

I installed it throw Softaculous 2 times. i also installed another similar script and i get the same error.

I tried to find error log but i dont know where it is located

Thnx

Newbie

Posts

Joined
Fri Feb 03, 2017 5:29 pm

Post by keywordstudio » Thu Feb 09, 2017 12:35 am

Internal Server Error may appear from various errors on the server, you can check the error log on the provider to see what it treats

User avatar
Newbie

Posts

Joined
Thu Feb 09, 2017 12:32 am

Post by uksitebuilder » Thu Feb 09, 2017 1:56 am

I advise you uninstall and re-install using FTP rather than automated installer which is known to cause problems

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by sinnedobi » Thu Feb 09, 2017 11:15 pm

I got this reply from my server assistance.

Its showing popup window with 500 error, please check index file code with the help of developer.

Newbie

Posts

Joined
Fri Feb 03, 2017 5:29 pm

Post by sinnedobi » Fri Feb 10, 2017 3:05 pm

Hello,

I unistalled and installed from ftp but i get the same error.

I contacted then the server to get error details. The following is their email:

Hi,

Provide the following logs given to your developer and let us know how much memory do you want to allocate :-

==========================
[Thu Feb 09 20:08:40 2017] [error] [client 123.252.186.30] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/hooplast/public_html/index.php, referer: http://hooplastore.com/index.php?route=account/register
[Thu Feb 09 20:08:40 2017] [error] [client 123.252.186.30] File does not exist: /home/hooplast/public_html/500.shtml, referer: http://hooplastore.com/index.php?route=account/register

=========================

Feel free to contact us if you have any other doubts or questions.

Can anyone help please?

Newbie

Posts

Joined
Fri Feb 03, 2017 5:29 pm

Post by sinnedobi » Fri Feb 10, 2017 6:56 pm

This is what contain the error log file:

[10-Feb-2017 05:48:39 America/New_York] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20121212/phar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20121212/phar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[10-Feb-2017 05:48:45 America/New_York] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20121212/phar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20121212/phar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[10-Feb-2017 05:53:01 America/New_York] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20121212/phar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20121212/phar.so: cannot open shared object file: No such file or directory in Unknown on line 0

Newbie

Posts

Joined
Fri Feb 03, 2017 5:29 pm

Post by uksitebuilder » Fri Feb 10, 2017 7:12 pm

You need to speak with your host about those errors as they are related to your server set-up, not OpenCart

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by ecpanda » Fri Feb 10, 2017 11:38 pm

Hi,

Check the error log within the opencart admin panel or the error log file of your web server. The problem should be reported in there.

When you get the internal server error, the first thing should check the server log file.

Image


User avatar
Newbie

Posts

Joined
Fri Feb 10, 2017 5:54 pm

Post by arcovirtual » Wed Jan 10, 2018 1:48 am

I have the same problem, but not with installation if not with a store of 2 years of operation from one day to another, throw error 500 only in front end register, and only in user, edit, in the back end.

I think it's the memory assigned to the MySQL dBASE of the server or host

error:
[Tue Jan 09 14:46:19.495314 2018] [:error] [pid 263278] (12)Cannot allocate memory: [client ] couldn't create child process: /usr/sbin/suphp for /home/*******/public_html/********/index.php, referer: https://*********/index.php?route=account/register


I think it's a vqmod also, which may be asking for extreme resources. vqmod used to hide fomr register text entries.

php.ini memory 64 and 60 timeout mysql

magic_quotes_gpc = Off;
register_globals = Off;
default_charset = UTF-8;
memory_limit = 64M;
max_execution_time = 36000;
upload_max_filesize = 999M;
safe_mode = Off;
mysql.connect_timeout = 60;
session.auto_start = Off;
session.use_only_cookies = On;
session.use_cookies = On;
session.use_trans_sid = Off;
session.cookie_httponly = On;
session.gc_maxlifetime = 3600;
allow_url_fopen = on;
;display_errors = 1;
;error_reporting = E_ALL;

New member

Posts

Joined
Thu Jul 07, 2016 9:49 am

Post by MrPhil » Wed Jan 10, 2018 4:04 am

arcovirtual wrote:
Wed Jan 10, 2018 1:48 am
I have the same problem, but not with installation if not with a store of 2 years of operation
Why do you think it has something to do with MySQL? I don't see anything in the message about that. suPHP is a system security system, so if it's getting errors, that is a serious problem. This is two different errors, one in register and the other in user edit?

If your host just upgraded the server or PHP, it's possible that it doesn't like something now in your .htaccess or php.ini. There are lots of things that can throw a 500 error -- see http://www.catskilltech.com/FreeSW/faqs ... tml#err500. I'd start by commenting out the register_globals line -- it's been gone for so long that some PHP versions may no longer even allow it. There may be other settings too that are causing problems.

User avatar
Active Member

Posts

Joined
Wed May 10, 2017 11:52 pm
Who is online

Users browsing this forum: No registered users and 199 guests