First I have an existing site that uses the domain name of jamacast.com. I am trying to do a complete rebuild of this site on another server at hostmonster.com. I have created this account and have used the fantastico Drupal 6.6 installer. I have not yet pointed my domain over to this new hostmonster server location as of yet because I want to get everything built and tested first. The other server is still live. So for now the way to access this test site is by using a url like http://74.220.203.59/~jamacast/
Everything from the fantastico installer seems to have worked fine and I chose to install Drupal to the default root location. I was asked to create an Admin password which I did and there were no errors. When I visit the above url it shows a Drupal install with the Welcome to your new Drupal website! and the login section to the left. All looks well at this point, but when you try any link or try to login you always get this browser error:
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
* This problem can sometimes be caused by disabling or refusing to accept
cookies.
I checked the cookies setting and they are accepting all cookies. The site was originally setup by using an already existing domain of jamacast.com because this is the domain I will be using once I have finished testing it. Is this problem due to the Drupal installer expecting it to be jamacast and not the url above. do I need to reinstall the Drupal system using the URL above or will this then be stuck this way when I go and point my real domain at it later?
Or should I remove this install and try to register a new domain with any name and build the site after I have pointed this new domain at it and then later just point my original domain at it. I find this very confusing but I think Drupal finds the url confusing maybe too. Is there possibly a very simple fix I have over looked. Looking for any suggestions for this.
Thanks
Eric
Comments
htaccess
Hmmm... the redirect for me is going in an infinite loop. Try replacing your .htaccess file with the default one.
=-=
Why would you use drupal 6.6 ? The latest release is drupal 6.9 and is more secure and bug free than drupal 6.6
beyond that it's a known problem using fantastico type installs in a production environment. Updating and upgrading those installs can be a real headache.
Drupal 6.6
Thank you for that info, I might try doing a manual install from a 6.9 tar file, good idea.
Thanks
Eric
Your menu links are wrong.
Your menu links are wrong. They don't go to /~jamacast
Try to
- set
RewriteBase /~jamacastin Drupal's .htaccess file (and remove the front #).- if it still doesn't work, set
$base_url='http://74.220.203.59/~jamacast';in your sites/default/settings.php file (If it doesn't let you save the file, you may need to chmod the settings.php file to 644 and the containing directory "default" to 755 first.)htaccess
I'll give this a quick try and if no help I'll go ahead and reinstall using a 6.9 file manually as mentioned earlier. Thanks for the help on this.
Eric
OMG Thank you!
I don't know why it took so long to find your post but I've spent 2 weeks looking for this answer to my problem and this solution worked when all others regarding the infinite redirect problem did not! Thank you so much for being smarter than me! ;)
It Worked !!
Hello guys, cog.rustys suggestions worked out fine for fixing the problem, thanks a whole bunch cog. I went ahead and installed using fantastico, oops, not what was suggested to do from verymisunderstood, sorry, got ahead of myself. I hope this doesn't make problems for me down the road. I did successfully perform an upgrade to version 6.10 manually though. This is a good sign so far. My hosting site could be more aggressive with keeping up with the latests versions though. Thanks again guys for the help.
Eric
Good to know that it worked.
Good to know that it worked. I knew that theoretically it should work, but I have suggested it before and never heard back.
If you move to a regular domain, don't forget to undo the changes.
htaccess help
Hello, I have made the change with my real domain jamacast.com now using the host provided name servers to point to my site. The new site does appear but upon first logging in I received a 404 error and the url is http://74.220.203.59/~jamacast/node. with clicking the browser back button and then logging in again it allows me to login but the url is incorrect is shows http://www.jamacast.com/~jamacast/node?destination=node. I also noticed that if I go to any content I have already previously added to the site such as a blog or audio content it show a url like http://www.jamacast.com/~jamacast/content/canyoning-asaguare. All of the visible content is good, however with an audio content while clicking on the player play button it always says error opening file. I know this is all related to the paths but I went back into the .htaccess file and remarked out the RewriteBase /~jamacast line with a pound sign. Am I missing something here?
edit:
A couple of other things I noticed are, if I manually change a url like http://jamacast.com/~jamacast/admin/build/modules to http://jamacast.com/admin/build/modules. They both seem to operate the exact same way showing content and both give the audio play error cant open file. It seems as though there is a duplication happening? Also I only get the 404 error on logging into the site never anywhere else.
Thanks
Eric
=-=
is there a $base_url set in settings.php?
Have you cleared your cache tables in the database?
Cache
I was just looking into how to go about clearing cache again , I think I have a link in my recent comments on this, I'll check it out. Rewrite base is doing exactly what it was designed to do "Rewrite" ha. I'll look into the settings.php file to see.
Thanks VeryMisunderstood,
Eric
Change RewriteBase /~jamacast
Change
RewriteBase /~jamacastback toRewriteBase /in Drupal's .htaccess file?Also check your sites/default/settings.php file. If you have set a
$base_url='http://74.220.203.59/~jamacast';either change it to$base_url='http://jamacast.com';or just disable it with a front #. That should fix the menu links problem.If your changes to the settings.php file are not saved, you may need to change the permissions of the "settings.php" file and of its containing directory "default" first (because Drupal write-protects them both automatically).
It is possible that you will need to fix some links of already uploaded files which contain a "~jamacast" part.
changes
Hello, I just made the changes as you mentioned and I will clear the cache as well. About fixing some links ? can I just re-edit the posts and then submit without making any real changes to do this or is it more in depth. I have quite a bit of new content to change. Am I going to have to go back into admin under audio settings to resave the file directory? Thanks for all of the help.
Edit:
So far so good as a test to the site, even with audio. Thanks very much to both of you guys for all of the help. Without people like both of you most of us would be in Deep Kimshi, big stinky problems for long time. I have been using Drupal for over two years but I am still very timid and noob. Once, I did something I could not remember what and the site blew completely out, I had no help but read many articles to find my way back up. This was when my site was not live and I guess the fear factor is much higher now that it is a breathing site. I was thinking of trying the rewrite to root actually but I was afraid it might cause more problems so I thought to consult first. By doing this with you guys I do feel so much more confident at this sort of thing now, much thanks guys. I also will use better reading skills, can't beleive I missed the part on baseurl.
Eric