- Posts: 4
COMMUNITY FORUM
- Forum
- Commercial Joomla Extensions & Templates
- Simple Image Gallery PRO
- Problem with the download link
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.
Problem with the download link
- c4rmen
-
Topic Author
- Offline
- New Member
I am very pleased with this product and I can say without any doubt that the money were well spend! I do have one problem, thought! The download link that appears at every picture doesn't work. I get the message "Sorry, download unavailable or wrong file path set! Please contact the administrator of this site.". I found a topic on this matter on the forum but it didn't cover my problem, because I have a main folder with sub folders corresponding to different galleries. I don't know how to set the path. Can you, please, tell me how to do it?
Thanks a lot!
Best regards,
Carmen Avramescu
ps: the email from where I bought the product was This email address is being protected from spambots. You need JavaScript enabled to view it.
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
Please Log in or Create an account to join the conversation.
- c4rmen
-
Topic Author
- Offline
- New Member
- Posts: 4
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
Please Log in or Create an account to join the conversation.
- c4rmen
-
Topic Author
- Offline
- New Member
- Posts: 4
Please Log in or Create an account to join the conversation.
- Jason Hoblin
-
- Offline
- New Member
- Posts: 3
yoo template, but not yoo gallery
joomfish installed and a tiny if-then added to the sigproengine for label.txt
gallery = ok
pupbox = ok
click on dl link = err:
Sorry, download unavailable or wrong file path set!
Please contact the administrator of this site.
Return
i cannot find solution in this post or the referred post (forum.joomlaworks.net/index.php?topic=8037) or in other threads. i firebug'd the download link but i just dont see any ul-li styles. i do not understand how a style would break a download link, anyway.
i tried modifying the url to see is it was a dirpath issue:
www.irinasergeyeva.com/plugins/content/jw_sigpro/sigpro.download.php?file=media/Newest/fall.jpg
www.irinasergeyeva.com/plugins/content/jw_sigpro/sigpro.download.php?file=Newest/fall.jpg
www.irinasergeyeva.com/plugins/content/jw_sigpro/sigpro.download.php?file=http://www.irinasergeyeva.com/media/Newest/fall.jpg
no go, please advise.
btw: the client is actually asking for just a direct link to be able to send image. if you are taking suggestions for SIGPRO, i'd recommend a direct link and/or embed code fields for syndicating images.
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
Please Log in or Create an account to join the conversation.
- CZBios
-
- Offline
- Senior Member
- Posts: 43
URL gallery: eradka.ktkadan.cz/index.php/radka-os/fotogalerie/item/211-skoleni_bezpecnost_prace
Download link err: Sorry, download unavailable or wrong file path set!
Please contact the administrator of this site.
err url path: eradka.ktkadan.cz/plugins/content/jw_sigpro/sigpro.download.php?file=media/k2/galleries/211/P9240270.JPG
Image is on the path and with direct link is accessible.
eradka.ktkadan.cz/media/k2/galleries/211/P9240270.JPG
Can you please advise?
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
You could use the SIG Pro as it is though, which means that you can put the {gallery} tags inside each article and after setting the parameters inside the plugin (you should probably move the galleries folders to the images/stories path), you could have a fully functional gallery.
Please Log in or Create an account to join the conversation.
- CZBios
-
- Offline
- Senior Member
- Posts: 43
Please Log in or Create an account to join the conversation.
- EmmanuelZ
-
- Offline
- New Member
- Posts: 4
I have the latest version of K2 and SIG Pro ... I'm disappointed to see that there is not the download link (I buy SIG PRO only for this 8)).
Do you think you can find a "custom" solution ?
Thanks,
Regards.
Please Log in or Create an account to join the conversation.
- Mark Bos
-
- Offline
- New Member
- Posts: 2
Please Log in or Create an account to join the conversation.
- Mark Bos
-
- Offline
- New Member
- Posts: 2
Please Log in or Create an account to join the conversation.
- kees janisse
-
- Offline
- New Member
the problem is indeed related to hardcoding of the plugin
to be specifick: on line 34 of sigpro.download.php
// block any attempt to explore the filesystem - check if images are included in the "images" folder
$ref = $mosConfig_live_site.'/'.substr($_GET,0,strlen('images/'));
$check = $mosConfig_live_site."/images/";
Quickfix: if you replace "/image/" (twice) with the correct root folder your download will work again!
Also for K2 media you can fix this (on line 31 , 32)
Of course this is only a quick&dirty,
plugin should not refer to the absolute path. but that's something for the developers
;D
Please Log in or Create an account to join the conversation.
- dcarskadon
-
- Offline
- New Member
- Posts: 2
Also the $database global does not appear to be allowed here....
Below is some quick and dirty raw mysql code... I didn't bother to take the time to at least read Joomla's configuration to determine the DB prefix... I would recommend that you do... but the below code (at least update your DB prefix as appropriate) will work...
Again... the below code is me being lazy... this could be much cleaner :)
$query = "SELECT params FROM test_mambots WHERE element = 'jw_sigpro' AND folder = 'content'";
$q = mysql_query($query);
$row = mysql_fetch_row($q);
$Params = $row[0];
$Params = explode("\n",$Params);
$galleries_rootfolder = '';
foreach ($Params as $value)
{
$tmp = explode("=",$value);
if ($tmp[0] == 'galleries_rootfolder')
{
$galleries_rootfolder = $tmp[1];
}
}
#$ref = $mosConfig_live_site.'/'.substr($_GET,0,strlen('images/'));
#$check = $mosConfig_live_site."/images/";
$ref = $mosConfig_live_site.'/'.substr($_GET,0,strlen($galleries_rootfolder));
$check = $mosConfig_live_site."/".$galleries_rootfolder;
Please Log in or Create an account to join the conversation.
- Forum
- Commercial Joomla Extensions & Templates
- Simple Image Gallery PRO
- Problem with the download link