thecity / thecity-plaza-wordpress

A WordPress plugin to access The City Plaza data (topics, events, etc)
4 stars 4 forks source link

Error messages #16

Closed claykitchens closed 11 years ago

claykitchens commented 11 years ago

I have entered the required information, however, the plugin is not pulling the info from our plaza. I receive the following error message:

Warning: file_get_contents() [function.file-get-contents]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /nfs/c09/h04/mnt/139133/domains/alpinecoc.org/html/wp-content/plugins/the-city-plaza/lib/plaza-php/lib/loaders/base_loader.php on line 75

Thanks! plugin_thecityerror

weshays commented 11 years ago

This is a server configuration issue. Are you hosting your site with someone or do you have your own server? The issue is that allow_url_fopen needs to be set to "On". You can do that in the php.ini file.

If you do not have access to the php.ini file then you can try adding the following to your .htaccess file: php_value allow_url_fopen On

Let me know if that helps.

claykitchens commented 11 years ago

That was it, @weshays ! Thank you so much. I just added the two lines of code from this issue -- https://github.com/thecity/thecity-plaza-wordpress/issues/15#issuecomment-18724314 -- and it worked immediately.