Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #684105

    So being a beginner, I attempted to edit the functions.php file to implement a widget box into the header so I can be able to place text in that my client wanted, WHAT HAPPEND WAS! It created this funky code ontop of my page.. Mind telling me how to 1: Fix the Error and 2: How to implement the header widget so I don’t make a mistake like this again?

    Thank you Very Much: The Code is here.

    Warning: session_start(): Cannot send session cookie – headers already sent by (output started at /websites/123reg/LinuxPackage21/at/oz/_i/atoz-ins.co.uk/public_html/wp-includes/functions.php:1) in /websites/123reg/LinuxPackage21/at/oz/_i/atoz-ins.co.uk/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 32

    Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /websites/123reg/LinuxPackage21/at/oz/_i/atoz-ins.co.uk/public_html/wp-includes/functions.php:1) in /websites/123reg/LinuxPackage21/at/oz/_i/atoz-ins.co.uk/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 32

    Thank you again..

    Zain

    #684327

    Hey Zain,

    Thanks for reaching out to us!

    Please remove the changes you made to the functions.php file. Then you can follow these instructions here to add a widget area to the header – http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/

    Let me know if you need any further assistance.

    Best regards,
    Jordan

    #685002

    I tried to replicate as been told and this problem occurred.. So I attempted to re download the theme with no prevail.. Can you help with this?

    Warning: require_once(config-wpml/config.php): failed to open stream: No such file or directory in /websites/123reg/LinuxPackage21/at/oz/_i/atoz-ins.co.uk/public_html/wp-includes/functions.php on line 30

    Fatal error: require_once(): Failed opening required ‘config-wpml/config.php’ (include_path=’.:/usr/local/php56/share/pear:/usr/local/php56/share/php’) in /websites/123reg/LinuxPackage21/at/oz/_i/atoz-ins.co.uk/public_html/wp-includes/functions.php on line 30

    #687485

    Hi,

    Please add following code to functions.php file in Appearance > Editor

    add_theme_support('avia_no_session_support');

    Best regards,
    Yigit

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