Having problems installing Drupal? See the Installation Guide for more information.

404 after moving installation to subdomain due to missing .htaccess; used FTP

Since I just wasted a lot of time with a stupid problem, I thought I'd post my experience here (with lots of keywords in the title) in case someone else ever has this problem.

I moved www.domain.com/site to site.domain.com to simplify FTP issues for the person designing the site. The front page loaded just fine, but all of the links caused 404. Database connection was being made (content on the front page), and the URLs in the links on the front page looked correct. Why?

Fixing 403 errors when installing Drupal

If you are getting a 403 error, there may be a number of different solutions, but here is what worked for me:
Change this line:
Options FollowSymLinks
to this:
Options +FollowSymLinks

Yes, it's just a plus sign. Apparently some server configurations aren't happy without it.

installed it, but I'm getting all these errors...

that appear at the top of the page:

warning: Cannot modify header information - headers already sent by (output started at /home/daverobi/public_html/includes/conf.php:68) in /home/daverobi/public_html/includes/common.inc on line 1172.

warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/daverobi/public_html/includes/conf.php:68) in /home/daverobi/public_html/modules/user.module on line 5.

image.module upload/thumbnails problem on Linux

This problem has been asked about and talked about in the forums and the issues area for image.modules extensively. This issue thread was the most recent and I have also posted this in that thread. If you are not sure if your symptoms fit this resolution or not please check there for a description.

For all of those who have tinkered and toiled with this, I have solved it for myself and I believe this will help others. Please note that this is on a Linux Installation. I do not believe it applies to windows users.

OK, so I was having the same problem as everyone else. Using ImageMagick in the image.module. There is an upload of the image as a temp img but no thumbnail creation and therefore no successful uploading of images into the database.

This was so hard to fix because it is TWO separate issues that give the same symptoms. Some may be suffering from only one of them, but from the postings I have read (this is a really wide spread issue) many seem to be suffering both.

****actual answer starts here****
The fundamental issue is that PHP is set to not allow execution of anything via the exec() command unless it is in a specified directory in the php.ini file (safe_mode_exec_dir). Mine was set to /usr/local/share/php/bin/ so it couldn't execute the convert command because it wasn't in there. I made a symbolic link from the actual install point to that directory. (ln -s /usr/X11R6/bin/convert /usr/local/share/php/bin/convert). Then PHP was able to successfully run the convert command. But the problem still persisted. I then tried the suggestion on many of these threads to comment out the $source = _image_escape_shell($source); and $dest = _image_escape_shell($dest); lines in the _image_convert function in the image.module file. These seem to cause a problem with the exec() command and should be tested and updated.
****End answer****

403 forbidden error

I got the following message when i tried going to the drupal site in step 5 in the readme

Forbidden
You don't have permission to access /drupal/index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. 

any idea what the problem is? (i configured the config file like the readme said )

Trouble with installing under main domain name

Hi,

I have successfully test installed Drupal under a subdomain but when I install under the main domain I get some pretty serious problems.

At first I couldn't install, then I renamed the existing .htaccess file and created a new blank on and the install worked fine, then the other problems arose.

1. When I try to log in as the admin user (I installed using fantastico from my control panel) I get an error saying:

Method Not Allowed
The requested method POST is not allowed for the URL /default.htm.

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal