This topic has 7 replies, 2 voices, and was last updated 9 years by andreas.

  • Author
  • #67799
     andreas
    Participant

    Hello,

    I am activating the GeoDirectory plugin after the Kleo theme is installed, and once i activate worpress 4.2.2 crashes and every page writes “HTTP ERROR – Internal Server Error”

    Can you please help me resolve this issue?

    Thank you

    #67838
     sharmstr
    Moderator

    Does it happen with the 2015 Theme Enabled? Do you have enough memory allocated to handle all of your plugins? Have you tried enabling WP debug and setting the display to true?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #67862
     andreas
    Participant

    This happens either if the KLEO theme is installed with all plugins necessary, either when its a totally fresh installation of WP without anything on it.
    So, it cannot be memory from one side because simply i am activating the plugin when wordpress is completely clean.

    About the Debug mode:

    This is my wp-config file, but i do not see in my ftp folders the debug.log created:

    <?php
    /**
    * The base configurations of the WordPress.
    *
    * This file has the following configurations: MySQL settings, Table Prefix,
    * Secret Keys, and ABSPATH. You can find more information by visiting
    * {@link https://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’, ‘surgery_m9’);

    /** MySQL database username */
    define(‘DB_USER’, ‘surgery_m9’);

    /** MySQL database password */
    define(‘DB_PASSWORD’, ‘xxxxxxxxxxxxx’);

    /** MySQL hostname */
    define(‘DB_HOST’, ‘surgery.xxxxxxxxxxxx.net’);

    /** 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’, ‘put your unique phrase here’);
    define(‘SECURE_AUTH_KEY’, ‘put your unique phrase here’);
    define(‘LOGGED_IN_KEY’, ‘put your unique phrase here’);
    define(‘NONCE_KEY’, ‘put your unique phrase here’);
    define(‘AUTH_SALT’, ‘put your unique phrase here’);
    define(‘SECURE_AUTH_SALT’, ‘put your unique phrase here’);
    define(‘LOGGED_IN_SALT’, ‘put your unique phrase here’);
    define(‘NONCE_SALT’, ‘put your unique phrase here’);

    /**#@-*/

    /**
    * 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_’;

    /**
    * 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’, true);

    // Tell WordPress to log everything to /wp-content/debug.log
    define(‘WP_DEBUG_LOG’, true);

    // Turn off the display of error messages on your site
    define(‘WP_DEBUG_DISPLAY’, true);

    /* 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’);

    #67863
     andreas
    Participant

    I have managed to get the debug.log

    After activating the plugin and crashing WP (HTTP ERROR – 500 Internal server error) this is the log:

    [12-Jul-2015 09:33:14 UTC] PHP Notice: Undefined variable: location_prefix in /home/surgery/02P67U7J/htdocs/wp-content/plugins/geodirectory/geodirectory-functions/custom_taxonomy_hooks_actions.php on line 230

    [12-Jul-2015 09:33:14 UTC] PHP Notice: Undefined variable: location_prefix in /home/surgery/02P67U7J/htdocs/wp-content/plugins/geodirectory/geodirectory-functions/custom_taxonomy_hooks_actions.php on line 230

    [12-Jul-2015 09:33:14 UTC] PHP Notice: Undefined variable: location_prefix in /home/surgery/02P67U7J/htdocs/wp-content/plugins/geodirectory/geodirectory-functions/custom_taxonomy_hooks_actions.php on line 230

    #67867
     sharmstr
    Moderator

    Those are just notices and shouldn’t cause the crash.

    If it happens on a clean install and without Kleo enabled then I’m not sure that I can help. Have you asked on Geo Directory developers? Have you checked your server error log on your server?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #67870
     andreas
    Participant

    For the server logs i will have to ask tomorrow.

    Thank you for your help.

    Another question about your theme is the following:

    Can i set different page templates/designs according to a level of membership that a User will purchase?

    #67873
     sharmstr
    Moderator

    There’s nothing in Kleo that will do that.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #67875
     andreas
    Participant

    I understand.

    Thank you very much for your help.

Viewing 8 posts - 1 through 8 (of 8 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?