Unable to initialize embedded Gallery
m1bxd - February 14, 2006 - 21:04
| Project: | Gallery |
| Version: | 4.6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | won't fix |
Jump to:
Description
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?

#1
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...
#2
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
#3
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
#4
Memory test feature is available.
#5
#6
Changed to "Won't Fix". The memory test is in 4.7 version but will not be backported to 4.6 version.