• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 29.09.21, 12:37
  • Opened by: Maham Mehrabi
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #22349 - Slider can' load any img

Hi,
A problem with the slider (revolution slider), when I try to load any img to a new slide it doesn’t show me anything (look the attachment), and I can’t load any img to edit the slider.
Can you help with that please?

Attachments:

slider.png (49.2 KiB)

Comments

Fred 29 Sep 2021, 23:33

I have tried to enable Debug mode and found out the following error

Notice: SessionHandler::gc(): 
ps_files_cleanup_dir: opendir(/var/cpanel/php/sessions/ea-php73) failed: Permission denied (13)

Please fix that first, here is possible solution https://stackoverflow.com/questions/47043351/sessionhandlergc-ps-files-cleanup-dir-permission-denied-13

Maham Mehrabi 08 Oct 2021, 12:04

Ok, thanks, but where did you get this error? We have error when we try to modify any page, that IS NOT a template. If you go to pages and try to modify any page, it return an error where it says you have to disable the maintenance mode (it’s already disabled). Now the site is in debug mode, can you have a check and tell us where you read the error please? And check the pages? Thanks

Maham Mehrabi 08 Oct 2021, 12:34

Btw, the error we had it now (these days) not in june…

Fred 09 Oct 2021, 00:31

I don’t remember where exactly I saw that error, but the solution is clear,
Change the session.save_path option to /tmp in your php configuration.
That error caused by wrong server configuration what confirmed by a couple of other customers
If you don’t know how to fix that, just ask your hosting provider support

Maham Mehrabi 11 Oct 2021, 10:08

We have changed the option in the save_path but didn’t work, the solution is not that one, please verify www.farmasempre.it it’s in debug mode and you can see the problem is not that. Thanks.

Maham Mehrabi 11 Oct 2021, 10:11

As you can see from the screenshot the problem is not the save path, and by the way tried it.

Attachments:

Immagine 2021-10-11 101036.png (94.1 KiB)
Maham Mehrabi 11 Oct 2021, 10:40

Here the config

Attachments:

MicrosoftTeams-image (2).png (8.9 KiB)
MicrosoftTeams-image (1).png (11.8 KiB)
MicrosoftTeams-image.png (114.5 KiB)
Fred 11 Oct 2021, 10:54

Hi, Maham.
Please update credentials in your profile https://support.promokit.eu/index.php?do=myprofile to access to your FTP Server

Currently I’m not able to connect

Maham Mehrabi 11 Oct 2021, 11:18

I’ve edited the ftp access, You have the credential in my profile (the password is now correct).

You’ll find an error log in: /home/ecommercefarmaci/public_html/var/logs/erroreisolato2

Fred 11 Oct 2021, 11:51

Please try now, it should work

Maham Mehrabi 11 Oct 2021, 11:58

It works, thanks! What was the problem? How did you fix it?

Fred 11 Oct 2021, 12:00

Updated file is

/modules/revsliderprestashop/controllers/admin/AdminRevolutionsliderUpload.php
Maham Mehrabi 11 Oct 2021, 12:17

So the problem was here:
public function initProcess()
{
if ($this→token != Tools::getvalue(’security_key’)) {
}

a token problem. Thanks for the solving, but it was impossible that we were aware of this.

Fred 11 Oct 2021, 12:19

We also see the issue first time.