Gallery in XOOPS

dj1298

Joined: 2003-04-10
Posts: 11
Posted: Sat, 2003-04-19 21:24

I have the gallery installed and working. I can see the thumbnails just fine. But when you click on the thumbnail for the larger image, teh page is blank.

here is the site
http://www.r6-forum.com/r6/modules/xoopsgallery/view_album.php?set_albumName=album01

If you know the path to the regular size image, it can be displayed in a browser just fine.
Like

http://www.r6-forum.com/r6/modules/xoopsgallery/cache/albums/album01/sonic_001.jpg

Thanks for the help!

DJ1298
r6-forum.com site admin

------
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version:
Apache version:
PHP version (don't just say PHP 4, please):
Operating system:
Web browser/version (if applicable):

 
dj1298

Joined: 2003-04-10
Posts: 11
Posted: Mon, 2003-04-21 22:56

Bump.....

Anyone have any ideas?

One thing I notcied is when you click the thumbnail it leaves off the file extension of jpg in the URL. Should it include this?
If you add it to the URL it does not make a diference. :sad:

HELP!

Thanks,

DJ1298

 
joan
joan's picture

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

Is this the gallery 1.3.3 for Xoops 2.0? That's a complete install, and contains 1500 lines of differences compared to the 1.3.3 release code. You'd be better asking on the xoops site.

 
dj1298

Joined: 2003-04-10
Posts: 11
Posted: Tue, 2003-04-22 14:19

1500 lines of code? I will never get through all of that! :grin:
Some people say I have "ADD".

I have asked in the XOOPS forum. They have helped a lot. But now I am at a stoping point. Is there any other place I can post my issue?

Thanks,

DJ1298

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Tue, 2003-04-22 14:58

Ask away! I didn't mean to stop you - i just thought you might do better there.

[I'm just testing the XOOPSgallery integration. Who knows, maybe I can help.]

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Tue, 2003-04-22 15:35

OK, I've had a glance at your site. The url looks ok - the id of an image is it's jpg name without the extension.

So first I saved your html on my computer. There is no img link to your jpg. It's not getting drawn at all.

So then I looked at the view_album.php in xoopsgallery. They've completely written the part that writes that img element, and replaced with smarty templates. So the code that isn't working here is part of the mod, not the original gallery.

I don't know enough about the templates yet to even know where the actually write to the webpage is done!

 
dj1298

Joined: 2003-04-10
Posts: 11
Posted: Tue, 2003-04-22 17:33

Here is another piece of info that might help.
The slide slow will display all pictures in the correct size of 640x480. Hmmmmmm......

I am going to quote you over on the Xoops page. Hopefully it will wake someone up.

 
dj1298

Joined: 2003-04-10
Posts: 11
Posted: Sat, 2003-05-03 15:14

Bump, Bump, Bumpity..... bump....... bump....... bump!

Is anyone out there? Please help me.

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Sat, 2003-05-03 15:24

Comment out this if in include/common.php, viz:
<!-- 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>
// if ($xoopsConfig['debug_mode'] == 1) {
error_reporting(E_ALL);
// }
</TD></TR></TABLE><!-- BBCode End -->
(ie middle line not commented)

Then you will see all the error messages. The warnings can be ignored, just look at the errors.

 
dj1298

Joined: 2003-04-10
Posts: 11
Posted: Thu, 2003-05-08 17:44

Are you refering to two files? Common.php and Include.php? Where should these files be located? In the gallery folder?

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Thu, 2003-05-08 21:25

in you xoops install, find a directory called include. In there, find a file called "common.php" open that in a text editor, and add the two pairs of double slashes to the lines above.

 
dj1298

Joined: 2003-04-10
Posts: 11
Posted: Fri, 2003-05-09 15:37

ZThis is what I get when I click to get the full size image. Thanks for all of your help! I really appreciate it. :)

Parse error: parse error, unexpected $ in /home/djball/public_html/r6/templates_c/db%3Axoopsgallery_viewphoto.html on line 71

I opened this file up.Here is lines 62 to 71:

62  <table border="0" width="100%" class="outer" cellspacing="0">
63    <tr>
64
65      <td align="center" class="odd"><?php echo $this->_tpl_vars
66  ['navphoto']; ?>
67      </td>
68
69    </tr>
70
71  </table>
 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Sun, 2003-05-11 18:12

Hmmm. That file is created by the installation process, I think. If the xoops people can't help you with this, you could try clicking on the "update" icon on the modules admin page. It should rebuild this file, and maybe fix your problem.

I'm guessing here. This is definitely a xoops problem, and I'm just trying to get my head around xoops. Unfortunately their forums aren't as responsive as here.

 
Dynamite23

Joined: 2003-06-05
Posts: 2
Posted: Thu, 2003-06-05 19:49

I have exactly the same problems.

p

Dynamite23