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
Comment #1
profix898 commentedIs 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).
Comment #2
maxinwell commentedAfter unpacking the contents, you need to install gallery2.
During installation the config.php file is created.
Comment #3
eyaal commentedHow is the installation done?
Comment #4
holeepassion commentedI 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
Comment #5
lvthunder commentedStep 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.
Comment #6
holeepassion commentedThank 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 ....
Comment #7
lvthunder commentedYes create a separate database for G2. This module binds Drupal and G2 together.
Comment #8
holeepassion commentedThanks 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 ?
Comment #9
lvthunder commentedYou 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/.
Comment #10
holeepassion commentedThanks 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
Comment #11
holeepassion commentedI 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).
Comment #12
holeepassion commentedDue to the issue with the installation. Now I cannot get to my working Drupal website, instead I get a message !!! Oh dear !
Help please ...
Comment #13
alexandreracine commentedReopen if needed. Cleaning up old stuff.