Title: [Plugin: Zenphoto Gallery] fopen
Last modified: August 20, 2016

---

# [Plugin: Zenphoto Gallery] fopen

 *  [sojweb](https://wordpress.org/support/users/sojweb/)
 * (@sojweb)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/fopen/)
 * Thanks for the cool plugin. Seems like it has a lot of potential.
 * After configuring the path in options, I get a message regarding fopen. I don’t
   have fopen enabled on my server. Can you think of any ways to use curl instead?
 * Many Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Raphael](https://wordpress.org/support/users/akerbos87/)
 * (@akerbos87)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/fopen/#post-2277250)
 * Thanks for your feedback!
 * What happens if you comment out the `fopen` stuff `zpg_check_json` (line 550)
   and just return `true`? I use fopen only to check wether the address is valid,
   the actual data is retrieved by `file_get_contents`; maybe it does not use fopen?
 * If not so, please open a ticket in the bugtracker and I will have a look when
   I work on the plugin again. I do not know to what extent curl can replace `file_get_contents`
   and wether it works for a proper superset of people, but maybe one can offer 
   both?
 *  Thread Starter [sojweb](https://wordpress.org/support/users/sojweb/)
 * (@sojweb)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/fopen/#post-2277388)
 * Hi Raphael,
 * Thanks very much for your response. I really appreciate your help. I will make
   these changes and see if all works.
 *  Thread Starter [sojweb](https://wordpress.org/support/users/sojweb/)
 * (@sojweb)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/fopen/#post-2277389)
 * Returning true didn’t help, so I ended up enabling fopen on my server briefly
   to see if that would help. Still no luck, but at least now I know that it isn’t
   an fopen issue. Seems like it might be a permissions issue on json.php inside
   of zenphoto.
 * Thanks again for your help.
 *  Plugin Author [Raphael](https://wordpress.org/support/users/akerbos87/)
 * (@akerbos87)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/fopen/#post-2277392)
 * You are very welcome!
 * Maybe PHP offers more information if you enable debugging mode? (via wp-config.
   php)
 * As for permission issues, just make sure that json.php has the same owner/group
   and permissions as other Zenphoto files you access.
 *  Thread Starter [sojweb](https://wordpress.org/support/users/sojweb/)
 * (@sojweb)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/fopen/#post-2277401)
 * Hi Raphael,
 * Debugging through wp-config didn’t shed much light on the issue. I also double-
   checked my permissions for json.php. I’m still getting that same ‘check configuration
   for details’ message where the album should appear.
 * My gallery is at: [http://journalism.indiana.edu/apps/zenphoto/](http://journalism.indiana.edu/apps/zenphoto/)
 * I’m attempting to call a sub album by like this:
 * [zenalbum album=ErniePyle/BackHome]
 * Do you have any other tips? I’ve been thinking about installing a wp pear debug
   or something similar.
 * Thanks again for your time.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: Zenphoto Gallery] fopen’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/zenphoto-gallery.svg)
 * [Zenphoto Gallery](https://wordpress.org/plugins/zenphoto-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/zenphoto-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/zenphoto-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/zenphoto-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zenphoto-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zenphoto-gallery/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [sojweb](https://wordpress.org/support/users/sojweb/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/fopen/#post-2277401)
 * Status: not resolved