Gallery in Xoops 2

kjsdesigns

Joined: 2003-04-20
Posts: 4
Posted: Mon, 2003-04-21 00:02

Problem Report and Help Request:
1) Specifying remote image path while adding images using web interface.
2) Specifying local image path while adding images using web interface.
3) Connecting to my Gallery using Gallery Remote

I've installed Gallery in Xoops 2; it works fine:

http://dms.kjsdesigns.com/modules/xoopsgallery

...BUT; it only works when uploading single photos. I've tried specifying ftp'd image directories after clicking the "add photos" link, and get the following responses:

1) Specifying remote image path while adding images using web interface.

(when I specify a url):
<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE>
Fetching Urls...
http://dms.kjsdesigns.com/galleryupload
Parsing http://dms.kjsdesigns.com/galleryupload for images...
Found 0 Images.
Processing status...
</TD></TR></TABLE><!-- BBCode End -->
This is odd, since you can navigate this directory yourself and see a full list of 240 jpgs.

2) Specifying local image path while adding images using web interface.

(when I specify a local path):
It scans all the photos in the directory fine, but then says each of the images are invalid (particularly curious as it first names the image as "x.jpg."; using netpbm, which works: http://dms.kjsdesigns.com/modules/xoopsgallery/check_netpbm.php )

Finally,

3) Connecting to my Gallery using Gallery Remote

Desperate to add my 240 images some better way than manually, I tried downloading Gallery Remote (Mac OSX).

Unfortunately when I send it my URL, I get this message (from log):
(http://dms.kjsdesigns.com/modules/xoopsgallery/)
1050880629056|ERROR|GalComm2 |com.gallery.GalleryRemote.GR2Exception: Server contacted, but Gallery not found at this URL

I actually looked at the Java file that this message is generated from, and I couldn't decipher the code.

--------------
If you need any more info to diagnose, please ask, I could really use this software.

Thanks
Keith

Gallery

Version
1.1

Description
Gallery 1.3.3 module with XOOPS commenting feature plus Smarty templates

Author
http://gallery.sourceforge.net/

Credits
Modularized into XOOPS and enhanced by K.Ono (http://www.xoops.org/) - The XOOPS Project

License
GPL

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Mon, 2003-04-21 04:51

Does the file uploading work correctly if you try it in Gallery directly? (rather than embedded in xoops...)

-Beckett (

)

 
kjsdesigns

Joined: 2003-04-20
Posts: 4
Posted: Mon, 2003-04-21 15:25

Hi, thanks for the quick reply

I'm sorry, but I don't know what you mean "try it in Gallery directly." I only have the Xoops distribution module of gallery, I searched through the directories and couldn't find anything that looked like a non-Xoops modified file.

This is the only "upload" file I could find, and it's the same one reffered to by xoops:
http://dms.kjsdesigns.com/modules/xoopsgallery/add_photos.php

- Is there a file in the xoopsgallery directory that I should be looking for? or,
- Could I possibly install extra Gallery files into my xoopsgallery directories to make it work?

I realize I havn't given you much information, and I aplogize, but I can at least give you my the directory listing from: http://dms.kjsdesigns.com/modules/xoopsgallery

Note: if you want me to change permissions on any of these files, just let me know.

<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE>
-rw-rw-r-- 1 keith kjsdesig 18007 Apr 18 12:45 LICENSE.txt
-rw-rw-r-- 1 keith kjsdesig 4442 Apr 18 12:40 add_photos.php
drwxrwxr-x 2 keith kjsdesig 4096 Apr 18 12:40 admin
-rw-rw-r-- 1 keith kjsdesig 7608 Apr 18 12:40 album_permissions.php
-rw-rw-r-- 1 keith kjsdesig 8785 Apr 18 12:40 albums.php
drwxrwxr-x 2 keith kjsdesig 4096 Apr 18 12:40 blocks
drwxrwxrwx 4 keith kjsdesig 4096 Apr 18 12:40 cache
-rw-rw-r-- 1 keith kjsdesig 8037 Apr 18 12:40 captionator.php
-rw-rw-r-- 1 keith kjsdesig 4573 Apr 18 12:40 check_imagemagick.php
-rw-rw-r-- 1 keith kjsdesig 1966 Apr 18 12:40 check_init.php
-rw-rw-r-- 1 keith kjsdesig 4980 Apr 18 12:40 check_netpbm.php
drwxrwxr-x 2 keith kjsdesig 4096 Apr 18 12:40 class
drwxrwxr-x 6 keith kjsdesig 4096 Apr 18 12:41 classes
-rw-rw-r-- 1 keith kjsdesig 2079 Apr 18 12:41 comment_delete.php
-rw-rw-r-- 1 keith kjsdesig 2075 Apr 18 12:41 comment_edit.php
-rw-rw-r-- 1 keith kjsdesig 2073 Apr 18 12:41 comment_new.php
-rw-rw-r-- 1 keith kjsdesig 2075 Apr 18 12:41 comment_post.php
-rw-rw-r-- 1 keith kjsdesig 2077 Apr 18 12:41 comment_reply.php
-rw-rw-r-- 1 keith kjsdesig 3096 Apr 18 12:41 config.php
-rw-rw-r-- 1 keith kjsdesig 2697 Apr 18 12:41 create_user.php
-rw-rw-r-- 1 keith kjsdesig 1912 Apr 18 12:41 delete_album.php
-rw-rw-r-- 1 keith kjsdesig 3086 Apr 18 12:41 delete_photo.php
-rw-rw-r-- 1 keith kjsdesig 2202 Apr 18 12:42 delete_user.php
-rw-rw-r-- 1 keith kjsdesig 6487 Apr 18 12:42 do_command.php
-rw-rw-r-- 1 keith kjsdesig 6204 Apr 18 12:42 edit_appearance.php
-rw-rw-r-- 1 keith kjsdesig 4164 Apr 18 12:42 edit_caption.php
-rw-rw-r-- 1 keith kjsdesig 2064 Apr 18 12:42 edit_field.php
-rw-rw-r-- 1 keith kjsdesig 4073 Apr 18 12:42 edit_thumb.php
drwxrwxr-x 2 keith kjsdesig 4096 Apr 18 12:42 errors
-rwxrwxrwx 1 keith kjsdesig 8158 Apr 18 12:42 gallery_remote.php
-rwxrwxrwx 1 keith kjsdesig 17750 Apr 18 12:42 gallery_remote2.php
-rw-rw-r-- 1 keith kjsdesig 2023 Apr 18 12:42 highlight_photo.php
drwxrwxr-x 2 keith kjsdesig 4096 Apr 18 12:42 html
drwxrwxr-x 2 keith kjsdesig 4096 Apr 18 12:43 html_wrap
drwxrwxr-x 2 keith kjsdesig 4096 Apr 18 12:44 images
drwxrwxr-x 2 keith kjsdesig 4096 Apr 18 12:44 include
-rw-rw-r-- 1 keith kjsdesig 3504 Apr 18 12:44 index.php
-rw-rw-r-- 1 keith kjsdesig 4565 Apr 18 12:44 init.php
drwxrwxr-x 2 keith kjsdesig 4096 Apr 18 12:44 java
drwxrwxr-x 2 keith kjsdesig 4096 Apr 18 12:44 js
drwxrwxr-x 3 keith kjsdesig 4096 Apr 18 12:44 language
drwxrwxr-x 2 keith kjsdesig 4096 Apr 18 12:45 layout
-rw-rw-r-- 1 keith kjsdesig 2902 Apr 18 12:45 login.php
-rw-rw-r-- 1 keith kjsdesig 2880 Apr 18 12:45 manage_users.php
-rw-rw-r-- 1 keith kjsdesig 3735 Apr 18 12:45 modify_user.php
-rw-rw-r-- 1 keith kjsdesig 3260 Apr 18 12:45 move_album.php
-rw-rw-r-- 1 keith kjsdesig 9449 Apr 18 12:45 move_photo.php
drwxrwxr-x 2 keith kjsdesig 4096 Apr 19 02:51 netpbm
drwxrwxr-x 2 keith kjsdesig 4096 Apr 18 12:45 platform
-rw-rw-r-- 1 keith kjsdesig 1839 Apr 18 12:45 progress_uploading.php
-rw-rw-r-- 1 keith kjsdesig 12935 Apr 18 12:45 publish_xp.php
-rw-rw-r-- 1 keith kjsdesig 2538 Apr 18 12:45 publish_xp_docs.php
-rw-rw-r-- 1 keith kjsdesig 3637 Apr 18 12:45 rename_album.php
-rw-rw-r-- 1 keith kjsdesig 2917 Apr 18 12:45 resize_photo.php
-rw-rw-r-- 1 keith kjsdesig 2355 Apr 18 12:45 rotate_photo.php
-rw-rw-r-- 1 keith kjsdesig 12253 Apr 18 12:45 save_photos.php
-rw-rw-r-- 1 keith kjsdesig 8052 Apr 18 12:45 search.php
-rw-rw-r-- 1 keith kjsdesig 3661 Apr 18 12:45 session.php
-rw-rw-r-- 1 keith kjsdesig 16770 Apr 18 12:45 slideshow.php
-rw-rw-r-- 1 keith kjsdesig 13530 Apr 18 12:45 slideshow_low.php
-rw-rw-r-- 1 keith kjsdesig 3026 Apr 18 12:45 sort_album.php
drwxrwxr-x 2 keith kjsdesig 4096 Apr 18 12:45 sql
drwxrwxr-x 3 keith kjsdesig 4096 Apr 18 12:46 templates
-rw-rw-r-- 1 keith kjsdesig 4861 Apr 18 12:46 upgrade_album.php
-rw-rw-r-- 1 keith kjsdesig 3454 Apr 18 12:46 user_preferences.php
-rw-rw-r-- 1 keith kjsdesig 31478 Apr 18 12:46 util.php
-rw-rw-r-- 1 keith kjsdesig 16205 Apr 18 12:46 view_album.php
-rw-rw-r-- 1 keith kjsdesig 8789 Apr 18 12:46 view_photo.php
-rw-rw-r-- 1 keith kjsdesig 5409 Apr 18 12:46 view_photo_properties.php
-rw-rw-r-- 1 keith kjsdesig 9854 Apr 18 12:46 xoops_version.php
</TD></TR></TABLE><!-- BBCode End -->

Reference Notes
In case someone not familiar with the Xoops Gallery directory structure is trying to help, just a few pointers:
- the actual albums are stored in ./cache
- ./classes/gallery is the closest thing I could find to a "non-Xoops" directory... that only had User and UserDB.php files in it.

Thanks again for your time, much appreciated.
Keith < keith % @ % kjsdesigns % . % com >

 
kjsdesigns

Joined: 2003-04-20
Posts: 4
Posted: Mon, 2003-04-21 15:39

More Clarifications

I downloaded the non-Xoops gallery and uploaded the setup directory, so now you can check out my diagnostic page yourself (I don't know what to look for):

http://dms.kjsdesigns.com/modules/xoopsgallery/setup/phpinfo.php <~php info page

http://dms.kjsdesigns.com/modules/xoopsgallery/setup/diagnostics.php <~diagnostic page (note: info on this does not seem to match info when checking the same diagnostic tools seen in previous message, particularly:
http://dms.kjsdesigns.com/modules/xoopsgallery/setup/check_netpbm.php <~ gives negative response, but
http://dms.kjsdesigns.com/modules/xoopsgallery/check_netpbm.php <~ gives positive response

I've only uploaded the setup folder of the regular distribution. If there's any other files you want me to upload, let me know (I'm not sure this really helped you anyways, but whatever.)

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Mon, 2003-04-21 23:18

Like I just said on the other thread, this version of gallery varies so much from the standard install, it makes more sense to ask these questions on the Xoops site.

 
kjsdesigns

Joined: 2003-04-20
Posts: 4
Posted: Tue, 2003-04-22 00:47

I appreciate your feedback; and I will take your advice. I'm still curious all the same if the origional problems I listed:

1) Specifying remote image path while adding images using web interface.
2) Specifying local image path while adding images using web interface.
3) Connecting to my Gallery using Gallery Remote

Might be a sign of a general issue seen by other installations (particularly in the case where adding files one at a time using web interface still works).

If this issue strikes anyone's interest; I'd still appreciate feedback.

 
btesec

Joined: 2007-08-04
Posts: 10
Posted: Wed, 2007-08-15 19:00

Can anyone please port Gallery 2.2.2 for Xoops 2.0.16. Would help a lot.

Thanks

BTESEC

 
poehoes
poehoes's picture

Joined: 2006-10-14
Posts: 6
Posted: Mon, 2007-10-08 15:01

I have Gallery 2.2.3 installed for Xoops 2.0.17! Everything works fine! Just install XoopsGallery RC4. It will contain a directory engine. Just replace everything in that directory with the official files from gallery2.2.3.

First install gallery itself: http://yoursite_xoops/modules/xoopsgallery/engine/install OR http:///yoursite_xoops/modules/xoopsgallery/engine/upgrade depending on your situation. Then follow the instructions from xoopsgallery if you did a fresh install. For an upgrade you don't have to change a thing in xoopsgallery.