View Full Version : Trouble connecting site
Scott12
02-11-2009, 12:44 PM
Hi,
I have pretty much fully completed my site and I am ready to actually connect it to the web, but I am totally stuck and need help BADLY. I just downloaded Filezilla and think I transferred my files correctly, but when I try to go to the site with my browser I can still only see the temporary page that FutureQuest put up. Can anyone help?! I know it is such a vague question, but I completely lost at the moment. Thanks!
Hello Scott,
If I have the correct domain, which I believe I do ;) , your files were not uploaded as best as I can tell.
I would try again, making sure you navigate to your /www directory before uploading and if you continue to have problems send an Email to the Service desk, Service@FutureQuest.net .
-Bob
Scott12
02-13-2009, 12:54 PM
Hi Bob,
I think I was able to upload the files finally but it didn't seem to work. I will email the Service desk like you said. Thanks so much for your help.
Scott
Hi again Scott,
It appears you did upload files, but they are in a directory under your /www directory and you would need to use the full address to access:
http://yourdomain.com/directoryname
It also appears that your .htaccess file may have an error in it which is causing an error in accessing the files.
-Bob
Scott12
02-17-2009, 12:18 PM
Hello again,
Any idea what the problem could be with my .htaccess file? I looked at my Apache error log and it does not seem to have an issue with .htaccess, but when I go to my site (buildyourownstory.com/drupal/) I get the error message below. I have been looking around the forums but can't seem to figure out what exactly to do with .htaccess and banging my head against the wall isn't working either! Here is the error message:
---------------------------------------------------------------------
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@buildyourownstory.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/1.3.41 Server at www.buildyourownstory.com Port 80
--------------------------------------------------------------------------
Hi again Scott,
If you access your logs_web from your CNC File Manager and look in the error log towards the bottom there is a reference to your .htaccess file, bad flag delimiter , that may indicate you are missing a quote.
-Bob
Scott12
02-17-2009, 02:53 PM
Thanks, Bob. I see what you mean. Do you have any idea what I need to do now to fix it?
In your .htaccess I did see a line that began with...
ErrorDocument 404 "The requested file
There is no apparent closing " at the end.
That may be it :dunno:
-Bob
Scott12
02-17-2009, 03:15 PM
I added a closing quote and re-uploaded the file in FileZilla, but it did not seem to work. I just took the closing quote out again and now the FutureQuest temporary page does not show when I type my site in the browser without /drupal/ on the end. Did I do something wrong?
You put a .htaccess in your /big/dom/xdomain directory above the /www which now affects all parts of your site, I would first just delete that and then check your /drupal/.htaccess as it doesn't show that it was modified today.
Possibly copy a new .htaccess from the drupal install files if you unzipped them locally you may be able to grab one there.
-Bob
Scott12
02-17-2009, 03:45 PM
Well, I deleted the file from the directory which fixed my first mistake:hrmm:
I copied the original .htaccess folder but nothing changed. Before the Error Document 404 line it says "# There is no end quote below, for compatibility with Apache 1.3.," so it looks like they left it out intentionally maybe? Sorry for being such a nag, but do you have any other miracle cures?!
Scott
Scott,
In searching google I found that your first two lines:
RewriteEngine on
RewriteRule .* http://drupal\.org [L,R]#
Should redirect you to drupal.org which wouldn't be what you want so possibly remove those and see what that results in...
.htaccess is a funny animal and the smallest thing can really throw a monkey wrench into your site...
-Bob
Scott12
02-17-2009, 03:58 PM
I decided to get rid of my version and try the original instead, but no luck. Just a thought, but could it be possible that I have the wrong permissions?
Scott12
02-18-2009, 10:26 AM
This morning I realized that somehow I was still using the same .htaccess file and when I replaced it with the original, the error message went away:kewl: However, now I get the following error message:
If you are the maintainer of this site, please check your database settings in the settings.php file and ensure that your hosting provider's database server is running. For more help, see the handbook, or contact your hosting provider.
It appears that FutureQuest's database isn't the problem and the settings.php file is a Drupal file, but I was wondering if anyone has an idea of what the problem might be.
Thanks
Hi again Scott,
I have never installed Drupal myself but it appears to me that you need to make some localization changes in the settings.php file as I see a number of entries with example.com which normally you would replace with your own domain name with most scripts.
Also the entry for $db_url is incorrect...
You may wish to remove everything again and then start fresh with uploading and installing, being very careful to take it step by step following any installation instructions Drupal provides...
-Bob
Scott12
02-18-2009, 11:12 AM
Thanks for the advice, Bob. I will see if I can fix it by getting rid of the example.com lines and see if that works. If not, maybe I will start over like you said. I really appreciate all of your help. You certainly make FutureQuest look good!
Scott
Scott12
02-19-2009, 03:26 PM
I'm back....
I just started from scratch and re-installed Drupal as carefully as I possibly could and I am right back where I was yesterday, receiving the same error message as before:
Site off-line
The site is currently not available due to technical problems. Please try again later. Thank you for your understanding.
If you are the maintainer of this site, please check your database settings in the settings.php file and ensure that your hosting provider's database server is running. For more help, see the handbook, or contact your hosting provider.
I assume that my settings.php file has no typos in it because I have not touched the file this time. Could the problems be with my database? Many of my files and folders that I uploaded don't seem to have the proper permissions, but when I try to change the permissions, they don't stick. Is there something I should be doing on the FutureQuest side?
Scott,
In the settings.php file the default has this:
$db_url = 'mysql://username:password@localhost/databasename';
I see you copied the default settings file as the instructions say and you entered your username/password but you left localhost which won't work.
Try this:
$db_url = 'mysql://username:password@mysql.buildyourownstory.com/databasename';
Replacing username/password and db names of course ;)
Hope this helps,
Bob
Oh also...
your MySQL username would not be 'root'... Look in your MySQL Manager in the CNC for the correct MySQL username...
-Bob
Scott12
02-19-2009, 03:57 PM
No luck this time, either. Par for the course...
Scott,
I just looked and your settings.php file in your sites/default directory is still showing 'localhost'
For changes such as this you may want to just hand edit the file directly on the server from your CNC File manager...
-Bob
vBulletin® v3.6.8, Copyright ©2000-2012, Jelsoft Enterprises Ltd.