G2 / 4.6.5

Unable to initialize embedded Gallery - I am a loss to debug this having checked everything for 2 hours.

Are there better logs than this to help?
Where do I look for them please?

Comments

kiz_0987’s picture

This suggests that your gallery directory variable has not been set correctly. What is it set to? What is the directory path of your Drupal and G2 installations.

Also check http://codex.gallery2.org/index.php/Gallery2:How_to_Embed_Gallery2_in_Dr...

m1bxd’s picture

Dear Kiz,

Thank you for the rapid response!

>This suggests that your gallery directory variable has not been set correctly.

I hope it's that simple!

>What is it set to? What is the directory path of your Drupal and G2 installations.

Drupal Settings Area
/gallery2/
&
/

On Plesk box

/home/httpd/vhosts/yourday.co.uk/httpdocs/gallery2
&
/home/httpd/vhosts/yourday.co.uk/httpdocs/
respectively

URLs
http://www.yourday.co.uk/gallery2/
http://www.yourday.co.uk/

Many thanks,

Mark

m1bxd’s picture

Category: support » feature
Priority: Normal » Critical

Hi,

This was solved by kiz_0987. (many thanks Sir)

My installation would have worked by using the default settings prompted in the "settings"->"gallery" module with Drupal.

IE

gallery2/
&
/

However when this set like this my IE browser actually returned a site not found.
But the actual reason was not enough memory for php.

So it would be cool if the Drupal installation actually warned you of the memory requirements on initial installation. Yes I realise this is in the module FAQ - but I missed it!

IE>

"Your php.ini memory_limit is set to 8M - if you intend to run other embedded applications such as gallery, you will need to increase it."

Feature Request:
Or would it be possible to have a "Memory test" button under the "Settings->Gallery" in Drupal?

Cheers Mark

kiz_0987’s picture

Memory test feature is available.

kiz_0987’s picture

Status: Active » Closed (fixed)
kiz_0987’s picture

Status: Closed (fixed) » Closed (won't fix)

Changed to "Won't Fix". The memory test is in 4.7 version but will not be backported to 4.6 version.