Gallery and FronPage

frankc

Joined: 2003-10-22
Posts: 12
Posted: Tue, 2004-03-30 16:43

Hi! As noted by this thread http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=15063 Gallery has a subdirectory /setup that has permissions set to 000. FrontPage, even when set to leave that subdirectory alone, wants to look in there but, with 000, can't. Is there any chance the next version of Gallery could be modified to allow FP to see inside that subdirectory? With all the FP users out there it'd greatly expand the use of Gallery!

FWIW, I u/l Gallery via FTP, not using FP.

It was pretty frustrating to have to remove Gallery from two websites that needed a nice photo gallery to show their good works (websites for a church and a homeless shelter).

Thanks for considering this.

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Tue, 2004-03-30 17:18

frankc, you can chmod it to 400, but i'm not sure that helps. What you could do, is to delete the setup/ dir after the configuration is done. Then, should you have the need to run it again, you could always upload the setup/ dir again.

 
frankc

Joined: 2003-10-22
Posts: 12
Posted: Tue, 2004-03-30 21:22

Oh? Dang...I got no help on that other thread nor on usenet's frontpage.client group, so I ripped both galleries out of their websites. I did a quick reinstall and chmod'd /setup to 755 during the FP update and it worked fine, then chmod'd it back to 000.

So it was a permissions problem with /setup all along.

Sigh...I've lost about 6 hours of work, but your suggestion did the trick. Now to re-upload about 25mb of pix. :roll:

Thanks!

Frank

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Tue, 2004-03-30 21:58

frankc, as long as you got it working again. :)

 
happyvav

Joined: 2005-02-20
Posts: 28
Posted: Sun, 2005-03-06 04:28

What's the advantage of using FrontPage with Gallery?

 
signe
signe's picture

Joined: 2003-07-27
Posts: 2322
Posted: Sun, 2005-03-06 04:42

happyvav, there isn't one. In fact, it's usually a gigantic hassle.

 
frankc

Joined: 2003-10-22
Posts: 12
Posted: Sun, 2005-03-06 16:55
happyvav wrote:
What's the advantage of using FrontPage with Gallery?

It's not about using FP with gallery...it's about using FP for general website design, and how Gallery's requirement to set permissions for one folder to 000 requires FTP manipulation of that folder (twice) each time you update the website with FP. FP wants to see what's in that folder and if it differs from what FP has on the PC doing the updating; 000 doesn't allow that.

In my experience, any external website program used on a FP-managed website should be uploaded to the website separately using FTP. However there is a simple way to make FP leave it alone after that. But with the permissions Gallery has on that one folder, it's the first program I've ever run into this problem.

 
happyvav

Joined: 2005-02-20
Posts: 28
Posted: Sun, 2005-03-06 19:31

Wow, good to know... thanks for the info. I'm using FP so I would definitely run into problems there... frankc, you say there's a simple way of getting FP to leave it alone if you FTP it up - what way is that?!?! please... :)

 
frankc

Joined: 2003-10-22
Posts: 12
Posted: Sun, 2005-03-06 20:11
happyvav wrote:
you say there's a simple way of getting FP to leave it alone if you FTP it up - what way is that?

First, don't forget you'll have to go in and CHMOD the folder noted above to 400, publish from FP, then CHMOD it back to 000.

With your website open in FP, right click on the root folder and select New/Folder. Create a folder called "gallery" or whatever filename you used. Then right-click on that new folder and select Convert to Web. Then when you publish, tell it NOT to publish subwebs.