just INFO: error in gallery-1.5.2-cvs-b18

mastrboy
mastrboy's picture

Joined: 2004-08-07
Posts: 16
Posted: Sat, 2005-10-15 22:35

File: inline_imagewrap.inc
Line: 66 - 68

#######################################################
if (isset($base)) {
$base = $base . "/html_wrap/frames/$frame";
} else {
#######################################################

This makes the linux directory as $base instead of HTML dir so frames will not show.

I just did:
#######################################################
// if (isset($base)) {
// $base = $base . "/html_wrap/frames/$frame";
// } else
{
#######################################################
And now the frames are showing as they should.

This is just a: "IF YOU NOT KNOW THIS ALREADY, HERE IS ANOTHER BUG" post ;)

AttachmentSize
1.JPG13.62 KB
 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sat, 2005-10-15 22:59

I cant follow you, what exactly does not work ?

Be as exactly as you can.
Thanks,

Jens
--
Last Gallery v1 developer and translation manager.

 
mastrboy
mastrboy's picture

Joined: 2004-08-07
Posts: 16
Posted: Sun, 2005-10-16 18:53

i uploaded a image in the previous post so you can se for yourself ;)

it looks like that before i comment those lines..

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sun, 2005-10-16 21:10

Are you using relative pathes or urls in your config ?

Jens
--
Last Gallery v1 developer and translation manager.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sun, 2005-10-16 21:15

The phpNuke information was also important !
Why did you remove it? What a luck i get a mail for every post.

So my guess ist, that you use a wrong url in your config.

Jens
--
Last Gallery v1 developer and translation manager.

 
mastrboy
mastrboy's picture

Joined: 2004-08-07
Posts: 16
Posted: Mon, 2005-10-17 19:39

removed nuke config because it testet with and without nuke, and the problem was equal.
..
Paths being used:

$gallery->app->albumDir = "/var/www/html/albums";
$gallery->app->photoAlbumURL = "http://$domain/modules/gallery";
$gallery->app->albumDirURL = "http://$domain/albums";

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2005-10-17 20:37

I found the bug.
Fixed in b19 ;)

Thanks for reporting.

Jens
--
Last Gallery v1 developer and translation manager.

 
mastrboy
mastrboy's picture

Joined: 2004-08-07
Posts: 16
Posted: Tue, 2005-10-18 10:53

sweet :D