Un usuario preguntó 👇
No puedo acceder al panel de control de mi sitio web. Puedo ver esto cuando quiero acceder a mi panel.
Error fatal: cantidad de memoria permitida 176160768 bytes agotados (intento de asignar 87 bytes) en /home/itiwsbslws1/public_html/wp-includes/category.php en línea 347
¿Como puedó resolver esté problema?
(@wbcomdesigns)
Hace 3 años, 6 meses
Hola, @answersmode
Para resolver este problema, debe aumentar el límite de memoria Primero, debe editar el archivo wp-config.php en su sitio de WordPress. Se encuentra en la carpeta raíz de su sitio de WordPress y deberá utilizar un cliente FTP o un administrador de archivos en su panel de control de alojamiento web. Entonces necesitas pegar el siguiente código wp-config.php
el archivo justo antes de la línea que dice ‘Eso es todo, ¡deja de editar! Feliz blogueo. ‘
define( 'WP_MEMORY_LIMIT', '256M' );
Espero que esto ayude.
Gracias.
Lanzador de hilos
(@answersmode)
Hace 3 años, 6 meses
No lo sé, ¿cómo encontrar la carpeta raíz del sitio? este es mi wp-config.php expediente. ¿Dime dónde editar?
<?php
/**
* The base configuration for WordPress
*
* The wp-config.php creation script uses this file during the
* installation. You don't have to use the web site, you can
* copy this file to "wp-config.php" and fill in the values.
*
* This file contains the following configurations:
*
* * MySQL settings
* * Secret keys
* * Database table prefix
* * ABSPATH
*
* @link https://codex.wordpress.org/Editing_wp-config.php
*
* @package WordPress
*/
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('WP_CACHE', true); //Added by WP-Cache Manager
define( 'WPCACHEHOME', '/home/itiwsbslws1/public_html/wp-content/plugins/wp-super-cache/' ); //Added by WP-Cache Manager
define('DB_NAME', 'xxxx');
/** MySQL database username */
define('DB_USER', 'xxxx');
/** MySQL database password */
define('DB_PASSWORD', 'xxxx');
/** MySQL hostname */
define('DB_HOST', 'localhost');
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8mb4');
/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
/**#@+
* Authentication Unique Keys and Salts.
*
* Change these to different unique phrases!
* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
* You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
*
* @since 2.6.0
*/
define('AUTH_KEY', 'auth key');
define('SECURE_AUTH_KEY', 'auth key');
define('LOGGED_IN_KEY', 'auth key');
define('NONCE_KEY', 'auth key');
define('AUTH_SALT', 'auth key');
define('SECURE_AUTH_SALT', 'auth key');
define('LOGGED_IN_SALT', 'auth key');
define('NONCE_SALT', 'auth key');
/**#@-*/
/**
* WordPress Database Table prefix.
*
* You can have multiple installations in one database if you give each
* a unique prefix. Only numbers, letters, and underscores please!
*/
$table_prefix = 'wpub_';
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*
* For information on other constants that can be used for debugging,
* visit the Codex.
*
* @link https://codex.wordpress.org/Debugging_in_WordPress
*/
define('WP_DEBUG', false);
/* That's all, stop editing! Happy blogging. */
/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');
/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');
Esta respuesta fue modificada hace 3 años, 6 meses por. Esta respuesta fue modificada hace 3 años, 6 meses por. Razón: información privada eliminada
(@wbcomdesigns)
Hace 3 años, 6 meses
Hola @answersmode
Agregue esto en la parte inferior, justo antes de la línea que dice «Blogging feliz».
Gracias.
(@motaz_shazly)
Hace 3 años, 6 meses
@answersmode Nunca DEBE publicar los datos de wp-config.php públicamente, está exponiendo su sitio de WP al público. por favor elimine ese archivo.
(@sterndata)
Moderador del foro y voluntario del equipo de apoyo
Hace 3 años, 6 meses
@answersmode, cambie la contraseña de su base de datos inmediatamente.
¿Solucionó tu problema??
0 / 0