Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #256687

    Greetings –

    I am attempting to use your theme with http://getpantheon.com and I am getting the following error on activation and viewing.

    Warning: session_start(): user session functions not defined in /srv/bindings/uuid/code/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 33
    Fatal error: session_start(): Failed to initialize storage module: user (path: ) in /srv/bindings/uuid/code/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 33

    Please see this article: http://helpdesk.getpantheon.com/customer/portal/articles/1505741

    Is there any way this theme could be made to work with this hosting? You can get a free account for dev for testing.

    Thanks

    bcj

    • This topic was modified 10 years, 6 months ago by bcjenkins. Reason: comma in tags
    #256691

    If I comment out line 33 in masonry_entires.php and line 27 in portfolio.php the site loads. I do not know if this breaks anything though.

    #257210

    Hi!

    If the host doesn’t support the individual session saving then that would cause that error. You can also disable portfolio breadcrumbs on each individual portfolio by settings its parent in the Layout meta box.

    So no it will not cause any issues but it will mean you need to set the parent breadcrumbs to make sure it still recognizes your structure.

    Best regards,
    Devin

    #257225

    Hi Devin,

    That doesn’t seem to apply to the breadcrumb setting on the header section. I reapplied the theme without my changes after setting the header option for Header Title and Breadcrumbs to “Hide Both”. The error still exists.

    Perhaps I am doing this wrong?

    bcj

    #257228

    I forgot its actually in its own meta box but on portfolio items you can set the hierarchy itself with this option:

    #257247

    Devin,

    I went through the portfolio items and selected a specific page for the breadcrumbs but the issue persists.

    Thanks for your help

    #257261

    You may be interested in knowing that the problem existed prior to importing the sample content as well. This leads me to believe, the portfolio element isn’t necessarily going to help.

    #257512

    Hey!

    Insert this code into the enfold/functions.php file or into the child theme functions.php file:

    
    add_theme_support('avia_no_session_support');
    
    

    It will deactivate the breadcrumb session and should fix the warning message.

    Best regards,
    Peter

    #257557

    Thank you, Peter!

    This solved the problem. Will I have to make this change every time there is an update?

    Best regards,

    bcj

    #257566

    Hey!

    If you place this code in the child theme functions.php file you don’t need to update the file. If you modify the parent theme functions.php then you must modify it again, yes.

    Best regards,
    Peter

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