*

AccepT

  • **
  • 26 posts
Error after placing ads 502
« on: December 07, 2022, 08:52:15 AM »
Help
Error after placing the ad 502 Bad Gateway nginx/1.20.2
After the ad is published, it gives this error, the ad is not published, but an alert comes to the mail by clicking on the link to view the ad error 404.

Rolled back to 4.4. error 502 has not disappeared, it appears, but ads are published if the page is refreshed.
« Last Edit: December 07, 2022, 10:58:34 AM by AccepT »

*

MB Themes

Re: Error after placing ads 502
« Reply #1 on: December 07, 2022, 11:46:37 AM »
And that error is secret?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

AccepT

  • **
  • 26 posts
Re: Error after placing ads 502
« Reply #2 on: December 07, 2022, 02:50:23 PM »
And that error is secret?
There is no secret.
After clicking publish ad 502 error.
You can refresh the page 20 times and it will be 502, but 20 ads will be placed.
How many times I updated the page with the error 502, there will be so many ads.
What is the reason? Where to look?

*

MB Themes

Re: Error after placing ads 502
« Reply #3 on: December 07, 2022, 03:35:39 PM »
Why not put details of error here? I am not sure if 502 is related to osclass honestly.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

AccepT

  • **
  • 26 posts
Re: Error after placing ads 502
« Reply #4 on: December 07, 2022, 06:36:28 PM »
Why not put details of error here? I am not sure if 502 is related to osclass honestly.

Fixed error 502
Some folders have attributes 777, changed them to 755
But oc-content/uploads/temp/ costs 755, but it needs 777
The error was because of this, the photos gave an error when uploading.

You can close the topic.

*

dsf

  • *****
  • 261 posts
Re: Error after placing ads 502
« Reply #5 on: December 07, 2022, 10:12:20 PM »
644 for files and 755 for folders.

THAT is the correct. Not 777, or anything else.

If that doesn't work, your HOSTING setup is wrong.

*

AccepT

  • **
  • 26 posts
Re: Error after placing ads 502
« Reply #6 on: December 08, 2022, 05:43:39 AM »
644 for files and 755 for folders.

THAT is the correct. Not 777, or anything else.

If that doesn't work, your HOSTING setup is wrong.

config.php should it be 644 too? by default there are 666.
/themes with 755 does not want to upload photos., ImageMagick is worth it.

*

MB Themes

Re: Error after placing ads 502
« Reply #7 on: December 09, 2022, 04:57:40 PM »
644 for files, 755 for folders.
Imagemagick is better than default GD library
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots