Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#29574 closed defect (bug) (invalid)

Publishing Failed Only Blank White Page

Reported by: omnimobile's profile omnimobile Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.0
Component: Editor Keywords:
Focuses: Cc:

Description

Good day

First bug i notice is the failure to properly list set of text that is placed in every new line, you have to separate them with new line before you can list the set of text.

My second bug report is when i tried to make any URL to be clickable, adding the lines on my theme functions.php

add_filter( 'the_content', 'make_clickable',      12 );

then changing modifying a line in wp-includes/formatting.php into this

"<a href=\"$url\" target=\"blank\" rel=\"nofollow\">$url</a>"

After doing this, i now fail to publish any post.

Here is the backtrace log:

Backtrace from warning 'session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/admin/shareme.in/wp-includes/formatting.php:1)' at /home/admin/shareme.in/wp-content/plugins/si-captcha-for-wordpress/si-captcha.php 913:

/home/admin/shareme.in/wp-content/plugins/si-captcha-for-wordpress/si-captcha.php 913 calling session_start()
calling si_captcha_start_session()
/home/admin/shareme.in/wp-includes/plugin.php 505 calling call_user_func_array()
/home/admin/shareme.in/wp-settings.php 237 calling do_action()
/home/admin/shareme.in/wp-config.php 93 calling require_once()
/home/admin/shareme.in/wp-load.php 29 calling require_once()
/home/admin/shareme.in/wp-admin/admin.php 31 calling require_once()
/home/admin/shareme.in/wp-admin/post.php 12 calling require_once()
Backtrace from warning 'Cannot modify header information - headers already sent by (output started at /home/admin/shareme.in/wp-includes/formatting.php:1)' at /home/admin/shareme.in/wp-admin/post.php 233:

/home/admin/shareme.in/wp-admin/post.php 233 calling setcookie()
Backtrace from warning 'Cannot modify header information - headers already sent by (output started at /home/admin/shareme.in/wp-includes/formatting.php:1)' at /home/admin/sharepirate.com/wp-includes/pluggable.php 1173:

/home/admin/shareme.in/wp-includes/pluggable.php 1173 calling header()
/home/admin/shareme.in/wp-admin/post.php 81 calling wp_redirect()
/home/admin/shareme.in/wp-admin/post.php 236 calling redirect_post()

Change History (4)

#1 @omnimobile
10 years ago

Good day
First bug i notice is the failure to properly list set of text that is placed in every new line, you have to separate them with new line before you can list the set of text.
My second bug report is when i tried to make any URL to be clickable, adding the lines on my theme functions.php

add_filter( 'the_content', 'make_clickable',      12 );

then changing modifying a line in wp-includes/formatting.php into this

"<a href=\"$url\" target=\"blank\" rel=\"nofollow\">$url</a>"

After doing this, i now fail to publish any post.
Here is the backtrace log:

Backtrace from warning 'session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/admin/shareme.in/wp-includes/formatting.php:1)' at /home/admin/shareme.in/wp-content/plugins/si-captcha-for-wordpress/si-captcha.php 913:

/home/admin/shareme.in/wp-content/plugins/si-captcha-for-wordpress/si-captcha.php 913 calling session_start()
calling si_captcha_start_session()
/home/admin/shareme.in/wp-includes/plugin.php 505 calling call_user_func_array()
/home/admin/shareme.in/wp-settings.php 237 calling do_action()
/home/admin/shareme.in/wp-config.php 93 calling require_once()
/home/admin/shareme.in/wp-load.php 29 calling require_once()
/home/admin/shareme.in/wp-admin/admin.php 31 calling require_once()
/home/admin/shareme.in/wp-admin/post.php 12 calling require_once()
Backtrace from warning 'Cannot modify header information - headers already sent by (output started at /home/admin/shareme.in/wp-includes/formatting.php:1)' at /home/admin/shareme.in/wp-admin/post.php 233:

/home/admin/shareme.in/wp-admin/post.php 233 calling setcookie()
Backtrace from warning 'Cannot modify header information - headers already sent by (output started at /home/admin/shareme.in/wp-includes/formatting.php:1)' at /home/admin/shareme.in/wp-includes/pluggable.php 1173:

/home/admin/shareme.in/wp-includes/pluggable.php 1173 calling header()
/home/admin/shareme.in/wp-admin/post.php 81 calling wp_redirect()
/home/admin/shareme.in/wp-admin/post.php 236 calling redirect_post()

#2 @omnimobile
10 years ago

my whole site got mess up because of this clickable thing, too bad i dont have a backup for this month. i guess the white page after pressing the publish button is cause by the additional blank i added in formatting so that the link will open in new tab.

Hope someone can suggest something for me to be able to salvage my post because the export function doesnt work anymore

#3 @miqrogroove
10 years ago

  • Resolution set to invalid
  • Status changed from new to closed

This is not a support forum. If you broke your website by hacking the core files, then the solution is to restore the core files. The backtrace you posted clearly shows the formatting.php file is now corrupt.

#4 @SergeyBiryukov
10 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.