Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1180930

    Hi
    Usually the color scheme which has been used is marked
    In my case its not:
    https://flugtraeumer.de/temp/colorscheme.jpg

    1: Why not?
    2: How to fix?
    3: How do i find out which scheme is actually in charge?

    Danny

    • This topic was modified 4 years, 4 months ago by Flugtraeumer.
    #1180959

    Hey Danny,

    1- I still believe there might be an issue with your database as there should not be such issue. Do you have this issue on your other sites as well?
    2- You could choose one of the color schemes #3 however that would update the colors you defined in Enfold theme options > General Styling.
    3- Color value on buttons is #c3512f which is used in Enfold Classic and Boxed Orange color schemes so you might be using one of those. I am guessing it is Enfold Classic color scheme.

    Regards,
    Yigit

    #1180991

    Hello Yigit
    1: Yes, maybe.
    No, i dont have this issue anywhere else.
    I already optimized & repaired the DB over PHPmyAdmin without sucess and i suspect (if its the database) “wp_options”.
    Lets assume its the database:
    – How can i find out what exactly the issue is and how can i repair it?
    – if its foobared, whats the fastest way to rebuild the site? Export/Import over XLM?

    Or might this be the right way?
    https://wordpress.stackexchange.com/questions/314993/lost-the-wp-options-table-whats-the-best-way-to-restore-the-site

    Danny

    #1181857

    Hi Danny,

    Sorry for the late reply!

    Yes, please follow the instructions on the post you shared and let us know if it helps with the issues :)

    Best regards,
    Yigit

    #1182321

    Damn…
    Repair results say that all tables are OK
    But when i try to migrate the DB with my favorite tool “Migration database” from Deliciousbrains i get this.
    Migration failed
    A problem occurred when attempting to process the following table (#113) wp_options
    Status: 500 Internal Server Error
    Response:
    There has been a critical error on your website.

    – I tried it 20 times and the server has not been down
    – Setting “WP_DEBUG’, true” does not help since there is no output regarding that issue
    – The initial problem with not showing the actual colorscheme is still there

    What to do know? ;-(

    Danny

    #1182762

    I researched if creating a fresh wp_option on a new WP-installation and import it into the actual database like described on stackexchange is a solution but unfortunately not.

    To do so i would neet to export settings of:
    – Enfold
    – WPMU

    But WPMU has no export-function. The settings are stored in wp-option and so i would loose all settings.

    #1182789

    Now i did it.
    I created a new wp-option and imported it.

    1: All settings are gone….of course
    2: It looked good–the error when i used the “Migration database”-plugin was gone.
    3: So i started to rebuild menu, footer and so on….

    And then:
    a: elements had these warnings although the settings have been “Load all elements”
    [video src="https://flugtraeumer.de/temp/load-elements.mp4" /]
    b: when i replaced the default widgets (archive, calender) whith our old one the website crashed completely.
    Please look at the part where i open the sourcecode and Firebug – you will see that there is no content
    [video src="https://flugtraeumer.de/temp/content-gone.mp4" /]

    When i change the theme from “Enfold-Child” to the parent theme it seems to work – although the website is still horrible slow.

    So this means that there is something wrong with the functions.php and the debugger said it to:
    Fatal error: Uncaught Error: Call to undefined function tribe_is_month() in /usr/www/users/flugtr/flugtraeumer/wordpress/wp-content/themes/enfold-child/functions.php:37 Stack trace: #0 /usr/www/users/flugtr/flugtraeumer/wordpress/wp-includes/class-wp-hook.php(290): avia_events_breadcrumb(Array) #1 /usr/www/users/flugtr/flugtraeumer/wordpress/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array) #2 /usr/www/users/flugtr/flugtraeumer/wordpress/wp-content/themes/enfold/framework/php/class-breadcrumb.php(453): apply_filters('avia_breadcrumb...', Array, Array) #3 /usr/www/users/flugtr/flugtraeumer/wordpress/wp-content/themes/enfold/functions-enfold.php(506): avia_breadcrumbs(Array) #4 /usr/www/users/flugtr/flugtraeumer/wordpress/wp-content/themes/enfold/template-builder.php(43): avia_title() #5 /usr/www/users/flugtr/flugtraeumer/wordpress/wp-includes/template-loader.php(98): include('/usr/www/users/...') #6 /usr/www/users/flugtr/flugtraeumer/wordpress/wp-blog-header.php(19): require_once('/usr/www/users/...') #7 /u in /usr/www/users/flugtr/flugtraeumer/wordpress/wp-content/themes/enfold-child/functions.php on line 37

    All the content in my functions.php has once been provided by you.
    I putted it in the private field

    #1182840

    Hi,
    Sorry for the late reply, your videos look as though your content was gone, but as I check your site it seems as though everything is working ok, were you able to have it restored from a backup?

    Best regards,
    Mike

    #1183082

    As i mentioned one thread above:
    We imported a fresh “wp_options”, made all the settings again and than found out that we have TWO problems:
    1: WPML crashes the “wp_options” (this case will be solved here: https://wpml.org/de/forums/topic/crashed-wp_options/)
    2: The code in the functions.php (once provided by Enfold-mods) is not correct anymore, so we actually removed it from our functions.php

    Facts:
    – funtions.php is responsive for the lost content as shown in the video (reproducable)
    WPML responsive for the crashed DB

    What i need from you now is the overwhauled sequence from my functions.php regarding the eventscalendar

    Danny

    #1183457

    Hi,
    Ok, I added your functions above into my child theme, but because you posted it in the Private Content area all of the quotes were saved as “curly quotes” so I had to convert them to the correct quotes but then the only error I received was with this:
    include 'shortcodes.php';
    once I removed it I had no errors.
    I see that your events calendar function is copied from \enfold\config-events-calendar\config.php and modified to remove the links from the breadcrumb trail.
    and this code block doesn’t do anything:

    /* Proper way to enqueue styles and scripts
    */
    function theme_name_scripts() {
    wp_enqueue_style( 'style-name', get_stylesheet_uri() );
    }
    add_action( 'wp_enqueue_scripts', 'theme_name_scripts' );

    Best regards,
    Mike

    #1185250

    The only things i can say is:
    1: I have no clue about PHP
    2: Whatever is in the code has been provided once by Enfold mods to solve some issues

    So it does not make any sense to ask me about the code and why its there.
    But what i can say is: My site was completely foobar and it worked when i removed the code i mentioned.
    But i am not skilled enough to tell you why.

    Danny

    #1185620

    Hi,
    I was not asking you why, I was reporting what I found, so remove this:

    include 'shortcodes.php';

    and

    
    /* Proper way to enqueue styles and scripts
    */
    function theme_name_scripts() {
    wp_enqueue_style( 'style-name', get_stylesheet_uri() );
    }
    add_action( 'wp_enqueue_scripts', 'theme_name_scripts' );

    Sorry, I don’t know what you mean by “My site was completely foobar”

    Best regards,
    Mike

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.