• jessicaliveart

    (@jessicaliveart)


    Dear all,

    After I change my window hosting to Linux hosting, my WordPress-based website(www.alive-art-gallery.com ) can not run well any more, any one knows how to solve it , the error hints as below:

    Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by (output started at /home/content/a/l/i/aliveart/html/wp-config.php:1) in /home/content/a/l/i/aliveart/html/wp-content/plugins/wp-e-commerce/merchants/paypal_certified.php on line 786

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/content/a/l/i/aliveart/html/wp-config.php:1) in /home/content/a/l/i/aliveart/html/wp-content/plugins/wp-e-commerce/merchants/paypal_certified.php on line 786

    Tks in advance.

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

    (@macmanx)

    You have unexpected whitespace (either a single space or an entire line) on line 1 of the wp-config.php file. See this for more info:

    http://codex.ww.wp.xz.cn/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F

    Thread Starter jessicaliveart

    (@jessicaliveart)

    Tks. But after I done as the suggestion, the new error came as below:

    Fatal error: Call to undefined function wp() in /home/content/a/l/i/aliveart/html/wp-blog-header.php on line 14

    What should I do now?

    Moderator James Huff

    (@macmanx)

    Try changing your security keys in the wp-config.php file.

    Thread Starter jessicaliveart

    (@jessicaliveart)

    BY THE WAY,in /home/content/a/l/i/aliveart/html/wp-blog-header.php on line 14 IS wp();
    ANY PROBLEM WITH IT?

    Moderator James Huff

    (@macmanx)

    Not that I see. Try changing your security keys.

    Thread Starter jessicaliveart

    (@jessicaliveart)

    Dear, have changed the security keys. but still the same error:

    Fatal error: Call to undefined function wp() in /home/content/a/l/i/aliveart/html/wp-blog-header.php on line 14

    Moderator James Huff

    (@macmanx)

    Well then, that is a problem. Download WordPress again and upload new copies of the /wp-admin/ and /wp-includes/ directories.

    http://ww.wp.xz.cn/download/

    Thread Starter jessicaliveart

    (@jessicaliveart)

    Hi reuploads the /wp-admin/ and /wp-includes/ directories, but the same error:

    Fatal error: Call to undefined function wp() in /home/content/a/l/i/aliveart/html/wp-blog-header.php on line 14

    Moderator James Huff

    (@macmanx)

    That is a pain. Try downloading WordPress again and re-upload everything except the /wp-content/ directory. You’ll have to move the data from your wp-config.php file to the wp-config-sample.php that comes with the download and rename it to wp-config.php . Basically, you’re re-installing everything except the /wp-content/ directory and the database.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Get help: Warning:Session-start’ is closed to new replies.