September 5, 2010 at 6:31 pm #1041
Well, Im quite upset….Ive made a huge error while upgrading.
Instead of putting the display folder into the themes folder of my current wordpress install, Ive gone and put all the files inside the Display folder into the root of my wordpress install.
I was tired and not concentrating properly.
Is there anyway to fix this?¿ I didnt backup or anything (I know, everyone says you should..)
I can still access the backend of my wordpress, all my posts and pages, etc are there and it all works fine. But when I access the website via my browser I get this error:
Fatal error: Call to undefined function get_header() in /home2/elchevir/public_html/index.php on line 1
What I suppose has happened is that some of the files are named the same as the core wordpress files and therefore some of the wordpress install files have been overwritten by the display theme files.
As I can still access the backend of my wordpress and all works there Im hoping someone can help me fix this problem Ive gotten myself into!
Ive downloaded the latest wordpress from their site and replaced my current index.php with the wordpress index.php file and it seems to work, my site is now accessible. But I dont know if any other files were replaced.
Also I now have all display files and folder in my root of my server……How can I fix this?¿
Jose.September 5, 2010 at 7:23 pm #33740
You’re lucky. The index.php file was the only file which has been replaced in the main wordpress folder. Any other folder, file, etc. of your wordpress installation has the same name as a Display theme folder/file – so the only thing you’ve to do is to create a display folder in your root directory and afterwards you can drag’n'drop the theme files into it. You can open your Display.zip archive to see the directory and file structure – so you can discriminate between themefiles and wordpress files. After you filled the Display folder just copy it back to yout themes directory. Don’t forget to upload index.php again!.
The topic ‘URGENT – HUGE ERROR WHILE UPGRADING’ is closed to new replies.