I have drupal installed in the root folder of the webserver. There is also a custom drupal app that is now running from root/subfolder. I have configured settings.php to recognize $base_url and changed .htaccess to rewrite base to /subfolder.

At the moment, it works great in terms of logging in and making content changes. However, trying to upload files returns an ajax error, if I try to save directly by pressing save, it doesn't return an error on the subfolder site, rather it throws back a 404 on the root site.

What gives? Any help is greatly appreciated.

  • What is the error that is thrown? whats the permission on /default/files directory? – saadlulu Oct 30 '12 at 17:25
  • The permission on default/files directory is 777, I changed it to that to make sure it's writable by everyone. However on the default folder, I changed permissions to 555 error being thrown An AJAX HTTP request terminated abnormally. Debugging information follows. Path: /rfp/?q=file/ajax/field_files/und/form-iAGpjAtrg5l7mQdDjHQ57CqHH_48XVS2E6CM-uj1xho StatusText: n/a ResponseText: Jump to Navigation var The "rfp" text there is the name of the subfolder site. – Chiko Oct 30 '12 at 17:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.