Error on activation
-
Hi,
I’ve just installed your plugin following the install instructions, but after activation, I get a long error message at the top of the public web and the WordPress dashboard:
Warning: fopen(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /usr/home/…
After disabling the plugin everything looks normal again.
Any idea of what’s going wrong? Thanks!
-
no idea. That’s quite strange.
I have identified a number of bugs today and just submitted a new release with fixes, v1.2.
Please donwload and install this new version. If you still have the error upon activation, can you please post the entire error message here.
I am also facing the same problem. After I re-installed the latest version, there are some errors incurred and unable to activate the plugin.
“Plugin could not be activated because it triggered a fatal error.
Warning: require_once(/home/…/wp-content/plugins/cf7-polylang/includes/wordpress-gurus-debug-api.php): failed to open stream: No such file or directory in /home/…/wp-content/plugins/cf7-polylang/includes/class-cf7-polylang.php on line 104
Fatal error: require_once(): Failed opening required ‘/home/…/wp-content/plugins/cf7-polylang/includes/wordpress-gurus-debug-api.php’ (include_path=’.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php’) in /home/…/wp-content/plugins/cf7-polylang/includes/class-cf7-polylang.php on line 104″
Ooops, apologies, I forgot to
svn add..., I am not very conversant in svn hence the omition.I have just committed the missing file, please download and re-install.
working now?
Sorry for the delay, I’ve been on a short holiday this weekend.
I’ve just updated to the last plugin version, and after activation the same error shows as before. I’m not sure if it’s caused directly by your plugin or maybe is a server config incompatibility?
Warning: fopen(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /usr/home/…/wp-content/plugins/cf7-polylang/admin/class-cf7-polylang-admin.php on line 365 Warning: fopen(https://downloads.wp.xz.cn/translation/plugin/contact-form-7/4.4.2/es_ES.zip): failed to open stream: no suitable wrapper could be found in /usr/home/…/wp-content/plugins/cf7-polylang/admin/class-cf7-polylang-admin.php on line 365 Warning: copy(/usr/home/…/wp-content/plugins/cf7-polylang/languages/CF7/contact-form-7-es_ES.mo): failed to open stream: No such file or directory in /usr/home/…/wp-content/plugins/cf7-polylang/admin/class-cf7-polylang-admin.php on line 380 Warning: fopen(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /usr/home/…/wp-content/plugins/cf7-polylang/admin/class-cf7-polylang-admin.php on line 365 Warning: fopen(https://downloads.wp.xz.cn/translation/plugin/contact-form-7/4.4.2/de_DE.zip): failed to open stream: no suitable wrapper could be found in /usr/home/…/wp-content/plugins/cf7-polylang/admin/class-cf7-polylang-admin.php on line 365 Warning: copy(/usr/home/…/wp-content/plugins/cf7-polylang/languages/CF7/contact-form-7-de_DE.mo): failed to open stream: No such file or directory in /usr/home/…/wp-content/plugins/cf7-polylang/admin/class-cf7-polylang-admin.php on line 380 Warning: fopen(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /usr/home/…/wp-content/plugins/cf7-polylang/admin/class-cf7-polylang-admin.php on line 365 Warning: fopen(https://downloads.wp.xz.cn/translation/plugin/contact-form-7/4.4.2/it_IT.zip): failed to open stream: no suitable wrapper could be found in /usr/home/…/wp-content/plugins/cf7-polylang/admin/class-cf7-polylang-admin.php on line 365 Warning: copy(/usr/home/…/wp-content/plugins/cf7-polylang/languages/CF7/contact-form-7-it_IT.mo): failed to open stream: No such file or directory in /usr/home/…/wp-content/plugins/cf7-polylang/admin/class-cf7-polylang-admin.php on line 380
Hi,
the plugin is unable to connect to the WordPress translation api archive to download the CF7 locales for the Polylang lnaguges you have enabled,
1. Is your server connected to the Internet? If you are running as a localhost with no Internet connection then you will need to install the locales manually (please see the FAQ setion for help).
2. Can you check you server php.ini settings. Make sure the flag
allow_url_fopenis set to 1 (or ‘on’), this permits file access by URL. If you are unable to change your php.ini settings, then again, you will need to manually install the required locales (read the FAQ section for help).Mine is working. Thank you.
But there is another error incurred after activation on network admin page.
“Warning: Invalid argument supplied for foreach() in /home/…/wp-content/plugins/cf7-polylang/admin/cf7-post-admin-table.php on line 168”
ntynknet, could you please open a new thread for this.
xipiprats, let me know if u are able to solved your issue.
The topic ‘Error on activation’ is closed to new replies.