Support » Installing WordPress » Fatal Error during loading index page.

  • Resolved danieltubul


    Oh well, And here it goes again.
    I have uploaded my site to the new domain :
    and now it have this error :

    Fatal error: Call to undefined function wp_initial_constants() in /home/dantu/domains/ on line 33

    what should i do?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Although this one sounds more like an incomplete WordPress install, I do want to be sure you’ve read the relevant parts of because you can’t just upload a site from one domain to another without doing some other work.



    Forum Moderator

    Try re-uploading all files & folders – except the root wp-config.php & .htaccess files and the wp-content folder – from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

    Exept the wp-config.php only??? or another files?

    Upload everything from the new WordPress files except the following: “wp-config.php” file, “.htaccess” file and the “wp-content” folder.

    Well I have done all and now all seems to be “fine”
    but i have this error : “Error establishing a database connection”
    in the front page :

    Have you created the database on the server for WordPress to connect to? Have you configured your wp-config.php correctly? Do you have the correct database username, database password, and database location (url or IP address to the databse)? Your wp-config.php file needs this to be able to connect WordPress to the database.

    Well it seems that you were right.
    fixed most of the parts.
    but now, as always i have another problem.
    the website front page is loading all fine
    but the sub pages arent working well.
    They are not loading.
    but if you go right into them:
    they have some error.
    Maybe domain issue?

    Possibly. But check your WordPress permalink settings and click save/update. This should flush out any bad redirects.

    Okay! problem solved! 🙂

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Fatal Error during loading index page.’ is closed to new replies.