• Site crashed last night, error mesage saying “Resouce limit reached” Contacted the hosting company who asked me to deactivate all my plugins and reactivate one by one to try and identify if one was causing the problem. Did this, but found no issue. Site came back up but we had lost all the side bars and footers etc. It is just showing latest posts. Hosting Co reset the files from two days previous , still the same. If I check in Appearnce, widgets, all the content is still there.

    One problem I had had leading up to this was that when creating a new post it wasn’t letting me add a photo gallery. It allowed me to create one but not add it to the post. Not sure if this is a seperate issue.

    Theme is Calotropis (I know, its old !)

    Any thoughts any one ?

    Graham

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Please turn on error debugging in your WordPress: you need to manually edit the wp-config.php file. Open /wp-content.php file and add following lines (at the end of a file):

    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_LOG’, true );
    define( ‘WP_DEBUG_DISPLAY’, false );

    Error log will be saved to /wp-content/debug.log. Please paste it here

    PS: This theme hasn’t been updated in over 8 years. You should definitely change it.

    Thread Starter geedee23

    (@geedee23)

    Hi
    Firststly, many thanks for your assistance. Added the code to wp-content.php file, however this has not generated a debug log.

    wp-content.php file below for you to peruse –

    <?php
    /**
    * The base configurations of the WordPress.
    *
    * This file has the following configurations: MySQL settings, Table Prefix,
    * Secret Keys, WordPress Language, and ABSPATH. You can find more information
    * by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
    * wp-config.php} Codex page. You can get the MySQL settings from your web host.
    *
    * This file is used by the wp-config.php creation script during the
    * installation. You don’t have to use the web site, you can just copy this file
    * to “wp-config.php” and fill in the values.
    *
    * @package WordPress
    */
    // ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define(‘DB_NAME’, ‘giffnock_wordpress’);
    /** MySQL database username */
    define(‘DB_USER’, ‘giffnock_admin’);
    /** MySQL database password */
    define(‘DB_PASSWORD’, ‘d2Fhf@z?21SI’);
    /** MySQL hostname */
    define(‘DB_HOST’, ‘localhost’);
    /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’, ‘utf8’);
    /** 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’, ‘Z%jr8HtBc]V&ILF,DmE#EN+|r)s{}Eb%5c/w>n^,Kuo-8vhW;cjn}y,di`}7c|lo’);
    define(‘SECURE_AUTH_KEY’, ‘pA5_pGww^^hf8[{Uh}qu!F/ATc4):A#Keu62}LXfa!d9dkG+?dLNVf<UTDu><-:1’);
    define(‘LOGGED_IN_KEY’, ‘k`Gy+Kj|ehD,>cC9u(:+Yq]QS=su?k!l|k8?XKXr!nogv~jacy#DPll|+E@_^kpd’);
    define(‘NONCE_KEY’, ‘|!|+9samM=NEAt>8xfiE3GZy=Oszh1o$U3X~zRMKq*n^nRly{tW<U~H&itc,dezm’);
    define(‘AUTH_SALT’, ‘|[t^ JVRg-]7yJk^{eLLJuA5z~3$-Ys7p|mcCC=DM>Ba?i7>7QvB#^}QwSUoB9+j’);
    define(‘SECURE_AUTH_SALT’, ‘+GDhq-*Zlu6 |.F;qi~VOZzQ4x=Catx73r&ZAR2|0heh5tI!?.@LfE=G- ]mTl’);
    define(‘LOGGED_IN_SALT’, ‘`NtLf[Qr3=3GsRmiMD4|1|GsHqPcqDo9]mQGQE+;v1$fh{a|s20hF7So|;#+<0uY’);
    define(‘NONCE_SALT’, ‘~dZJun00F|x|HzYB~;QA(my.2d- a4-M7>Qu*-*#1}6fvSo&bdIxqzPr+Jz[aj/,’);
    /**#@-*/
    /**
    * 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 = ‘wp_’;
    /**
    * WordPress Localized Language, defaults to English.
    *
    * Change this to localize WordPress. A corresponding MO file for the chosen
    * language must be installed to wp-content/languages. For example, install
    * de.mo to wp-content/languages and set WPLANG to ‘de’ to enable German
    * language support.
    */
    define (‘WPLANG’, ”);
    /**
    * 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.
    */
    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’);
    #ini_set( ‘upload_max_size’ , ’64M’ );
    #ini_set( ‘post_max_size’, ’64M’);
    define(‘WP_MEMORY_LIMIT’, ’96M’);
    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_LOG’, true );
    define( ‘WP_DEBUG_DISPLAY’, false );

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Loss of sidebars and footer’ is closed to new replies.