stuck on step 4 of installation

manatee

Joined: 2010-07-15
Posts: 3
Posted: Thu, 2010-07-15 17:59

I'm trying to install gallery 2 and I keep getting stuck on step 4, storage setup. I can't figure out what to put for the directory path -- what shows up as the default or whenever my browser tries to fill in anything for me, it doesn't work. I don't think I even understand what kind of path I'm supposed to be putting in there. Is it a path for something on my computer, or on my website? I'm on a mac and the only example says something about windows, or is that to do with my server? I am SO lost.

I tried putting the

<?php print system("pwd"); ?>

in a dir.php file and uploading that to my site. But when I went to that page, nothing showed up, it didn't give me a directory. So I tried a couple lines of other php to see if it would do anything, and they worked fine. The pwd thing just isn't doing anything.

Sorry if this is a really stupid question, I can't find this in the FAQs or anywhere else.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2010-07-15 18:58

That path would be a path on the server. Something like /usr/www/<AccountName>/g2data/

If you don't know what the physical path to your site or account is on the server, you'll need to contact your host. Gallery tries to auto-fill stuff in, but that doesn't work on some host's who have overly restricted their servers in the name of "security"
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
manatee

Joined: 2010-07-15
Posts: 3
Posted: Thu, 2010-07-15 20:08

Thank you! This is already making more sense. With that information I was able to find that info for my site on my host.

At first gallery installer seemed to recognize it, warning me that I should pick a directory that's not web accessible. I told it to ignore this issue for now. But now I get an error that says "the directory you entered does not exist." as far as I can tell from filezilla, it does exist, and has the 777 security setting. Not sure where to go from here.

 
manatee

Joined: 2010-07-15
Posts: 3
Posted: Mon, 2010-07-19 04:43

I finally solved this problem, it turns out that my host had PHP in safemode. I don't know what this means but after getting it turned off, I could change permissions correctly and the install went smoothly. hope this helps someone else in the future.

 
brewster

Joined: 2010-07-12
Posts: 47
Posted: Mon, 2010-07-19 18:29
manatee wrote:
I finally solved this problem, it turns out that my host had PHP in safemode. I don't know what this means but after getting it turned off, I could change permissions correctly and the install went smoothly. hope this helps someone else in the future.

That's great news! Glad you got it working, and thanks for the tip. I found there are lots of things to work through, but once you can see the light at the end of the tunnel it is worth it. Take care, brewster

 
agoela

Joined: 2008-06-29
Posts: 25
Posted: Tue, 2010-07-20 05:38

Sorry if I should be opening a new thread for this, but I am having 2 issues for the same step.

Issue 1 - I have a USB drive mounted as /media/upload, but gallery2 does not see it. I have an internal SATA drive mounted as /media/storage which Gallery2 sees. They are both fully read/write, but I do not understand why it does not see the upload folder.
Issue 2 - I tried to create a folder to trick Gallery2 /media/upload when I try to save it says the folder is read-only. I checked PHP and safemode is turned off.

You can see my php details by going to http://www.formosa-usa.com/gallery2/phpinfo.php.

Let me know if you need any additional information, as I want to get this up and running.

One thing to note is I upgraded to Fedora 13 from Fedora 12 by installing from scratch.

Thank you,
Amit

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-07-20 13:48

agoela, your site doesn't even load for me.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
agoela

Joined: 2008-06-29
Posts: 25
Posted: Mon, 2010-07-26 05:26

right since i was stuck on step 4. After further investigation, it was SE Linux that was causing the problem. I had just installed/upgraded Fedora and completely forgot about about SELinux. Thanks for responding though.

 
giv3mesmile
giv3mesmile's picture

Joined: 2010-11-16
Posts: 24
Posted: Sat, 2010-11-27 14:14

Im not sure i understand this
/usr/www/<AccountName>/g2data/
am i supposed to write in my php name in "account name" ?