Weird Re-Direct to Install
URL to your eFiction: http://www.ericnorthman.net/fanfic/
Version of eFiction: updated
Have you bridged eFiction, if so with what?: no
Version of PHP: 5, I think
Version of MySQL: 5.0.51a
Have you searched for your problem: yes
If so, what terms did you try: install, redirect
State the nature of your problem: I've been running efiction for over two years, but yesterday it randomly started redirecting to the install directory, which doesn't exist. I've made no changes to any code. It just started happening for seemingly no reason, and I don't know how to fix it.
That's pretty odd... Here is a quick fix.
header.php, around line 52 you should see:
Comment it out/delete it.
But before you do that, go to config.php and make sure $sitekey is defined. It wouldn't hurt to check phpMyadmin to double-check your sitekey in fanfiction_settings either. 🙂
I deleted that piece of code (and yes, the sitekey is in the config file), and now I'm getting:
Fatal error: Call to undefined function dbquery() in /home/edeainfj/ericnorthman.net/fanfic/header.php on line 76
Woops. You should probably add that in again. XD Sorry!
This is odd b/c it should work if the sitekey is involved.
It seems that the include to config.php might not be working then. Remove the @ in front of the include and see what errors pop up.
That @ in front of the include? I don't understand what this means. 😳
Okay, I saw what you meant and deleted the @, but it didn't do anything different. This is so weird. No files had changed or anything, it just started redirecting to the install directory. Makes no sense.
Sure. Can you email me, and I'll send you the info? My email is edeainfj at gmail.