TOO_MANY_REDIRECTS

joyeti / 2014-07-22 20:49:15   

Hello, I've made a website for a friend with indexhibit,
fransgentils.com and all of the sudden, it seems to be stuck in a redirect loop,in all browsers, and different users on different pcs.

chrome states this:
ERR_TOO_MANY_REDIRECTS

I'm not using redirect option in my server panel, so I do not get it.
Any idea where to start looking to solve this problem?

my ht acces file looks like this:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteRule ^(.+) index.php

Vaska A / 2014-07-23 01:21:17   

"all of the sudden"

How long did it work? Was the site hacked?

joyeti / 2014-07-23 11:27:58   

For two months

joyeti / 2014-07-23 11:28:20   

Hacked, no idea, how can I check?

Vaska A / 2014-07-23 12:09:56   

Look at the root index.php - I bet there is code before the first 'body' tag - it should not be there.

Also, if you have backed up the site you could simply restore files that worked properly...

joyeti / 2014-07-23 13:36:52   

I did not realise godaddy did not make automatic backups, unfortunately.
All content still sits there,under ndxzstuduio but I've lost the index.php in the rtoot

First I did a drupal installation, but I did not remove it decently.
Then I did a indexhibit installation, and it worked for two months.

Maybe a conflict occured, while running. MOnly drupal index was there.yesterday.

Can I just use the source index.php file, and connect it to the content again?

joyeti / 2014-07-23 13:37:39   

With source index.php I mean index.php from installation package

Vaska A / 2014-07-23 13:40:06   

You can try that. But, backup your files first - just in case...

You can reupload any files you have not customized (like your theme). And, you can reupload ndxzstudio BUT NOT ndxzstudio/config/config.php.

Again, backup first and it could alleviate any really bad headaches (even if your site has been hacked those files could be useful).

Vaska A / 2014-07-23 13:40:56   

Normally, a hacked site, all index.php files throughout the system are hacked - replacing just the one root file will likely not resolve the problem. But try it first...

joyeti / 2014-07-23 13:54:55   

nope, putting index.php in root doesnt work. Blanc screen.
Yesterday I did a backup, in this backup Index.html in ndxzsite is empty (0 bytes), so this is hacked to?
Does index.html hold, the site structure?

Vaska A / 2014-07-23 13:59:10   

No, it should be empty...

joyeti / 2014-07-23 14:03:47   

So I guess I should reinstall, and then upload the content again?
Where is the site structure? in config.php?

thanks

Vaska A / 2014-07-23 14:07:18   

No, replace your files - I've described this in a post previously (above).

The "site structure"? I'm not sure what you mean...database?

joyeti / 2014-07-23 14:22:07   

hi vaska

It was a site holding a menu structure and img descriptions.
is this infromation all in the database?

I did not compeltely get your instructions, I have to re-upload
all files from the source indexhibit package, except the ones in the customized directories?
(such as directory 'files' , the theme directory 'default' in the root, and 'config.php')?

thanks

Vaska A / 2014-07-23 14:41:37   

Your site is back!

joyeti / 2014-07-23 15:22:52   

thanks, indeed, UP and running! (forgot to clear browser cache)

- cheers!!!!

This thread has been closed, thank you.