From Local Server Method Error Message

MjrNuT - September 17, 2009 - 00:19
Project:Gallery
Version:6.x-1.0
Component:Installation / Configuration
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:ftp, localwebserver, login
Description

Hello,

I apologize in advance for my first post to be lacking essential information. I will do my best.

I originally posted this issue at the G2: integration forums -- http://gallery.menalto.com/node/91185

it is quite sparse over there.... :(

Repeated here:

Hello,

My G2 is for the most part successfully embedded within my Drupal 6.x CMS.

I've only encountered a few items that have become unresolved. Please see below and do not hesitate to ask for more information:

1. I have specified 3 different directories to be used for FTP upload of images, which then use From Local Server option to add Items. All 3 directories were verified to have 755 permissions.

/home/4g2data <==outside public_html
/home/public_ftp/incoming <===outside public_html
/home/public_html/gallery2/tmp <===inside the G2 install.

Error message attached for review.

(UNRESOLVED)

2. The G2 photo content is desired to be private. Access is not granted to anonymous or guest. Via Drupal, this works correctly. However, using direct URL to G2 location is not blocked. Am I correct in that this is a .htaccess file issue, which the drupal module was not complete about? (RESOLVED)

3. Using Matrix theme only and cannot figure out how to remove the Login Link. Info here did not apply. NO Login Block was enabled.
(UNRESOLVED)

Thanks in advance to your response.

Addendum to No. 1. The photos actually still get added to an album even though the error message appears.

Can anyone shed light on this?

ps. If I have done this Issue incorrectly, please let me know the proper way to communicate this.

AttachmentSize
LocalServerMsg.jpg190.21 KB

#1

lvthunder - September 17, 2009 - 00:51

Do a search on the gallery site for open_basedir restriction in effect. It looks like it can be a couple different things.

As to point number 2 just go into config.php in your gallery2 folder and there is an option to block standalone access.

#2

MjrNuT - September 17, 2009 - 04:40

awesome sauce!

I have completely resolved Items 2 and 3 completely. Contained in config.php of my G2 installation the following items:

$gallery->setConfig('mode.embed.only

$gallery->setConfig('baseUri',

Very much appreciated.

As to item 1. I need to get my host involved. I'm not very well versed in this, but I'll be sure to report my findings. Thanks very much for the pointers lvthunder!

 
 

Drupal is a registered trademark of Dries Buytaert.