allow_url_fopen: not

Phoca Gallery - image gallery extension
rlubensky
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 16 Mar 2010, 05:17
Location: Melbourne Australia
Contact:

allow_url_fopen: not

Post by rlubensky »

Hi,

I wanted mobile phone users to be able to transmit pics to Picasa, which could then auto-display in a website. I've been using Phoca for a while, so this was a great opportunity.

But now I'm sunk, as I won't be asking my server-guy to turn on allow_url_fopen, due to the security risk it poses.

Any hope of a different approach using cURL?

Best,
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: allow_url_fopen: not

Post by Jan »

Hi, the curl is planned.

Jan
If you find Phoca extensions useful, please support the project
rlubensky
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 16 Mar 2010, 05:17
Location: Melbourne Australia
Contact:

Re: allow_url_fopen: not

Post by rlubensky »

Thanks, Jan. Add me to your beta tester list when you are ready. I'm not in a rush. My site is about a ski lodge in Australia, and our winter season starts in June. I want guests to take pictures while skiing.
rlubensky
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 16 Mar 2010, 05:17
Location: Melbourne Australia
Contact:

Re: allow_url_fopen: not

Post by rlubensky »

still hoping you can implement this soon....
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: allow_url_fopen: not

Post by Jan »

Hi, sorry, I don't understand, this is implemented yet. :idea:

It is implemented since 2.7.0 Beta (in 2.7.1 was fixed a minor problem).

https://www.phoca.cz/news/30-phoca-news/ ... a-released

Jan
If you find Phoca extensions useful, please support the project
rlubensky
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 16 Mar 2010, 05:17
Location: Melbourne Australia
Contact:

Picassa with cURL

Post by rlubensky »

Great! didn't know you'd implemented this already! Okay, have installed 2.7.3.
But images still not coming through.
See Album tab at http://www.marouka.com.au/

Have cURL.
Have json_decode.
php 5.2.4
have picassa albums (have tried Drop Box and another I called MemberUploads) with public permission
images uploaded to picasa just fine from phone, images are there to view.
have category, with picasa fields: tried username with google email and with nickname marouka
authorised and published
have album name correctly (no blanks, no hashes, matching case eg DropBox)
have created and referenced owner folder
ownership and rights: tried various settings

Suggestions?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: allow_url_fopen: not

Post by Jan »

Do you get some error message while importing?
If you find Phoca extensions useful, please support the project
rlubensky
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 16 Mar 2010, 05:17
Location: Melbourne Australia
Contact:

cURL: YES!

Post by rlubensky »

Oh for crying out loud. The "load" button.....

It works now....
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: allow_url_fopen: not

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply