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 If you know the path to the regular size image, it can be displayed in a browser just fine. http://www.r6-forum.com/r6/modules/xoopsgallery/cache/albums/album01/sonic_001.jpg Thanks for the help! DJ1298 ------ |
|
Posts: 11
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
Posts: 3473
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.
Posts: 11
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
Posts: 3473
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.]
Posts: 3473
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!
Posts: 11
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.
Posts: 11
Bump, Bump, Bumpity..... bump....... bump....... bump!
Is anyone out there? Please help me.
Posts: 3473
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.
Posts: 11
Are you refering to two files? Common.php and Include.php? Where should these files be located? In the gallery folder?
Posts: 3473
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.
Posts: 11
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:
Posts: 3473
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.
Posts: 2
I have exactly the same problems.
p
Dynamite23