1

Topic: Installation

After a long break i am again tackling Indicia!

Does anyone have any experience of trying to get it installed and working on a fasthosts hosted site?? It pretty much put me off last time and i am again tackling forbidden (403) errors when trying to install. As usual i suspect i am missing something simple and wondered if anyone else had overcome similar problems (or actually got it working a fasthost hosted site!).

All Drupal files uploaded OK via ftp
Settings.php created from default
Database created and user (with db access) added

when i go to the domain (sub-domain), i can load .txt (e.g. changelog) but cannot run install.php (forbidden). File access is set to execute so i just don't know what i am doing wrong.

Natural History & Biodiversity Data Enthusiast

2

Re: Installation

Does your server execute any PHP at all?

If you upload a test.php file containing simply

<?php print phpinfo(); ?>

what do you get when you try to view it in a browser?

Jim Bacon

3

Re: Installation

Hi Jim,

I get PHP Version 5.4.14 etc..

http://www.activenaturalist.org.uk/data/test.php

Natural History & Biodiversity Data Enthusiast

4

Re: Installation

fasthosts keep databases on a separate server to the domain, could this be causing the issue?

Natural History & Biodiversity Data Enthusiast

5

Re: Installation

I think your forbidden message is your server saying it is not going to allow you to execute that script at all. Have you read http://www.fasthosts.co.uk/knowledge-ba … icle_id=64 to see if anything applies. Execute permissions on the file for example.

Jim Bacon.

6

Re: Installation

I suspect you are right but scripting is enabled (i have tried php 5.4 and 5.2), there is an index file, i have changed access settings via ftp to read and execute (755) for all and just for kicks deleted and re-installed a file as suggested. No joy.

Must be a fasthost thing (it was last time) will contact support (...).

Natural History & Biodiversity Data Enthusiast

7

Re: Installation

This 'usefulness' of fasthosts support continues to amaze..

Thank you so much for the information, we are able to access the webspace and found out that there are missing files on the drupal installation being the reason why it's not able to run the installation. We recommend for you to reinstall instead the Drupal on the sub folder.

'switch it off and back on again' anyone?

Natural History & Biodiversity Data Enthusiast

8

Re: Installation

Where do you go from here? You could either do with some more debugging information or you could do with trying to install something that is as simple as possible and has most chance of succeeding.

I have to say, this doesn't seem to be anything to do with Indicia.

I don't know what you have installed to date but you could try a clean install of Drupal 7, carefully following the instructions at https://drupal.org/documentation/install

You may have been going with Drupal 6 but I suggest Drupal 7 because it seems to install more intelligently and has more chance of working with PHP 5.4

I'd also be looking in Apache and PHP logs for clues.

Good luck!
Jim Bacon.

9

Re: Installation

Cheers Jim, clean installs via the host 'oneclick' method all work fine so i can only think that it is something to do with the way the installation is registering with the host?? Maybe?? I'll look into it more when i have some time!

Natural History & Biodiversity Data Enthusiast

10

Re: Installation

"Oneclick"? It sounds so convenient.

If you have installed Drupal and figured out how that works you'll now actually want to start doing something with Indicia.
That means installing the appropriate IForm module for the version of Drupal you have.

Doing it this way means you are missing out on the labour-saving alternative of Instant Indicia however. (Not that it is currently available with D7)

For info, I know there is a new release of the Indicia software due out soon.

Jim Bacon

11

Re: Installation

I'll give it a go. Do you know if the test warehouse i had previously is still functioning? I am receiving an "There are configuration issues on this server. " error and appear to have no controls. I haven't used it for quite some time so i suspect it was shut down?

Natural History & Biodiversity Data Enthusiast

12

Re: Installation

There is one test warehouse which we all share. It is functioning and, to date, we have done no house cleaning so you should still have access. The configuration issue said it would only affect shape file upload but I fixed it all the same and have created a separate thread to document that.

I can see that you have two user accounts on the test warehouse, one of which has administrator rights to a website while the other has only user permissions. If you logged in with the latter account you would be missing controls. I will email you with more information about these accounts.

With regard to installing the IForm module on Drupal, you haven't mentioned which version of Drupal you have installed, but the D7 version is only available at the moment from the code repository. You need to download it using a SubVersion client. Even with D6, I still recommend getting it from the repository as the files in the Download area are hideously out of date.

Jim Bacon.

13

Re: Installation

Could you please reset the login to the admin account. I must have confused myself somewhere between accounts.

I have installed D7 and had been working through the tutorial (is JQuery not built into the D7 core?).

Do you suggest then that i get all downloads via the Indicia source to keep things current, i see there is a D7 directory. Not sure how to access this using svn but will give it a go tomorrow and see how i get on. Is there a guide on what files need using?

Natural History & Biodiversity Data Enthusiast

14

Re: Installation

Hi

If you go to the warehouse home page you will see at the bottom that there is a link to reset your password. This will send an email to the address with which you registered your account. I will email you that address so that we can be sure it is still current.

D7 does come with jQuery. to quote from https://drupal.org/node/171213 "Drupal 7 includes jQuery 1.4.4 and jQuery UI 1.8.7. Drupal 6.0 to 6.2 included jQuery 1.2.3 while Drupal 6.3 includes an update to jQuery 1.2.6."

With D6 it was necessary to install the jQuery Update module for Drupal as the IForm module required jQuery 1.3. The jQuery update module is not needed when using D7.

If you want to stay with D7 then currently the only way to get the IForm module is from the code repository. I use TortoiseSVN on my workstation to do this. Create a folder locally, right-click it in Windows Explorer and select SVN Checkout. The path to the files on the repository is http://indicia.googlecode.com/svn/drupa … unk/iform. This will download the whole of the module which you can then copy to your Drupal installation (probably the sites/all/modules folder)

Jim Bacon

15

Re: Installation

Looks like i spoke too soon! Getting incompatibility on modules 'Indicia Proxy' and 'Indicia Location Tools'
with D7 ("This version is not compatible with Drupal 7.x and should be replaced.") installation using files pulled through svn.

Natural History & Biodiversity Data Enthusiast

16

Re: Installation

You can ignore that for now. Those modules haven't been ported to D7 yet, I guess because no one can have needed them so far. There is also a D7 version of the Easy Login module which I find very beneficial to use. That is in the repository at http://indicia.googlecode.com/svn/drupa … a_features

Jim Bacon.

17

Re: Installation

Cheers, first test iform based on the Butterflies survey has all gone up fine which i think is a first for me.

Natural History & Biodiversity Data Enthusiast

18

Re: Installation

Just in case anyone else is following this in order to get the Easy Login module above working i also needed to install the modules ctools, Features and Fieldgroup.
https://drupal.org/project/ctools
https://drupal.org/project/features
https://drupal.org/project/field_group

Natural History & Biodiversity Data Enthusiast

19

Re: Installation

Excellent progress.
Sounds like you have cracked Installation and you'll be needing a new thread soon :-)
Jim Bacon.