My PrestaShop site sometimes goes down, Themeforest demo website not showing

Sohel

New member
Joined
May 4, 2025
Messages
2
Points
1
Age
34
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
 
Solution
Hi! For the PrestaShop issue, restart both MySQL and PHP-FPM like this:

Code:
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:
Code:
add_header X-Frame-Options "SAMEORIGIN";
Then reload Nginx:
Code:
sudo systemctl reload nginx
That should fix both problems!
Hi! For the PrestaShop issue, restart both MySQL and PHP-FPM like this:

Code:
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:
Code:
add_header X-Frame-Options "SAMEORIGIN";
Then reload Nginx:
Code:
sudo systemctl reload nginx
That should fix both problems!
 
Last edited:
Solution
Hi! For the PrestaShop issue, restart both MySQL and PHP-FPM like this:

Code:
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:
Code:
add_header X-Frame-Options "SAMEORIGIN";
Then reload Nginx:
Code:
sudo systemctl reload nginx
That should fix both problems!
Thank you very much! Problem solved
 
Back
Top