• I’ve installed probably more then 100 WordPress sites and never had a problem like this.

    I upload WordPress files to server via FTP, run the installation and after step 2 it start to give “too may redirects loop”. If I delete wp-config.php it goes back to install as usual.

    I can’t see .htaccess through ftp (bad configuration, I can’t configure the server), so I created a new one with regular WP rules and uploaded to overwrite the old one. Still too many redirects loop.

    Tried in a new subdirectory with a different table prefix and same database credentials. Same error.

    Forced www and non-www domains in wp-config.php for home_url and site_url. Still too many redirects loop.

    After that I tried to change home_url and site_url in wp_options with mysqli. No tables found. Created a simple script to connect to mysql with mysqli to test user permissions in database. It connects, the grants are all ok, CRUD working, but when I try to show tables, there are no WP tables, just the ones that I created using mysqli.

    The file permissions are all ok (755/644).

    I don’t have access to the server. It’s a shared host in bluehost and the client just gave me access to mysql and ftp. The website URL is ttp://suagendaonline.com.br

    Don’t know what else to do. Help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • That sounds like a server issue. Have you spoken to your hosts about it?

    Thread Starter Ricardo Gon?alves

    (@brgweb)

    Thank you for your reply @esmi. That’s exactly what I think but I’m installing in the client’s server and she is the one dealing with the hosting support.

    I’m trying to figure out what could cause it. But I know it’s really hard to find it out without having access to the server.

    I’ve never got deeper in the instalation process because I never had an issue with that, besides the regular file permissions, database or www redirects.

    I can upload the files, set the correct permissions, wp-config.php is created correctly and I can create tables with a custom script, but WP can’t create any tables.

    I know it’s a guessing game trying to find out what’s happening, but what could cause an error like this?

    Hey BRG, did you ever end up solving your problem?

    I have the exact same issue. Thing is, I run many domains within one hosting account, and they all work perfectly fine. And if I install Joomla, or some other CMS, it also works fine. But as soon as it’s WP, redirects, and GoDaddy says there’s an error in my application, no tables in the database, etc.

    This happened after I incorrectly “uninstalled” wordpress from my domain by simply going into FTP and deleting all the folders. Instead of using the automatic tool within GoDaddy. Could that have caused it?

    I really don’t know how to proceed in fixing this..

    Did you resolve it?

    @brg and @oodjee

    Had this issue a few times, and in 100% times was because of caching systems (caching in opcode, caching in php, caching in nginx, you name it :p).

    My issue in general was to flush the cache – because i was working on files on server while any caching was trying to do a cron / cache on it – then error 500 or various flavours of bugs. (yes it’s bad to work on production site).

    Hope it helps,

    Thread Starter Ricardo Gon?alves

    (@brgweb)

    I’m still waiting their solution for this…

    @oodjes Actually the first error that I got was a database user error that was misconfigured. After that I’ve deleted all files through ftp and tried the reinstall, but I’ve never used the script install. Always installed through ftp.

    @digico I’ll ask the host to turn off and flush all the caches to check if it’s the problem. But if that’s the case it’s a really bad configuration of cache, since I’ve stoped working on the files for more then one week and still had the problem.

    I’ll try these fixes and update you. Thanks for the help!

    @brg

    Hey! I was able to fix it. Well, technically GoDaddy operator did, but I was on the right track as well..

    So, the whole issue had to do with the .htaccess file that was somehow badly configured and was causing the redirect and bad install of wordpress which occurred in missing tables, etc. I saw someone mention this cause elsewhere, but I was looking for the .htaccess file within my domain’s folder, and couldn’t find it. Created a new one, nothing happened..

    But since this domain wasn’t a primary domain but was a folder within the root directory, I had to look within the root folder and change that .htaccess file.

    The GoDaddy operator simply disabled the root’s .htaccess and everything worked. There was some error code on the site, but no more redirects. So I uninstalled and re-installed, changed the .htaccess file, and everything is now fixed. I really don’t know if you have a similar issue or not, but I thought I’d add my solution to this for future readers searching for answers ??

    Thread Starter Ricardo Gon?alves

    (@brgweb)

    @oodjee, thanks for the update… When I first had the problem I thought it would be the .htaccess, but didn’t look at the root folder. I’ll forward this to the client, because I don’t have access to the root folder nor the support at bluehost and I’ll update here.

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘No tables and too many redirects’ is closed to new replies.