drupal - You need to configure your embedded Gallery

Jabzebedwa

Joined: 2006-04-09
Posts: 9
Posted: Sun, 2006-04-09 18:15

Please fill out the following form and take a look at the linked pages. The more information you supply, the better we can help you.
FAQ:
- How do I install Gallery 2?
http://codex.gallery2.org/index.php/Gallery2:How_do_I_Install_Gallery2
- How can I find a solution for my problem?
Visit http://codex.gallery2.org for: Frequently Asked Questions, Debugging Instructions, Known Issues and much more
Also try your luck with the advanced search function of this website
- What are the installation requirements for Gallery 2?
http://codex.gallery2.org/index.php/Gallery2:Installation_Requirements
- What information is required when asking for help in the forums?
http://codex.gallery2.org/index.php/Gallery2:faq#What_information_is_required_when_I_ask_for_help_in_the_forums.3F
- You can copy and paste a lot of the required information from "Site Admin" -> "Maintenance" -> "System Information" if your G2 is up and running.


Gallery version (not just "2"):2.1 ( I guess. I went at looked at where I downloaded it from. I am unable to find the version number in the script.
PHP version (e.g. 4.3.11): 4.4.2
PHPInfo Link (see FAQ): Am unable to find this. I copied all of the headings from the FAQ into Word and did a search for "PHPInfo Link" without any success. Then I searched the FAQ online for "PHPInfo Link" and just got all of these automatically installed points. So, I'm not sure what to do in the FAQ for "PHPInfo Link".
Webserver (e.g. Apache 1.3.33):1.3.34 (Unix)
Database (e.g. MySql 4.0.11):4.1.18-standard
Activated toolkits (e.g. NetPbm, GD): I think that I have GD and image magik installed.
Operating system (e.g. Linux): Linux
Browser (e.g. Firefox 1.0): Firefox 1.5.0.1

I have installed the entire folder called "Gallery" into the "modules" directory. It shows up in the menu in the side bar. When I click on "Gallery" in the menu it takes me to a page that says:
Home
gallery
You need to configure your embedded Gallery

I click the "configure your embedded Gallery" and it takes me to a page that says:
Home » administer » settings
gallery
Location of Gallery2: modules/gallery2/
Path to your gallery2 directory, relative to the root directory of your drupal installation. Please include a trailing slash ("/").
Location of Drupal: /
Path to your drupal directory, relative to the root of your website. Please include a trailing slash ("/").
Error logging:
Watchdog
Output to the browser
Choose where errors are displayed

I don't see any further configurations.

The site is at uvita.biz.

Any help will be appreciated.

Thanks!

Ben

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2006-04-09 22:35

topic title changed to reflect which integration this is about and topic moved an appropriate forum.

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Mon, 2006-04-10 10:36

You will need to configure your gallery.module settings to provide the correct paths. Then it should work for you. If you cannot figure this out please post your directory structure (ie where gallery2 and drupal are located) and I'll try to come up with the valid settings.

 
Jabzebedwa

Joined: 2006-04-09
Posts: 9
Posted: Mon, 2006-04-10 12:40

OK, I'm stumped.

Here is the path:
Root ->> modules ->> gallery

I currently have left the gallery.module in the "gallery" directory, since it is the only way that I can see the "You need to configure your embedded gallery" notice.

When I click the link to configure my embedded gallery, it presents me with a page for putting in the paths. I have put modules/gallery/ there with / for the Drupal installation in the root.

I read the instructions to say that I should move the gallery.module to the "modules" directory from the "gallery" directory. When I do this, I am unable to see the gallery but get this:
<pre>warning: call_user_func_array(): First argumented is expected to be a valid callback, 'gallery_page' was given in /home/uvita/public_html/includes/menu.inc on line 354.</pre>

So, what I have now is my configuration reading modules/gallery/ with the root / for the Drupal install.

Thanks for your help!

Ben

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Mon, 2006-04-10 16:05

Leaving gallery.module in the modules/gallery dir is fine. If you move these around after enabling the module you can run into difficulty as the paths are in the Drupal database and they will be wrong (they get reset when you go into the modules admin page, but by then it's too late).

The "paths" I was referring to has nothing to do with where you have put gallery.module. This version of gallery.module needs to know where your Gallery2 installation and your Drupal (main) installation are. What are the absolute paths to those?

 
Jabzebedwa

Joined: 2006-04-09
Posts: 9
Posted: Mon, 2006-04-10 21:16

Hello kiz_0987,

Here it is: /home/uvita/public_html

would you mind letting me know what you did, in the event that you get the thing activated?

Gracias,

Ben

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Mon, 2006-04-10 22:10

But what is the path to your gallery2 installation? (not gallery.module, but the whole gallery2)

 
Jabzebedwa

Joined: 2006-04-09
Posts: 9
Posted: Tue, 2006-04-11 03:45

/home/uvita/public_html/modules/gallery/

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Tue, 2006-04-11 10:27

This is not going to work. You need to have a working standalone version of Gallery2 before trying to embed it into Drupal. It should be in something like /home/uvita/public_html/gallery2 (not gallery). This has nothing to do with gallery.module. Once that is done then try to embed it into Drupal. Have you installed Gallery2 at all, or just gallery.module? (I wonder because you do not know the version of it, which is provided when you install it). What is your Drupal version? If 4.6 you should use Gallery2.0. If 4.7 use Gallery2.1.