Jump to content

Recommended Posts

Posted

Hola, soy bastante nueva en esto. Tengo en la papelera de mi CMS 4300 aprox. archivos que no puedo borrar. Cuando le doy la opción vaciar me dice que no se puede y continuan ahi.

image.thumb.png.a5d2b6603edf2618eb4bedb6e1ab979c.pngimage.thumb.png.3b79bd8b4b7fd4af6178c90c213e9fa9.png

 

Posted

Hola,

si quieres ayuda, tienes que saber que en este foro se habla ingles ?

Intenta lo que sigue.

-----------------------------

First install the module TracyDebugger.

Then in the root folder of the website, create a file trash.php and write the following code inside this file :

<?php namespace ProcessWire;

include_once('./index.php');

set_error_handler(function($severity, $message, $file, $line) {
    if (error_reporting() & $severity) {
        throw new \ErrorException($message, 0, $severity, $file, $line);
    }
});

wire('pages')->emptyTrash();

 

then navigate to http://yourwebsite.com/trash.php and check the logs.

  • Like 1
Posted

Hola, Piguanet y Bienvenido a Processwire,

Primero hay que eliminar los campos y plantillas asociada con el pagina.

Luego puedes borrar la pagina

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...