• Hi, I am using wordpress 3.6.1, the delicate theme. every time that I try to upload an image for the header it shows this writng below, and I cannot do it at all:

    Warning: Cannot modify header information – headers already sent by (output started at /htdocs/public/www/wp-content/themes/delicate/functions.php:26) in /htdocs/public/www/wp-includes/pluggable.php on line 875

    How can i fix it?

    Thank you for your attention!!

    Piero

Viewing 15 replies - 1 through 15 (of 29 total)
  • Moderator James Huff

    (@macmanx)

    You have unexpected whitespace (either a space or an entire line) on line 26 of the /wp-content/themes/delicate/functions.php file. See this guide for more info.

    Alternatively, replacing the file with one from a fresh download may resolve the issue.

    Thread Starter Piero Verona

    (@piero-verona)

    Hey MacManx, thank you a lot, it actually worked!

    Just another question: I cannot open or see some pages of the website; every time that i try it appears this writing

    Not Found

    The requested URL /riso-testa-novara-visite-cascina-e-degustazioni was not found on this server.

    Do you have an idea what the cause might be?

    Thank you a lot!

    Moderator James Huff

    (@macmanx)

    Try re-saving your permalink structure at Settings/Permalinks in your admin panel. If WordPress cannot automatically edit the .htaccess file, it will provide manual instructions after saving.

    Thread Starter Piero Verona

    (@piero-verona)

    Thank you MacManx!
    I did it, and now I can see the pages but it appears this writing: Warning: mysql_real_escape_string() expects parameter 1 to be string, object given in /htdocs/public/www/wp-includes/wp-db.php on line 880
    What does it mean?

    Two last questions (I am sorry to bother you this way)!
    1) I am using the plugin wordpress seo by yoast. My website is in Italian and in English (I’m using the q Translate plug-in). Do you know wether there is any chance to optimise it in both languages?
    2) All the menu voices are pages except a the blog page (which is a category). Is there any chance to get them to work all the same?

    Thank you a lot!!!!

    Moderator James Huff

    (@macmanx)

    Where does that error appear at?

    As for the other questions:

    1. You’d need to ask over at https://www.ads-software.com/support/plugin/wordpress-seo

    2. Sure, you can build your own menu at Appearance -> Menus in your blog’s Dashboard.

    Thread Starter Piero Verona

    (@piero-verona)

    Thank you MacManx.
    It appears at the beginning of the page for the “blog page”(whic is a category), while for all the other pages it appear above the menu bar.

    Moderator James Huff

    (@macmanx)

    What is the URL of your site?

    Thread Starter Piero Verona

    (@piero-verona)

    The URL is https://www.risotesta.it/, but unfortunately you can only see the old version of the website (which I did using dreamweaver), while the new one in not on-line yet. If you want I can send you a screenshot.

    Anyway, I tried to change the permalink settings using the “default” option, and in that case it works (but of course I would like the permaling to have the same name of the page) what should i do?

    Yes I build my own menu, but the thing is that, The Category of the menu doesn’t work like the others voices of the menu (which are pages). I mean the navigation link color and the navigation hover color are the same but when you click on it the color is different. I have to say that I modified the css of the menu using firebug, and it worked for the pages but not for the category (I cannot modify the color of the voice of the menu when you click on it).
    Thank you a lot!

    Moderator James Huff

    (@macmanx)

    For the permalinks, ask your hosting provider if mod_rewrite is installed and active on your server.

    As for the CSS, I’ll definitely need to actually see the site to be of any help there.

    Thread Starter Piero Verona

    (@piero-verona)

    Ok I will. As for the CSS I’ll get back to you soon as the website will be on-line.

    One last thing: I have tried several of the gallery options and can’t get the images to appear as thumbnails where the width and length are the same size in each image for a uniform look.
    Do you know what should I do? I don’t know why but some of the thumbnails are the same size (even though the original pictures don’t are the same size), and some others are not!

    Thank you a lot!

    Moderator James Huff

    (@macmanx)

    Are you using Jetpack? If so, make sure the mosaic option isn’t checked at Settings -> Media.

    Thread Starter Piero Verona

    (@piero-verona)

    Hey MacManx, thank you, I have just uploaded the plugin Jetpack, but it looks like my web host doesn’t support it. Anyway I’ll double check with them and I’ll let you know. Menawhile do you know wether there is any other options? thank you a lot!

    Moderator James Huff

    (@macmanx)

    Can you give us a link to a page with a broken gallery?

    Thread Starter Piero Verona

    (@piero-verona)

    Thank you MacManx, the website will be soon on-line, then I’ll give you the link! cheers!

    Moderator James Huff

    (@macmanx)

    Thanks, just let us know when it’s ready. ??

Viewing 15 replies - 1 through 15 (of 29 total)
  • The topic ‘Cannot modify header information’ is closed to new replies.