Jump to content

Error al Vaciar la Papelera


Piguanet
 Share

Recommended Posts

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
Link to comment
Share on other sites

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
 Share

×
×
  • Create New...