Forums

[resolved] Mostly fixed Free GoDaddy hosting but line 633 giving errors (5 posts)

  1. abbeynormal
    Member
    Posted 1 year ago #

    This is listed at the top of each dashboard page:

    Warning: file_get_contents() [function.file-get-contents]: Filename cannot be empty in /home/content/d/i/e/dieinafire/html/wp-includes/script-loader.php on line 633

    Most of the dashboard works fine, but I cannot upload photos in posts. I have followed the directions in the first post on this page:
    http://wordpress.org/support/topic/dashboardadmin-css-broken-godaddy-free-hosting-install/page/4?replies=102

    I don't see anywhere to disable permalinks in the settings panel though.

    Once I start earning revenue though the damn site I'll gladly pay for hosting, but for now I don't mind dealing with the ads, I just want the damn dashboard to work all around.

  2. abbeynormal
    Member
    Posted 1 year ago #

    The message is also listed at the bottom of each dashboard page as well.

  3. Samuel B
    moderator
    Posted 1 year ago #

    I don't see anywhere to disable permalinks in the settings panel though.

    dashboard - settings - permalinks
    or
    delete the wordpress .htaccess file with an ftp client or use the file manager at godaddy

  4. abbeynormal
    Member
    Posted 1 year ago #

    Ok, no permalinks to disable, no .htaccess file, so this still does not solve the error at the top and bottom of the dashboard pages:

    Warning: file_get_contents() [function.file-get-contents]: Filename cannot be empty in /home/content/d/i/e/dieinafire/html/wp-includes/script-loader.php on line 633

  5. abbeynormal
    Member
    Posted 1 year ago #

    Got it working took this out:

    // **********************************************
    // Clean for godaddy free hosting
    $st_data = file_get_contents( $src );
    $st_data = substr( $st_data, 0, strrpos( $st_data, '</iframe>' ) );
    echo "<script type='text/javascript'>\n";
    echo $st_data;
    echo "</script>\n";
    // **********************************************

    It was for WP 2, I'm on 3.0.4.

Topic Closed

This topic has been closed to new replies.

About this Topic