Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Internal Server Error  (Read 12262 times)

Offline zonavirtuala

  • Newbie
  • *
  • Posts: 20
  • Karma: +2/-0
    • View Profile
Internal Server Error
« on: November 21, 2016, 03:18:22 PM »
Errors  :(
 

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@j******e.ro to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


-------------------------------------

Please,  help me!



   
« Last Edit: December 06, 2016, 05:17:56 PM by zonavirtuala »

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: Internal Server Error
« Reply #1 on: November 21, 2016, 10:14:01 PM »
500 Internal Server Error is very generic.

Get more details from your abantecart log or if you see no error there, try to get error from your server log.
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

Offline zonavirtuala

  • Newbie
  • *
  • Posts: 20
  • Karma: +2/-0
    • View Profile
Re: Internal Server Error
« Reply #2 on: November 22, 2016, 03:32:41 AM »
in Admin Panel :

2016-11-21 18:02:37 - App Error: AbanteCart core v.1.2.6 Error: Error in data of page with controller: 'pages/content/content'. Please check for key_value present where key_param was set in /home/j******e/public_html/core/engine/layout.php on line 182

2016-11-21 19:23:15 - warning: AbanteCart core v.1.2.6 sprintf(): Too few arguments in <b>/home/j******e/public_html/admin/controller/common/footer.php</b> on line <b>44</b>

2016-11-22 1:01:32 - warning: AbanteCart core v.1.2.6 preg_match(): Compilation failed: nothing to repeat at offset 0 in <b>/home/j******e/public_html/core/engine/language.php</b> on line <b>287</b>



-----------------------------------------------
-----------------------------------------------

In cPanel :

[Tue Nov 22 00:25:32.729086 2016] [:error] [pid 794675] (12)Cannot allocate memory: [client 82.145.222.53:36461] couldn't create child process: /opt/suphp/sbin/suphp for /home/j******e/public_html/index.php, referer: http://j******e.ro/index.php?rt=tool/error_log&s=admin123&token=ce27fac5355aff4f2da95c5a09fd9cda

[Tue Nov 22 00:25:32.719767 2016] [:error] [pid 793436] (12)Cannot allocate memory: [client 82.145.222.53:36456] couldn't create child process: /opt/suphp/sbin/suphp for /home/j******e/public_html/index.php, referer: http://j******e.ro/index.php?rt=tool/error_log&s=admin123&token=ce27fac5355aff4f2da95c5a09fd9cda

[Tue Nov 22 00:25:32.702845 2016] [:error] [pid 794675] (12)Cannot allocate memory: [client 82.145.222.53:36461] couldn't create child process: /opt/suphp/sbin/suphp for /home/j******e/public_html/index.php, referer: http://j******e.ro/index.php?rt=tool/error_log&s=admin123&token=ce27fac5355aff4f2da95c5a09fd9cda

[Tue Nov 22 00:25:32.702380 2016] [:error] [pid 793436] (12)Cannot allocate memory: [client 82.145.222.53:36456] couldn't create child process: /opt/suphp/sbin/suphp for /home/j******e/public_html/index.php, referer: http://j******e.ro/index.php?rt=tool/error_log&s=admin123&token=ce27fac5355aff4f2da95c5a09fd9cda

[Tue Nov 22 00:25:06.746299 2016] [:error] [pid 793811] (12)Cannot allocate memory: [client 82.145.222.53:50668] couldn't create child process: /opt/suphp/sbin/suphp for /home/j******e/public_html/index.php, referer: http://j******e.ro/index.php?rt=catalog/product_options&product_id=467&s=admin123&token=ce27fac5355aff4f2da95c5a09fd9cda

[Tue Nov 22 00:25:06.741062 2016] [:error] [pid 793910] (12)Cannot allocate memory: [client 82.145.222.53:50675] couldn't create child process: /opt/suphp/sbin/suphp for /home/j******e/public_html/index.php, referer: http://j******e.ro/index.php?rt=catalog/product_options&product_id=467&s=admin123&token=ce27fac5355aff4f2da95c5a09fd9cda

.....

 [Mon Nov 21 23:07:02.146111 2016] [:error] [pid 636751] (12)Cannot allocate memory: [client 104.223.127.2:47285] couldn't create child process: /opt/suphp/sbin/suphp for /home/j******e/public_html/backup/ow_cron/run.php

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Internal Server Error
« Reply #3 on: November 22, 2016, 09:51:37 AM »
try to delete(or rename) file /system/logs/error.txt and tell us result
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline zonavirtuala

  • Newbie
  • *
  • Posts: 20
  • Karma: +2/-0
    • View Profile
Re: Internal Server Error
« Reply #4 on: November 22, 2016, 04:28:08 PM »

  Hello abolabo,

Errors persists ... :( 

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Internal Server Error
« Reply #5 on: November 23, 2016, 03:36:22 AM »
what about server log? i mean httpd.error log, log of apache
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline zonavirtuala

  • Newbie
  • *
  • Posts: 20
  • Karma: +2/-0
    • View Profile
Re: Internal Server Error
« Reply #6 on: November 23, 2016, 03:51:09 AM »

cPanel  > error :


[Wed Nov 23 00:43:25.628610 2016] [:error] [pid 780342] (12)Cannot allocate memory: [client 82.145.222.4:58185] couldn't create child process: /opt/suphp/sbin/suphp for /home/j***e/public_html/index.php, referer: http://j***e.ro/index.php?rt=catalog/category&s=admin123&token=a08bcb838be585e659461f73d2d1b2cc

[Wed Nov 23 00:43:25.627425 2016] [:error] [pid 783522] (12)Cannot allocate memory: [client 82.145.222.4:58190] couldn't create child process: /opt/suphp/sbin/suphp for /home/j***e/public_html/index.php, referer: http://j***e.ro/index.php?rt=catalog/category&s=admin123&token=a08bcb838be585e659461f73d2d1b2cc

[Wed Nov 23 00:43:25.617097 2016] [:error] [pid 780342] (12)Cannot allocate memory: [client 82.145.222.4:58185] couldn't create child process: /opt/suphp/sbin/suphp for /home/j***e/public_html/index.php, referer: http://***e.ro/index.php?rt=catalog/category&s=admin123&token=a08bcb838be585e659461f73d2d1b2cc

........


The error occurs ....  inclusive in subdomain test  (abantecart recently installed)



« Last Edit: November 23, 2016, 03:53:54 AM by zonavirtuala »

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Internal Server Error
« Reply #7 on: November 23, 2016, 07:30:16 AM »
can you look into settings->system->system button phpinfo()
What actual memory_limit directive value do you have?
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline zonavirtuala

  • Newbie
  • *
  • Posts: 20
  • Karma: +2/-0
    • View Profile
Re: Internal Server Error
« Reply #8 on: November 23, 2016, 08:06:02 AM »



memory_limit : 512M


--------------------



in php.ini


 Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 30
max_input_time = 60
max_input_vars = 1000
memory_limit = 512M

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Internal Server Error
« Reply #9 on: November 23, 2016, 11:15:07 AM »
what about giant pictures of categories? Can you look biggest file inside /resources/image directory? Is it assigned to category?
try to rename it temporary and open page
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Internal Server Error
« Reply #10 on: November 24, 2016, 02:59:14 AM »
check permissions for public_html/image directory.
I must be writable for php!

Also you can enable system check settings to view what's going on.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline zonavirtuala

  • Newbie
  • *
  • Posts: 20
  • Karma: +2/-0
    • View Profile
Re: Internal Server Error
« Reply #11 on: November 24, 2016, 03:56:08 AM »
permissions for public_html/image directory :  0755

-------------------------------------------------------

1. warning >  Incorrect config.php file permissions

/home/j***e/public_html/system/config.php file needs to be set to read and execute modes to keep it secured from editing!


2. warning >  Incorrect index.php file permissions

home/j***e/public_html/index.php file is writable. It is recommended to set read and execute modes for this file to keep it secured and running properly!


3.   critical   > App Error

aMySQLi class error: Try to escape non-string value: array ( 0 => '6846', ) in /home/j****e/public_html/core/database/amysqli.php on line 119


4.  critical

Error: Error in data of page with controller: 'pages/content/content'. Please check for key_value present where key_param was set


--------------------------------------


  System Logs > Logs >  Error logs :

App Error: AbanteCart core v.1.2.6 Error: Error in data of page with controller: 'pages/content/content'. Please check for key_value present where key_param was set in /home/j***e/public_html/core/engine/layout.php on line 182
« Last Edit: November 24, 2016, 04:07:54 AM by zonavirtuala »

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Internal Server Error
« Reply #12 on: November 25, 2016, 04:37:57 AM »
When i looked into your cpanel it's write that memory_limit size for php - 512Mb, But when i go into settings->system->system and press button phpinfo i see that memory_limit 128Mb there.
Just open your php.ini file inside root directory of your site and increase memory limit to 512.
But i still confused what a cause of crashes. Tried to look into httpd.error but error is generic there.You can ask your hosting provider support about more detailed log.
We have working abantecart with 64Mb memory limit.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Internal Server Error
« Reply #13 on: November 25, 2016, 04:44:34 AM »
also i see full-size php.ini in your public_html directory. I think it's a bad idea. Please remove it. i guess you have conflict  on php-level.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline zonavirtuala

  • Newbie
  • *
  • Posts: 20
  • Karma: +2/-0
    • View Profile
Re: Internal Server Error
« Reply #14 on: November 25, 2016, 05:29:58 AM »


I deleted, but the problem persists.  I added back.
I changed the php. [  5,5 (native)  in 5,4 ]  and ... nothing. 



The error appears in the media section (upload photo)



update :

database error: AbanteCart core v.1.2.6 Error:
INSERT INTO ab3a_url_aliases (`keyword`, `query`, `language_id`) VALUES ('tridoku-2', 'product_id=481', '1') in <b>/home/j***e/public_html/core/database/amysqli.php</b> on line <b>106</b>
« Last Edit: November 26, 2016, 03:54:33 PM by zonavirtuala »

 

Powered by SMFPacks Social Login Mod