Gallery in XOOPS
dj1298
Joined: 2003-04-10
Posts: 11 |
![]() |
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 ------ |
|
dj1298
Joined: 2003-04-10
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? HELP! Thanks, DJ1298 |
|
joan
![]()
Joined: 2002-10-21
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. |
|
dj1298
Joined: 2003-04-10
Posts: 11 |
![]() |
1500 lines of code? I will never get through all of that! :grin: 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
![]()
Joined: 2002-10-21
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.] |
|
joan
![]()
Joined: 2002-10-21
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! |
|
dj1298
Joined: 2003-04-10
Posts: 11 |
![]() |
Here is another piece of info that might help. I am going to quote you over on the Xoops page. Hopefully it will wake someone up. |
|
dj1298
Joined: 2003-04-10
Posts: 11 |
![]() |
Bump, Bump, Bumpity..... bump....... bump....... bump! Is anyone out there? Please help me. |
|
joan
![]()
Joined: 2002-10-21
Posts: 3473 |
![]() |
Comment out this if in include/common.php, viz: 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 |
![]() |
Are you refering to two files? Common.php and Include.php? Where should these files be located? In the gallery folder? |
|
joan
![]()
Joined: 2002-10-21
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. |
|
dj1298
Joined: 2003-04-10
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: 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
![]()
Joined: 2002-10-21
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. |
|
Dynamite23
Joined: 2003-06-05
Posts: 2 |
![]() |
I have exactly the same problems. p Dynamite23 |
|