I have installed Gallery 2 within my sites directory on localhost --> localhost/drupal_sandbox/gallery2/
When I go to the gallery settings --> drupal_sandbox/admin/settings/gallery/install
I get an error under the Gallery2 locations . So I am trying to set the locations automatically and this is what I have entered

drupal_sandbox/gallery2/

and this is what I get

Location of Gallery2: file /Applications/MAMP/htdocs/drupal_sandbox/gallery2/config.php does not exist [Error]

Can someone please help?

Comments

profix898’s picture

Is the returned path correct? Does config.php exist in that location? If not, you probably missed to install G2 standalone first (read the Installation tutorial at http://codex.gallery2.org/Integration:Drupal).

maxinwell’s picture

After unpacking the contents, you need to install gallery2.
During installation the config.php file is created.

eyaal’s picture

How is the installation done?

holeepassion’s picture

I have followed the website showing how to install gallery 2 but the install does not seem to work as suggested ????

how to really install really ????

step by step the easy way ???

thanks
http://www.holeepasssion.com

lvthunder’s picture

Step by step the easy way.

1. extract and upload the G2 files
2. Create a database
3. Run http://host/pathtoG2/install
4. Follow the directions.
5. Enjoy your new gallery install.

holeepassion’s picture

Title: Gallery 2 installation » Gallery 2 installation ... new database required ????

Thank you very much lvthunder ...

I am wondering if I need to create a new database for the picture as I have created one for the drupal main website ????

I want to create the gallery as part of the main menu. I would wait for your answer

Thank you in advance ....

lvthunder’s picture

Yes create a separate database for G2. This module binds Drupal and G2 together.

holeepassion’s picture

Thanks again Ivthunder in relation to your response to the database.

Now, I am not sure with your step 3, how to run and which http do you refer to ???

I am using hosting by www.x10hosting.com .. machine is called cossacks and username say holeepassion

does this translate to http://holeepas.cossacks.x10hosting.com/

i have for example created a directory called "picture" under the public_html in cpanel

then I have installed drupal 5.x using the ubercart installer

i have added most extra modules to the directory

picture/sites/all/modules/

hence i created gallery and gallery 2 directories under

picture/sites/all/modules/

hence the path would be

picture/sites/all/modules/gallery2/install/

when i go to cpanel and click on the directory, no auto installation working ??? does it mean the host does not support this ?? otherwise, what do you actually "RUN" the installation ???

thank you ... been reading the manual plus other website

http://codex.gallery2.org/Integration:Drupal

http://community.contractwebdevelopment.com/installing-gallery2-in-drupal

Now, I am still as confused as ever !!! My understanding is that I have to go to cpanel, file manager and go to where I have the gallery 2/install/ directory located and that when I click on the directory it should automatically install ???? or have I missed something here

Even what are the easy steps after successfully installing the gallery2 ??? I do not see the gallery module in the module when I logged into drupal, but i can see gallery 2 module over there with 3 lines. Is that what I am supposed to see ???

Thanks heaps ....

PS: trying to figure this out myself. I am wondering if preinstall version would make a difference ?

I am sorry, really confused newbie ... blush ...

or what is the easier alternative module to install ? use ?

lvthunder’s picture

You use your web browser and point it to the install folder. So if your website is http://holeepas.cossacks.x10hosting.com/ and you put gallery in picture/sites/all/modules/gallery2/install/ it would be picture http://holeepas.cossacks.x10hosting.com/sites/all/modules/gallery2/install/.

holeepassion’s picture

Title: Gallery 2 installation ... new database required ???? » Gallery 2 installation ... got the install prompt !!!

Thanks heaps for that Ivthunder :D. I can now see the prompt. I would report back how I go :D

I was about to give up on gallery 2 !!!
Cheers

holeepassion’s picture

Title: Gallery 2 installation ... got the install prompt !!! » Gallery 2 installation ... cannot create database !!! Got index.php instead ?

I am wondering what is happening here ????

According to cPANEL info, the PHP version 5.2.5, which I thought is enough for gallery 2 ???

I have asked for the upgrade but may not be granted as I am using a free hosting.

I did tried to install gallery using fantastico. Is there a difference ??? Could integrating to Drupal 5.x be executed the same way ???? What is the easy way to do the integration ???

Thank you again in advance ....

PS: i am trying to follow the following (how do I CHMOD permissions ????)

Install Menalto Gallery

Browse to the /gallery2/install/ folder and installation should begin automatically. When you get to the step asking you where to install g2data, make sure to install it in a non-public directory (above your "public_html" or "www" folder, ie. above the root), and CHMOD the directory's permissions to 777.
Security Settings

Once installation has completed, make sure you CHMOD permissions on /gallery2/config.php back to 644. In addition, create an .htaccess file within the /gallery2/ folder containing the following:


Deny from all

Finally, you'll want to CHMOD permissions on your /gallery2/ folder to 555 (unwritable).

holeepassion’s picture

Title: Gallery 2 installation ... cannot create database !!! Got index.php instead ? » Gallery 2 installation ... cannot create database !!! NOW my drupal website is not working !!!

Due to the issue with the installation. Now I cannot get to my working Drupal website, instead I get a message !!! Oh dear !

Help please ...

alexandreracine’s picture

Status: Active » Closed (fixed)

Reopen if needed. Cleaning up old stuff.