Password Reset and Database Not Installed

bfbkn / 2013-02-06 13:41:07   

I'm having issues re-logging in after logging out, downloaded the reset2.php, and get this:

Warning: require_once(../ndxzsite/config/config.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/57/10392457/html/fabrik/ndxzstudio/reset2.php on line 17

Fatal error: require_once() [function.require]: Failed opening required '../ndxzsite/config/config.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/57/10392457/html/fabrik/ndxzstudio/reset2.php on line 17

The site was working fine before logging out.

Also, I don't see a config.php file in /ndxzsite/config, I have config.example.php.

I did try re-naming it to config.php, but that caused another error message so I set it back. I also tried editing the link name in reset2.php line 17 to point to config.example.php, then set it back. Right now my site says 'Database Not Installed' (bastafabriken.com).

One note, this site's installed alongside another in the hosting (meaning 2 sites are hosted side by side, one WordPress, one this — in /fabrik), is it a matter of changing the ../config/ naming in the reset.php file line 17? (not sure how the naming system works, and after trying a few options left it as it is).

Let me know - as it stands my site's dead.
Thanks.

Vaska A / 2013-02-06 13:51:34   

Did you delete the config.php? That's clearly what's missing...

bfbkn / 2013-02-06 13:54:01   

Thanks Vaska,

No, that's how it came installed (in the download folder too).
I thought renaming it might help, but seemed to make things worse.

Vaska A / 2013-02-06 14:09:59   

Then you haven't installed it - without the config.php file your site can not function.

Uploading to the server is only the first step in installation.

bfbkn / 2013-02-06 14:14:48   

Not sure what that means - it was installed and working fine.

The file in the download installation folder is named config.example.php,
the file on the server is named config.example.php - I didn't change or rename it.

Are you saying I should re-install? And if so, won't it still be called config.example.php instead of config.php?

Vaska A / 2013-02-06 14:18:46   

What I'm saying is that you deleted config.php - your site absolutely will not work without it. You will need to recreate that file manually with the database info and things will be ok then. You can use the config.example.php file as the template...

Failing that, you will need to reinstall - which I hope you don't need to do.

bfbkn / 2013-02-06 14:25:28   

Thanks,

In recreating the file manually, do I add the info in the second column list (db name, user, pass, host, etc), then upload the file into /config?

Vaska A / 2013-02-06 14:27:19   

Yes. If it's too much for you to do, let me know and I'll help out...

bfbkn / 2013-02-06 14:48:16   

Ok, I got to the screen that says hopefully it worked, the go to login screen but index1 / exhibit don't work - I run out of login attempts.

The site itself now has a 404 Not Found message.

Vaska A / 2013-02-06 15:10:42   

Geez, what happened here? If you send me your hosting and ftp login I will take a look. My guess is that more files are missing or something is just not right with the database...

contact at indexhibit dot org

Vaska A / 2013-02-06 18:29:29   

This is resolved. I'm not sure how it all happened but we needed to recreate the config.php file. It was created and it was working, but, it had the wrong prefix for the tables in the database so it was crashing (it needed to be ndxzbt_).

All good now...

This thread has been closed, thank you.