Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 19th May 2015, 03:01 AM   #1
Warrior Member
 
Join Date: 2015
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default
anyone can help me to fix this wp errors?
Share on: 
fb share twitter share gplus share more share

I just transferred a new WordPress site from my old server to Hostforlife.eu hosting account. The site works fine on my old server. No errors or anything. Once I copied all files to the Hostforlife hosting account though, the homepage displays but with the following errors above it:

Code:
wp-content/plugins/business-directory-plugin/wpbusdirman.php on line 706

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/85/10284985/html/wp-content/themes/hcdla/functions.php:1) in /home/content/85/10284985/html/wp-content/plugins/business-directory-plugin/wpbusdirman.php on line 706
When I try to access the admin panel, nothing displays and I get these errors:

Code:
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/85/10284985/html/wp-content/themes/hcdla/functions.php:1) in /home/content/85/10284985/html/wp-content/plugins/business-directory-plugin/wpbusdirman.php on line 706

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/85/10284985/html/wp-content/themes/hcdla/functions.php:1) in /home/content/85/10284985/html/wp-content/plugins/business-directory-plugin/wpbusdirman.php on line 706

Warning: Cannot modify header information - headers already sent by (output started at /home/content/85/10284985/html/wp-content/themes/hcdla/functions.php:1) in /home/content/85/10284985/html/wp-includes/pluggable.php on line 876
I've opened my functions.php file and there are no blank spaces before or after the php. Here is the code though, just in case I am missing something:

Code:
<?php
// Define Menu //
function register_my_menus() {
  register_nav_menus(
    array(
        'top-menu' => __( 'Top Menu' ),
        'footer-menu' => __( 'Footer Menu' )
    )
  );
}
add_action( 'init', 'register_my_menus' );

// Define Sidebars //
if ( function_exists('register_sidebar') )
register_sidebar(array('name'=>'Sidebar One',
'before_widget' => '<div class="widget-col2">',
'after_widget' => '</div>',
'before_title' => '<h2>',
'after_title' => '</h2>',
));

// Force Editor to Use Style.css //
add_editor_style();

// Removes empty paragraphs //
add_filter('the_content', 'remove_empty_p', 20, 1);
function remove_empty_p($content){
    $content = force_balance_tags($content);
    return preg_replace('#<p>\s*+(<br\s*/*>)?\s*</p>#i', '', $content);
}
?>
Your help is appreciated Thank you!
Meghannn is offline  
Unread 19th May 2015, 03:54 AM   #2
Bananas are Yellow!
Registered Member
War Room Member
 
David Beroff's Avatar
 
Join Date: 2013
Location: Wyoming, PA, USA
Posts: 1,046
Thanks: 2,549
Thanked 1,600 Times in 928 Posts
Blog Entries: 4
Default
Re: anyone can help me to fix this wp errors?
Share on: 
fb share twitter share gplus share more share

So what's in wp-content/plugins/business-directory-plugin/wpbusdirman.php on line 706?

Put MY voice on YOUR video: AwesomeAmericanAudio.com
David Beroff is offline  
Unread 20th May 2015, 05:26 AM   #3
Niche Websites Buildiers
War Room Member
 
topnichewebsites's Avatar
 
Join Date: 2012
Location: Annapolis, Maryland - USA
Posts: 857
Thanks: 62
Thanked 171 Times in 169 Posts
Default
Re: anyone can help me to fix this wp errors?
Share on: 
fb share twitter share gplus share more share

Try to copy everything between the <?php and ?> (do not copy the lines with the <?php and ?>). Open a new file, type in <?php ?> and paste in the code you copied. Re-upload and see if it works.

http://pixelcovers.com/ <- eBook add eCovers

https://www.unicommercesolutions.com <- WordPress Websites and Maintenance
topnichewebsites is offline  
Unread 26th May 2015, 07:25 PM   #4
Active Warrior
 
Join Date: 2014
Location: Oregon, USA
Posts: 56
Thanks: 17
Thanked 9 Times in 9 Posts
Default
Re: anyone can help me to fix this wp errors?
Share on: 
fb share twitter share gplus share more share

You need to do a few things. It sounds like you have some kind of authentication system in place on that plugin since it can't start the session, and since its activated when you transferred you're getting an error, probably because of the ip change.

So here's what you need to do to resolve this.

1.) disable plugins manually since you can't access admin area. Link below
https://www.ostraining.com/blog/word...dpress-plugin/

2.) restore the plugins with the exception of the plugin that is throwing the error.

3.) query your wp database searching for instances of your old url - make sure everything in the database matches your new domain name.

Might want to contact the maker of the plugin if you're unable to troubleshoot/reverse engineer the error.

Hope this helps.

Best,
Will
Techalo is offline  
Closed Thread


Bookmarks

Tags
errors, fix


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 04:18 PM.