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>
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.
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.
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
I advise you uninstall and re-install using FTP rather than automated installer which is known to cause problems
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?
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?
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
[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
You need to speak with your host about those errors as they are related to your server set-up, not OpenCart
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;
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;
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?arcovirtual wrote: ↑Wed Jan 10, 2018 1:48 amI have the same problem, but not with installation if not with a store of 2 years of operation
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.
Who is online
Users browsing this forum: No registered users and 199 guests