[ckan-dev] file upload field missing
Nigel Babu
nigel at nigelb.me
Tue Mar 29 04:18:23 UTC 2016
A better solution is to edit your production.ini and change the
ckan.site_url to have the full HTTPS url. Additionally, also make sure
you have these lines in your Nginx configuration:
https://gist.github.com/nigelbabu/076ad12c13b2071de8e1#file-ckan_nginx-conf-L33
--
nigelb
On Mon, Mar 28, 2016, at 02:51 AM, Carl Lange wrote:
> Hi Patrick,
>
> I believe the quickest hack for this is to edit this line of
> base.html:
> https://github.com/ckan/ckan/blob/master/ckan/templates/base.html#L89
> and replace the two h.url calls with hardcoded base urls of your site,
> making sure you use https.
>
> So eg:
>
> <body{% block bodytag %} data-site-root="https://mysite.com" data-locale-root="
> https://mysite.com" {% endblock %}>
>
> I see it's a block - maybe you can override it. Also, this will
> probably break i18n.
>
> Sorry I can't give you a better answer right now, I'm not at my own
> computer.
>
> Cheers,
> Carl
>
>
> On 27 March 2016 at 21:44, Patrick West <westp at rpi.edu> wrote:
>> Doesn’t sound like there is any solution to this problem? Is this a
>> problem with all versions of ckan? Or just 2.5?
>>
>>> On Mar 17, 2016, at 3:26 AM, Patrick West <westp at rpi.edu> wrote:
>>>
>>> yes we are. And there is one JavaScript error that we get trying to
>>> go from https to http. Is that the issue?
>>>
>>>
>>>> On Mar 16, 2016, at 3:08 PM, Carl Lange <carl at derilinx.com> wrote:
>>>>
>>>> I've seen this before - if I recall correctly, it was a https
>>>> issue. Are you running your site over HTTPS?
>>>>
>>>> On 16 March 2016 at 19:55, Patrick West <westp at rpi.edu> wrote:
>>>>> ckan 2.5.1. Ubuntu 14.04. Using Chrome.
>>>>>
>>>>> Trying to enable filestore I get the following screen.
>>>>>
>>>>> <Screen Shot 2016-03-16 at 1.52.17 PM.png>
>>>>>
>>>>> You can’t tell, but there is a file selected. When I click the
>>>>> “Add” button it complains that the URL is empty, like the File
>>>>> field is empty. But if you click to the right of “File:” you can
>>>>> left click and select a file from your local filesystem. Then if
>>>>> you hover over just to the right of “File:” it’ll show the name of
>>>>> the file. But nothing is visible.
>>>>>
>>>>> Anyone see this before?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> -- Patrick West
>>>>> ---- Principal Software Engineer
>>>>> ---- Tetherless World Constellation[1]
>>>>> ---- Rensselaer Polytechnic Institute[2]
>>>>> ---- westp at rpi.edu FacebookWeblogYouTube
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> ckan-dev mailing list
>>>>> ckan-dev at lists.okfn.org
>>>>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>>>>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>>>>
>>>>
>>>> _______________________________________________
>>>> ckan-dev mailing list
>>>> ckan-dev at lists.okfn.org
>>>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>>>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>>
>>> _______________________________________________
>>> ckan-dev mailing list
>>> ckan-dev at lists.okfn.org
>>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>
> _________________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
Links:
1. http://tw.rpi.edu/
2. http://www.rpi.edu/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20160329/511edb58/attachment-0003.html>
More information about the ckan-dev
mailing list