Gallery 1.4.4-pl2 / 2 and Mambo 4.5.1 RC4

darkbluespace
darkbluespace's picture

Joined: 2004-09-27
Posts: 6
Posted: Mon, 2004-09-27 09:19

Hi all,
Has anyone managed to successfully integrate gallery into a recent version of the Mamboserver? They have changed to whole structure and it won't recognize the gallery wrapper anymore.
Integration of gallery 1.4.4-pl2 within MOS 4.5 worked like a charm. But the most recent version of MOS has got some real improvements (especially in the administration interface) so that I don't want to downgrade anymore to MOS 4.5.

Thanks a lot for sharing your experience on this.

Pat.

 
signe
signe's picture

Joined: 2003-07-27
Posts: 2322
Posted: Mon, 2004-09-27 09:22

Except for one or two small issues, the CVS versions of Gallery work great in 4.5.1. I haven't tested 1.4.4-pl2, but it's not officially supported under Mambo 4.5.1 if they have made significant changes, since 4.5.1 was not out before Gallery was.

 
darkbluespace
darkbluespace's picture

Joined: 2004-09-27
Posts: 6
Posted: Mon, 2004-09-27 09:27

According to your post, the latest CVS version of gallery (1.xx) is supposed to work with MOS 4.5.1 RC4? I gave it a try last week but I could get it run.
MOS always moaned: "Installation file not found" (or something in this sense). Gallery worked perfectly on its own, and also Mambo was up and running.
I'll give it another try now, gonna see what gets out.

 
darkbluespace
darkbluespace's picture

Joined: 2004-09-27
Posts: 6
Posted: Mon, 2004-09-27 09:46

Again, I tried it: Today's CVS version and MOS 4.5.1 RC4. Gallery is working fine. But when I try to install it withing mambo (i.e. components page enter path to gallery.xml file in the "Install directory" field), I get:

Installation file not found:
/path/to/gallery/contrib/mambo/

(BTW: yes, the webserver does have the proper permissions to read an even write data in the directories).

 
kai_tom

Joined: 2004-04-08
Posts: 347
Posted: Mon, 2004-09-27 10:19

Hi,

I found a Gallery-Component for Mambo 4.5.1 and 4.5-1.0.9 on this Website: http://www.glasgowsports.com/index.php?option=com_docman&task=view_category&catid=14&subcat=0&Itemid=39
I think only the XML-file has changed.
Just upload the zipfile with the Mambo-Installer.

Kai

 
darkbluespace
darkbluespace's picture

Joined: 2004-09-27
Posts: 6
Posted: Mon, 2004-09-27 15:41

Hi,

Yes, this did the job. Thanks a lot.

Pat.

 
wasguru

Joined: 2004-09-27
Posts: 5
Posted: Mon, 2004-09-27 20:58

I got the same error trying to install. I got the zip file mentioned here and I was able to install the component but I have an additional problem. It wont save the "path" setting. When I click save I get the following error:

Notice: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'path'' at line 1 in C:\Apache2\htdocs\mambo\includes\database.php on line 184

Any ideas?

 
darkbluespace
darkbluespace's picture

Joined: 2004-09-27
Posts: 6
Posted: Tue, 2004-09-28 07:42

Humm,
Never heard of that before. Which versions of MOS and Gallery are you using?
What's the path to your gallery? Might have something to do with Windows file names (i.e. special characters that do not get escaped properly).

Pat.

 
wasguru

Joined: 2004-09-27
Posts: 5
Posted: Tue, 2004-09-28 13:35

MOS 4.5.1 and the latest Gallery, sorry not sure of the version. It's really strange. What I did was uninstall it, then I had to manually drop the mos_gallery table. I edited the XML file to contain a default value for path and reinstalled the component. Now it works fine.

 
majortomm

Joined: 2004-10-02
Posts: 1
Posted: Sat, 2004-10-02 02:18

I am having some issues getting Gallery (1.4.4-pl2) to work in Mambo (4.5.1a). I have installed Gallery and it works great! I installed the Gallery component that is listed in the link above and all goes well. I added the gallery component to my main menu and when I click on it I get my header image only.. none of the remaining page loads.... I also installed the random image module and I get the following message in that box: "Fatal error: Cannot redeclare editfield() (previously declared in /home/httpd/vhosts/XXXXXXX.com/httpdocs/mm/gallery/util.php:27) in /home/httpd/vhosts/XXXXXXX.com/httpdocs/mm/gallery/util.php on line 27"

I am all out of ideas at this point and any help would be much appreciated.

Thanks!

 
signe
signe's picture

Joined: 2003-07-27
Posts: 2322
Posted: Sat, 2004-10-02 02:21

Read this thread -

http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&p=97373#97373

It pertains to the random block.

 
eaglewolf

Joined: 2004-10-02
Posts: 2
Posted: Sat, 2004-10-02 19:55

I downloaded the component from the site reference above, I installed it using mambo installed, and everything went fine. I set the path up then viewed the gallery and get this error:

Warning: main(/home/pack443/public_html/components/com_gallery/index.php): failed to open stream: No such file or directory in /home/pack443/public_html/components/com_gallery/gallery.php on line 48

Warning: main(/home/pack443/public_html/components/com_gallery/index.php): failed to open stream: No such file or directory in /home/pack443/public_html/components/com_gallery/gallery.php on line 48

Warning: main(): Failed opening '/home/pack443/public_html/components/com_gallery/index.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pack443/public_html/components/com_gallery/gallery.php on line 48

I am using the 4.5.1a mambo, and the path is right, so what am I doing wrong?

 
eaglewolf

Joined: 2004-10-02
Posts: 2
Posted: Thu, 2004-10-07 02:16

bump

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Fri, 2004-10-08 03:37

What path have you entered?
Have you already configured your gallery properly (standalone before adding to Mambo)?

-Beckett (

)

 
awago

Joined: 2004-05-05
Posts: 1
Posted: Tue, 2004-10-12 19:41
kai_tom wrote:
I found a Gallery-Component for Mambo 4.5.1 and 4.5-1.0.9 on this Website: http://www.glasgowsports.com/index.php?option=com_docman&task=view_category&catid=14&subcat=0&Itemid=39
I think only the XML-file has changed.
Just upload the zipfile with the Mambo-Installer.

This file is no longer exists on this server. Can anybody help me?

UPDATE: proper link to gallery component: http://www.glasgowsports.com/index.php?option=com_docman&task=docclick&Itemid=62&bid=3&limitstart=0&limit=10

 
kai_tom

Joined: 2004-04-08
Posts: 347
Posted: Tue, 2004-10-12 20:30

Hi,

go to http://www.glasgowsports.com/
choose Downloads from the Main Menu, then Mambo Stuff

Kai

 
Gunnar

Joined: 2004-10-16
Posts: 2
Posted: Sat, 2007-10-27 09:43

I have a similar problem.
Got the latest Mambo (4.5.1a-Stable) and latest Gallery with the downloaded external component installer referred to in this thread.

The Gallery component then installed perfectly, but when I in Mambo go to Component->Gallery to set the path, I get the following errormessage warning:

Notice: Table 'part_flmom.mosfl_gallery' doesn't exist in /home/part/public_html/hepp/includes/database.php on line 184

Warning: Invalid argument supplied for foreach() in /home/part/public_html/hepp/administrator/components/com_gallery/admin.gallery.php on line 66

-

I then enter the correct path and press SAVE and get the following message:

Table 'part_flmom.mosfl_gallery' doesn't exist SQL=UPDATE mosfl_gallery SET value=''/home/part/public_html/hepp/gallery/' WHERE field='path'

Anyone?

 
kai_tom

Joined: 2004-04-08
Posts: 347
Posted: Sun, 2004-10-17 09:42

Hi,

I think you are using another database prefix than mos_, the prefix mos_ is hardcoded in this Component.
May be the solution from this threat helps: http://forum.mamboserver.com/showthread.php?t=17693&page=2&pp=16

Kai

 
Gunnar

Joined: 2004-10-16
Posts: 2
Posted: Sun, 2004-10-17 11:52

Thank's much - that did the trick - got it fully integrated in Mambo now and it works perfectly.

-gunnar