Error : We can't save a page - Forum | JoomShaper
Solved SP Page Builder

Error : We can't save a page

Asked by Benjamin DESMET 4 years ago Last activity 4 years ago

PHP 8.0.20
MySQL 8.0.28-20
SP Page Builder 3.8.8
Joomla 3.10.11 and 4.1.5

Hi there,

We have an issue with SP Page Builder on all of our sites on a single server that runs PHP 8.

In the past, all these sites were on a server that runs PHP 7.4. We have done migration to PHP 8, all was working fine but recently this problem appears

When we edit a page already created, we cannot save the page, the following error appears : “The most recent request was denied because it had an invalid security token. Please refresh the page and try again”

https://actual.fromsmash.com/screenshot-error

We have already purged the Joomla cache.

We have also done what is indicated regarding the PHP parameters in the documentation: https://www.joomshaper.com/documentation/sp-page-builder/sp-page-builder-3/basic-information-requirements/#basic3

What is surprising is that some pages can be edited and others cannot.

Is it possible that it comes from an Addon ?

Is this due to PHP 8 ?

Sincerely,

Accepted answer

Marked as the solution
Benjamin DESMET Asked this

For people with the same problem, we have found the solution.

The PHP temporary file didn't have write rights, after giving rights to this file, we were able to edit the pages in sp page builder.

Warning, we have seen the warning message regarding PHP temporary file only on Joomla 4.

On Joomla 3 the alert was not highlighted.
https://actual.fromsmash.com/erreur-fichier-temporaire-php

Sincerely,

1 more reply

Mehtaz Afsana Borsha Staff

Hi

Glad to know that you have fixed the issue and thanks for sharing the solution with us.

-Regards.

Log in to reply.