• I just switched my entire site over to my new host, and they did the transfer of files for me. But now my journal is giving me this error:

    @import url(
    Fatal error: Call to undefined function: wp_stylesheet() in /home2/jcarey/public_html/AliasJaneDoe/wordpress/index.php on line 56

    Can anybody help?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Did they accidentally upgrade you ?
    If not, they incorrectly transferred a file and caused an error, so you might be better to upload new core files (that is, just the files in /wp-admin and /wp-includes. Delete the old files in there first and for now, leave every other file alone.)

    Thread Starter aliasjanedoe

    (@aliasjanedoe)

    I replaced /wp-admin and /wp-includes with my back-ups. Still have the same error.

    You are running 1.2 ?

    Thread Starter aliasjanedoe

    (@aliasjanedoe)

    1.2.1, I think.

    Can we have a link to your site ?
    I’m puzzled as that call is a wierd one, and coupled with that line number it looks wierder.

    Thread Starter aliasjanedoe

    (@aliasjanedoe)

    You got the styleswitcher hack / plugin ?
    Try disabling that ?

    Or download index.php and then upload one that has the basic lines in the import url bit. This is from 1.2.1

    <style type="text/css" media="screen">
    @import url( <?php echo get_settings('siteurl'); ?>/wp-layout.css );
    </style>

    Thread Starter aliasjanedoe

    (@aliasjanedoe)

    How do I disable the styleswitcher hack? And how would I put it back after?

    Thread Starter aliasjanedoe

    (@aliasjanedoe)

    I tried restoring to an old index.php file before the styleswitcher, and I removed the styleswitcher plugin. Now my journal shows up but with no style, and much worse, with no posts! Help!

    Posts – yell at your host and ask them where your database went. They should have moved that and backed it up.

    Right now, backup all your files to your computer. Download them.

    I suggest that you use a completely fresh set of 1.2.1 files and once the database is restored by the host, you can get the blog going. After that, plugins can be done.

    Thread Starter aliasjanedoe

    (@aliasjanedoe)

    I attempted to back-up my journal before switching hosts. Is there a way I can restore it myself?

    Sure !
    Database backup is covered here:
    http://www.tamba2.org.uk/wordpress/backup/
    It’s at the bottom

    Thread Starter aliasjanedoe

    (@aliasjanedoe)

    I just tried the restore and got this:

    There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem

    ERROR: Unknown Punctuation String @ 237
    STR: />
    SQL: — phpMyAdmin SQL Dump
    — version 2.6.0-pl3
    http://www.phpmyadmin.net

    — Host: localhost
    — Generation Time: May 12, 2005 at 01:09 AM
    — Server version: 4.0.22
    — PHP Version: 4.3.9

    — Database: jcarey_AliasJaneDoe

    <b>Warning</b>: Cannot modify header information – headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/export.php:120) in <b>/usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/ob.lib.php</b> on line <b>61</b>

    <b>Warning</b>: Cannot modify header information – headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/export.php:120) in <b>/usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/header_http.inc.php</b> on line <b>14</b>

    <b>Warning</b>: Cannot modify header information – headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/export.php:120) in <b>/usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/header_http.inc.php</b> on line <b>15</b>

    <b>Warning</b>: Cannot modify header information – headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/export.php:120) in <b>/usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/header_http.inc.php</b> on line <b>16</b>

    <b>Warning</b>: Cannot modify header information – headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/export.php:120) in <b>/usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/header_http.inc.php</b> on line <b>17</b>

    <b>Warning</b>: Cannot modify header information – headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/export.php:120) in <b>/usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/header_http.inc.php</b> on line <b>20</b>
    <?xml version=”1.0″ encoding=”iso-8859-1″?><!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”http://www.w3.org/1999/xhtml&#8221; xml:lang=”en” lang=”en” dir=”ltr”>

    <head>
    <title>phpMyAdmin</title>
    <meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ />
    <base href=”http://www.different-dimension.com:2082/3rdparty/phpMyAdmin/&#8221; />
    <script language=”JavaScript” type=”text/javascript”>
    <!–
    /* added 2004-06-10 by Michael Keck
    * we need this for Backwards-Compatibility and resolving problems
    * with non DOM browsers, which may have problems with css 2 (like NC 4)
    */
    var isDOM = (typeof(document.getElementsByTagName) != ‘undefined’
    && typeof(document.createElement) != ‘undefined’)
    ? 1 : 0

    SQL-query:

    — phpMyAdmin SQL Dump — version 2.6.0-pl3 — http://www.phpmyadmin.net — — Host: localhost — Generation Time: May 12, 2005 at 01:09 AM — Server version: 4.0.22 — PHP Version: 4.3.9 — — Database: jcarey_AliasJaneDoe
    Warning: Cannot modify header information – headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/export.php:120) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/ob.lib.php on line 61

    Warning: Cannot modify header information – headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/export.php:120) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/header_http.inc.php on line 14

    Warning: Cannot modify header information – headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/export.php:120) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/header_http.inc.php on line 15

    Warning: Cannot modify header information – headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/export.php:120) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/header_http.inc.php on line 16

    Warning: Cannot modify header information – headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/export.php:120) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/header_http.inc.php on line 17

    Warning: Cannot modify header information – headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/export.php:120) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/header_http.inc.php on line 20

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘switched host, now journal gives fatal error (undefined function)’ is closed to new replies.