Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Error: Service Temporarily Unavailable Rate Topic   - - - - -

 
  • Ghiyas
  • Advanced Member
  • Trial users
  • Join Date: 07-Aug 17
  • 70 posts

Posted 20 November 2017 - 09:28 AM #1

Hi,

 

I have upgraded my PHP from 5.5.3 to 7, and I have noticed I am getting this error message in a few places in the admin backend which prevent me from doing certain things

 

 

 

ErrorOops, something went wrong (Service Temporarily Unavailable). Please try again.

 

When I was using PHP 5.5.3, I used to get a similar message which was

 

 

ErrorOops, something went wrong (Forbidden). Please try again.

 

Any ideas why I am still getting this message?



 
  • martfox
  • Member
  • Authorized Reseller
  • Join Date: 15-Jan 10
  • 428 posts

Posted 20 November 2017 - 09:39 AM #2

Which CS-Cart version do you have?


CS-Cart with 1 Year FREE Web Hosting | CS-Cart optimized SSD Cloud VPS Servers from €10.00/month
.
VPS SSD Cloud from €10.00 *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider


 
  • martfox
  • Member
  • Authorized Reseller
  • Join Date: 15-Jan 10
  • 428 posts

Posted 20 November 2017 - 09:46 AM #3

Also if you use 'mod_security' try to disable it and check the requirements at http://docs.cs-cart....quirements.html


CS-Cart with 1 Year FREE Web Hosting | CS-Cart optimized SSD Cloud VPS Servers from €10.00/month
.
VPS SSD Cloud from €10.00 *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider


 
  • Ghiyas
  • Advanced Member
  • Trial users
  • Join Date: 07-Aug 17
  • 70 posts

Posted 20 November 2017 - 09:57 AM #4

Hi,

 

I am using CS Cart v4.6.2



 
  • martfox
  • Member
  • Authorized Reseller
  • Join Date: 15-Jan 10
  • 428 posts

Posted 20 November 2017 - 10:25 AM #5

Check the php error logs and apache error logs.


CS-Cart with 1 Year FREE Web Hosting | CS-Cart optimized SSD Cloud VPS Servers from €10.00/month
.
VPS SSD Cloud from €10.00 *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 10,060 posts

Posted 20 November 2017 - 10:28 PM #6

if you are comfortable using a browser inspector, right-click your window and then click the 'network' tab.  Then perform the operation that causes the error.  You should be able to click on the request and look at the response which will probably show you an error message being reported that the response handler can't understand.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • Ghiyas
  • Advanced Member
  • Trial users
  • Join Date: 07-Aug 17
  • 70 posts

Posted 21 November 2017 - 08:40 AM #7

if you are comfortable using a browser inspector, right-click your window and then click the 'network' tab.  Then perform the operation that causes the error.  You should be able to click on the request and look at the response which will probably show you an error message being reported that the response handler can't understand.

 

Ah yes, I didn't think to use the Chrome inspector. When I clicked on the response, it says "503 Service Temporarily Unavailable"

Is this what you mean? Or do you need information from a different tab?



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 10,060 posts

Posted 21 November 2017 - 08:43 PM #8

A 501 is usually related to site ownership/permissions issues.  You'll need to verify that the site is setup correctly. I'm assuming whatever controller you are running is trying to access files in the var directory structure that have wrong ownership/permissions.  Please verify that all ownership/permissions are correct, especially in the var/files directory structure and var/backup.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • Ghiyas
  • Advanced Member
  • Trial users
  • Join Date: 07-Aug 17
  • 70 posts

Posted 22 November 2017 - 10:33 AM #9

A 501 is usually related to site ownership/permissions issues.  You'll need to verify that the site is setup correctly. I'm assuming whatever controller you are running is trying to access files in the var directory structure that have wrong ownership/permissions.  Please verify that all ownership/permissions are correct, especially in the var/files directory structure and var/backup.

 

Thanks for the advice, I check the permissions on those folders and report back