I am new to Drupal but I am an experienced PHP developer. I installed version 7.x on Mac OSX 10.6 to use a test machine to become familiar with how it works. I am accessing the Drupal installation at localhost.
Strange things seem to be happening when I attempt to install a new module or theme.
If I attempt to install either a theme or a module from a URL, Drupal shows me a form titled "Authorize file system changes" immediately after clicking the "Install" button on the module installation page.
This "Authorize file system changes" form asks for FTP connection details. There is no FTP server running on the development machine and the URL that I am using to access the intended module is using http:// so I am a bit confused.
Additionally, when I attempt to upload a module or theme manually, I receive the following error:
The specified file nws_weather-7-3.x-1.0.tar could not be uploaded. Only files with the following extensions are allowed: jpg jpeg gif png txt doc xls pdf ppt pps odt ods odp.
Notice: Trying to get property of non-object in update_manager_install_form_submit() (line 545 of /Users/xxxx/Sites/drupal-7/modules/update/update.manager.inc).
Any help would be appreciated.
Thanks!
Comments
Are you untarring the files?
Are you untarring the files?
tar and tar.gz are archive files similar to zip.
When attempting to install
When attempting to install via URL, the files on the drupal server are contain the tar.gz extension.
When attempting to install via a file upload, I have tried uploading both .tar and tar.gz files and I get the same errors in both cases.
AFAIK you have to unpack the
AFAIK you have to unpack the packages before installing. Can't find anything that says that it has changed in Drupal 7.
You can either unpack locally and then upload, or upload and then unpack depending on your FTP program.
Can anyone confirm this just to be sure?
Thanx in advance.
The intent is to upload the tar files
From looking at the interface to install a new module, it is to upload the tar.gz file - it only allows one file at a time. The file type filter (which I have not yet located) just does not allow the tar.gz filetype, but for this one field, it should. Just wanted to clarify.
_
d7 is still alpha code-- be sure to check the issue queue for any problems with the upload system.
OK, thanks. I should also
OK, thanks. I should also mention that my development machine is running PHP 5.3
_
D6 and 7 core have been fixed for php 5.3 but there are still some issues with contributed modules and php5.3.
Drupal 7 Beta 2 is doing the same with Themes.
When I try to install a new theme using a local tar.bz file and download, after pressing install, the authorize.php page appears looking for ftp or SSH credentials. I'm not sure why these credentials are required as I'm logged in as the admin of the site using standard HTML File Uploads.
I am using the multi-site setup of Drupal 7. I am able to access the server file system for my Drupal host setup.
I untarred the theme into my sites/{SITENAME}/all/themes folder creating a subfolder there with the name of the theme. After untarring the files into the themes folder, the Appearance admin interface does not show or offer the theme to be enabled. It is absent from this interface. Is there something else I need to do to get the admin interface to see the newly installed theme?
If you don't have an FTP
If you don't have an FTP server set up, you probably can't use that interface for uploading new modules or themes.
There is a core issue for attempting to fix this confusion: #686060: Explain that the Update manager only works if you have FTP or SSH access to your server