My PrestaShop site sometimes goes down, Themeforest demo website not showing
2025-05-04 17:44:35
#1
Hello everyone, hope all are doing well have been using a VPS server with CloudPanel. I have 2 issues
  1. My PrestaShop site sometimes goes down after restarting from the admin, then works again. Today I just restarted MySQL, then seems it's working well

  1. Another issue, my site can't open in the Themeforest demo, you know Themeforest shows a demo using an Iframe, I don't understand why not showing.

Both are big issues for me. If you help me, then will be good for me, please
2025-05-05 21:24:27
#2
Hi! For the PrestaShop issue, restart both MySQL and PHP-FPM like this:

sudo systemctl restart mysql
sudo systemctl restart php8.1-fpm

# change 8.1 to your PHP version
For the iframe issue (Themeforest), check your Nginx config (usually in /etc/nginx/sites-available/) and comment out or remove this line:
add_header X-Frame-Options "SAMEORIGIN";

Then reload Nginx:
sudo systemctl reload nginx

That should fix both problems!
Yazdığımız şeyler bizi temsil eder, Efendilik iyidir.
2025-05-07 17:13:18
#3
Rootali dedi:

Hi! For the PrestaShop issue, restart both MySQL and PHP-FPM like this:

sudo systemctl restart mysql
sudo systemctl restart php8.1-fpm  # change 8.1 to your PHP version

For the iframe issue (Themeforest), check your Nginx config (usually in /etc/nginx/sites-available/) and comment out or remove this line:
add_header X-Frame-Options "SAMEORIGIN";

Then reload Nginx:
sudo systemctl reload nginx

That should fix both problems!

Thank you very much! Problem solved
Please Login or Register.
Currently 1 people reading this topic. (1 guest(s))
Currently reading 0
Reacted 1
Rootali