1
jimbofoxman
XCGallery 2.03 Problems...........

Was running my site in a directory off the root called XOOPS.

ROOT
-DIR1
-DIR2
-GALLERY
-XOOPS
-MODULES
--MODULE1
--MODULE2
--XCGAL
-TEMPLATES

Couple months ago, I moved the site to the root.

DIR1
DIR2
GALLERY
MODULES
-MODULE1
-MODULE2
-XCGAL
TEMPLATES

In the original config, I had the album directory set to ../../../gallery/

After I moved the site, I forgot to change the album directory, yet the gallery still worked.........UNTIL.......someone wanted to upload something new. Then they got a message that they couldn't create the gallery directory. So I changed to...

../../gallery/

and it created the directory and files no problem. But now something is messed up. I can see all the thumbnails just fine, but I can't click on the thumbnail to see the larger image. Go to my site to see what I mean....

http://www.ipmskalamazoo.org/modules/xcgal

Click on one of the thumbnails to see what happens.

Suggestions

2
skenow
Re: XCGallery 2.03 Problems...........
  • 2007/3/17 4:18

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


Take a look at the database table - the folder for the picture is one of the fields that gets stored with each photo. You may need to update that field with the new relative path.

3
BlueStocking
Re: XCGallery 2.03 Problems...........

In checking this out I see the ../gallery directly off the root. You have exampled it and the code shows you set it at ../../gallery

I would check that first.

The working example code below indicates the correct path.
<a href="http://www.ipmskalamazoo.org/gallery/48th/sb-p40n-3.jpg" target="_blank"><img src="http://www.ipmskalamazoo.org/gallery/48th/thumb_sb-p40n-3.jpg" class="image" width="100" height="75" border="0" alt="mw-n1k1-3.jpg" title="Filename : mw-n1k1-3.jpg
Filesize : 58KB
Dimensions : 640x480
Date added : 2006/1/21 15:30" 
/>a>
<
a href="displayimage.php?pid=119&album=random&cat=&pos=-119"><br />a>



BlueStocking
Hardhunting.com
hhttps://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

4
jimbofoxman
Re: XCGallery 2.03 Problems...........

If I change it from ../../gallery/ to ../gallery/ then all I get is the filename, no pics. Maybe I just need to batch upload them again.

Quote:

BlueStocking wrote:
In checking this out I see the ../gallery directly off the root. You have exampled it and the code shows you set it at ../../gallery

I would check that first.

The working example code below indicates the correct path.
<a href="http://www.ipmskalamazoo.org/gallery/48th/sb-p40n-3.jpg" target="_blank"><img src="http://www.ipmskalamazoo.org/gallery/48th/thumb_sb-p40n-3.jpg" class="image" width="100" height="75" border="0" alt="mw-n1k1-3.jpg" title="Filename : mw-n1k1-3.jpg
Filesize : 58KB
Dimensions : 640x480
Date added : 2006/1/21 15:30" 
/>a>
<
a href="displayimage.php?pid=119&album=random&cat=&pos=-119"><br />a>



BlueStocking
Hardhunting.com

5
jimbofoxman
Re: XCGallery 2.03 Problems...........

Quote:

skenow wrote:
Take a look at the database table - the folder for the picture is one of the fields that gets stored with each photo. You may need to update that field with the new relative path.


If I look at the table "xoops_xcgal_pictures" I see paths like;

32nd/
48th/
Other/

Which is what I have in the Gallery Directory.

6
skenow
Re: XCGallery 2.03 Problems...........
  • 2007/3/17 16:18

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


Any debug information? xcGallery has its own option for debug and there are the XOOPS debug options

7
jimbofoxman
Re: XCGallery 2.03 Problems...........

If I just go to the XCGAL main page, I get this.....

Quote:
USER:

Array
(
[ID] => 2ef129e77d896d50cfceba8436b81ca2
[am] => 1
[liv] => Array
(
[0] => 136
)

)

GET :

Array
(
)

POST:

Array
(
)


Then when I click on an Album, I get this;

Quote:
USER:

Array
(
[ID] => 2ef129e77d896d50cfceba8436b81ca2
[am] => 1
[liv] => Array
(
[0] => 136
)

)

GET :

Array
(
[cat] => 2
)

POST:

Array
(
)


If I try clicking on any visible thumbnail, I get that blank screen. No debug info.

I upgraded to the latest version last night, wonder if a file got hosed on upload. I will upload again and update.

NOTE: Reuploading and updating didn't work

8
skenow
Re: XCGallery 2.03 Problems...........
  • 2007/3/17 16:56

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


What about XOOPS debug?

9
BlueStocking
Re: XCGallery 2.03 Problems...........

hhttp://www.ipmskalamazoo.org/modules/xcgal/displayimage.php?pid=584&album=lastup&cat=&pos=0

Check on Case Sensitive....

http://www.ipmskalamazoo.org/modules/xcgal/displayimage.php?pid=584&Album=lastup&cat=&pos=0

WHEN I CAP (A)lbum ... in place of the small (a)lbum.
I noticed that in your index.php that the categories were capitalized so adjusted link from address line accordingly.

_____________________________________________________
ERROR MESSAGE I GET NOW: Nice page asking me to register.

Register now for IPMS Kalamazoo! Login 17 March 2007 | 13:01:23

The selected album/picture does not exist !
If the page does not automatically reload, please click here


Copyright © 2006 by IPMS Kalamazoo | XOOPS 2.2.4 POWERED | Design based on 7dana.com
_______________________________________________________

Renaming your Subdirectory's without the caps may be the easiest way to fix the first part... of the problem. Then making sure the large pictures are in the proper subdirectory.

A BlueStocking newbie opinion.
hhttps://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

10
jimbofoxman
Re: XCGallery 2.03 Problems...........

Quote:

skenow wrote:
What about XOOPS debug?


PHP Debug, when I click on a thumbnail

Quote:
Fatal error: Call to a member function on a non-object in /home/ipmskala/www/www/header.php on line 42


To which if I look in header.php in the root, this is line 42

$GLOBALS['xTheme']->checkCache();


This is what is on the frontpage:

Quote:
Notice: Only variable references should be returned by reference in /home/ipmskala/www/www/modules/xhld0/include/functions.php on line 14

Notice: Only variables should be assigned by reference in /home/ipmskala/www/www/modules/xhld0/class/headlinerenderer.php on line 259

Notice: Only variable references should be returned by reference in /home/ipmskala/www/www/modules/xhld0/include/functions.php on line 14

Notice: Only variables should be assigned by reference in /home/ipmskala/www/www/modules/xhld0/class/headlinerenderer.php on line 259

Notice: Only variable references should be returned by reference in /home/ipmskala/www/www/modules/xhld0/include/functions.php on line 14

Notice: Only variables should be assigned by reference in /home/ipmskala/www/www/modules/xhld0/class/headlinerenderer.php on line 259

Notice: Undefined index: caption_text in /home/ipmskala/www/www/modules/xcgal/blocks/xcgal_blocks.php on line 83

Notice: Undefined index: caption_text in /home/ipmskala/www/www/modules/xcgal/blocks/xcgal_blocks.php on line 83

Notice: Undefined index: caption_text in /home/ipmskala/www/www/modules/xcgal/blocks/xcgal_blocks.php on line 83

Notice: Undefined index: caption_text in /home/ipmskala/www/www/modules/xcgal/blocks/xcgal_blocks.php on line 83

Notice: Undefined index: caption_text in /home/ipmskala/www/www/modules/xcgal/blocks/xcgal_blocks.php on line 83


There is no debug stuff when I got to XCGal, or the albums.

Login

Who's Online

458 user(s) are online (399 user(s) are browsing Support Forums)


Members: 0


Guests: 458


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits