jjcorradi
Forum Replies Created
-
Forum: Themes and Templates
In reply to: child theme problem – blank pagestoday I tried to do the same installation on bluehost and on another hosting (www.aruba.it):
I did exactly the same things (except one: I changed the DB collation on Bluehost, it was set to latin Swedish – I don’t know why – and I changed to utf8_general_ci).
On aruba hosting everything is ok; on Bluehost I have the problem.
Every time I edit a post a blank screen is presented and – if I switch on the debug – the php error is reported:Warning: Cannot modify header information – headers already sent by (output started at /home6/omcapita/public_html/officinameccanica/wp-content/themes/omc/functions.php:12) in /home6/omcapita/public_html/officinameccanica/wp-includes/pluggable.php on line 866
If I delete my functions.php the same error is reported referring to /home6/omcapita/public_html/officinameccanica/wp-includes/functions.php
If I disable my custom theme and switch to plain thematic theme (new installation, nothing touched) the same error occurs.
If I switch to default WordPress theme the error disappears.Which kind of setting on the hosting platform can drive to this?
Forum: Themes and Templates
In reply to: child theme problem – blank pagesthe problem is still alive if I switch from my own thematic child theme to plain thematic.
Forum: Themes and Templates
In reply to: child theme problem – blank pagesI’m finding other people with the same problem, but still no solution
Forum: Themes and Templates
In reply to: child theme problem – blank pagesyes, you’re right… sorry but i’m going crazy.
lines 3587 and 866 refer to wp-includes/functions.php, which is not MY functions.phpForum: Themes and Templates
In reply to: child theme problem – blank pagesEnabled WP_DEBUG, the error returned is:
Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /home6/omcapita/public_html/officinameccanica/wp-includes/functions.php on line 3587
Warning: Cannot modify header information – headers already sent by (output started at /home6/omcapita/public_html/officinameccanica/wp-content/themes/omc/functions.php:12) in /home6/omcapita/public_html/officinameccanica/wp-includes/pluggable.php on line 866
Why does it speak about line 3587 and 866? The functions.php is 19 lines!
Forum: Themes and Templates
In reply to: child theme problem – blank pagesMy pippo_footer() just writes something in the footer (I changed the info with an xxx to make things easier).
When I say “put the two together” it means that my functions.php becomes:
<?php // // Custom Child Theme Functions // ?> <?php // modifica la struttura del footer function pippo_footer($thm_footertext) { $thm_footertext .= 'xxx'; return $thm_footertext; } add_filter('thematic_footertext', 'pippo_footer'); //end function ?>
This is the faulty functions.php (I don’t have any space or character at the end)
[Please post code or markup snippets between backticks or use the code button.]
Forum: Fixing WordPress
In reply to: problem with jQuery image tooltip scriptscorrection, now I understood completely.
the problem is not the superfish javascript, the keypoint is:In “no-confict” mode, the $ shortcut is not available and the longer jQuery is used.
Since the jquery automatically loaded by WP is in “no-confict” mode I must swap the “$” with “jQuery” in my script.
This way works perfectly with the last autoloaded versione of jquery even with the superfish enabled.
Forum: Fixing WordPress
In reply to: problem with jQuery image tooltip scriptsGot it!
The loading of jquery Superfish plugin, automatically included in thematic, for some reason conflicts with my tooltip scripts.
Excluding it with the
childtheme_override_head_scripts()
function it works!Happyness :)))
Forum: Fixing WordPress
In reply to: problem with jQuery image tooltip scriptsthks, I’ll check carefully.
anyway my situation is pretty simple: the script is embedded in the head section, that’s all.
I worked this way many other times without problems.
I’m afraid there’s somethjing to change in the script code, but I’m not so skilled.Forum: Plugins
In reply to: [Plugin: NextGen gallery] customize shutter nav buttonsGot it.
I didn’t find it because I was searching for « and »
Thanks a lot!