Member
Member
themisters   2012-09-08, 06:06
#1

So I am trying to insert the the which is in place and works of sorts.... you can see the test link here.... http://boatsandho.es/index.php?album=test3/

It is the first download link as the second is a test of albumzip stream. when I click ont he download album I get this :

http://boatsandho.es/http%3A//boatsandho.es/index.php?album=test3/&download=test3&albumzip

which of course 404s

if I clean the url and remove /http%3A//boatsandho.es out of the center making the url http://boatsandho.es/index.php?album=test3/&download=test3&albumzip it works fine and downloads the album correctly.

Is there a reason that is is creating that additional text in the url and how can I correct that.... any help is greatly appreciated.

Administrator
Administrator
fretzl   2012-09-08, 08:03
#2

The function printAlbumZip() is deprecated. Try the function printDownloadLinkAlbumZip() instead.

Administrator
Administrator
acrylian   2012-09-08, 08:54
#3

Which is a function of the downloadlist plugin that needs to be enabled naturally.

Member
Member
themisters   2012-09-10, 00:21
#4

Thank you, it seemed to be an issue that i needed to resetup zp after making changes to my server configuration. I appreciate the prompt response.

Member
Member
gmflash   2012-12-04, 07:01
#5

I have the same problem as described in the 1st post with ZP v1.4.3.5. I've enabled the downloadList plugin. In my album.php file I have:

``

The link appears on the page correctly, but the href is incorrect:

http://myserver/zenphoto/http%3A//myserver/zenphoto/index.php?album=album1/&download=album1&albumzip

It would be great to find out what themisters changed in the config to make this work.

Administrator
Administrator
acrylian   2012-12-04, 12:39
#6

Try re-running setup or set the WEBPAT define in /zp-date/zenphoto.cfg manually.

Member
Member
gmflash   2012-12-04, 15:25
#7

I tried both of those. Unfortunately, no change. Setup doesn't give any indication of errors. Only some warnings about my file permissions being more lax than what is recommended.

In zenphoto.cfg, I set

define('WEBPATH', '/zenphoto');
define('SERVERPATH', '/var/www/zenphoto');

and restarted Apache, but no change.

Administrator
Administrator
acrylian   2012-12-05, 10:11
#8

It was a bug and is fixed in tonight's nightly (or the soon sadly required following of 1.4.3.6...)

Member
Member
gmflash   2012-12-06, 18:02
#9

Yes, it's now fixed in the 12/5 build. Thanks very much.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.