This release fixes the issue where if your data folder isn't called "data", so it'll make a folder called instagram regardless what your data folder name is.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
The plugin should've made the folder for you but I guess not, try making the folder instagram inside your data folder. You should see something like this:
Ok, I was able to locate the instagram folder inside a folder named dataelgg it has about 7 .txt files in it.
Does it work now?
No, should I be trying to edit these files somehow.
No, what can I do?
It works on my localhost, I'm not sure why yours isn't working. Could you link me to your site?
@9Etha the theme your site is using doesn't support widgets so that's why you're not seeing the Instagram widget.
Hi, if u have time check back . Widgets are only available on the dashboard.
This plugin is only available for user profile widget, not admin or dashboard widget.
Ok thx, apologies for the confusion.
No problem.
works great under 1.9.x only got this 2 warnings. How to fix that?
http://screenpresso.com/=VqyCf
@whitetornado, I will fix it when I can.
I get error
/!\ error getUserIDFromUserName. /!\ error empty username or access token.
but both token and username are correct
i checked elggdata and instagram folders and they have same owner and group
I also tried to set permission to 777 but still not working
what can I try? thanks for your help!
Hi stefano, what Elgg version are you using?
Hi Cim, thanks for prompt reply
I still use v. 1.8.16
I uploaded a new release for 1.8, try that one.
uploaded the new version 1.8
repeated the procedure for ClientID and Access Token
but still not working ...
error is still /!\ error getUserIDFromUserName. /!\ error empty username or access token.
I checked in elggdata/instagram folder but I don't have any txt file now ...
thanks for your help!
Did you replace the entire folder with the newest one? Also try flushing the cache from admin page and/or running upgrade.php. It couldn't hurt.
Yes, I deactivated old pluging and deleted the folder, uploaded the new folder and and after activation I flushed the cache and run upgrade ...
Anything else I can try?
If all else fails, check error logs. Post some entries here.
Sorry, but where can I find error logs?
I'm gonna assume you're on a shared hosting environment and have cpanel. Log into your control panel and look for error logs on the dashboard
Found thanks!
latest log errors are:
[Wed Feb 25 04:46:33 2015] [error] [client 31.157.226.211] PHP WARNING: 2015-02-25 04:46:33 (EST): "file_get_contents(https://api.instagram.com/v1/users/search?q=username&access_token=000000000.bf00000.000d5578ba95435285c5ad6b577c000b) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: no suitable wrapper could be found" in file /home/public_html/mod/instagram/lib/instagram.php (line 114), referer: http://home.net/activity
[Wed Feb 25 04:46:33 2015] [error] [client 31.157.226.211] PHP WARNING: 2015-02-25 04:46:33 (EST): "file_get_contents() [<a href='function.file-get-contents'>function.file-get-contents</a>]: https:// wrapper is disabled in the server configuration by allow_url_fopen=0" in file /home/public_html/mod/instagram/lib/instagram.php (line 114), referer: http://home.net/activity
I see your error, you need to enable allow_url_fopen in your php.ini config. You have to talk with your hosting and ask them to enable it.
While you're waiting, try adding this to instagram/lib/instagram.php file inside class instagramPhp like this:
See if that fixed it.