-
AuthorPosts
-
April 17, 2013 at 4:22 am #22150
I am getting the following errors occurring randomly while editing my pages. This is one example, but they all look similar:
Warning: simplexml_load_file() [function.simplexml-load-file]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /nfs/c07/h04/mnt/106557/domains/lenscraft.com/html/wp-content/themes/enfold/framework/php/class-update-notifier.php on line 62
Warning: simplexml_load_file(http://kriesi.at/themes/wp-content/uploads/avia_xml/Enfold-Updates.xml) [function.simplexml-load-file]: failed to open stream: no suitable wrapper could be found in /nfs/c07/h04/mnt/106557/domains/lenscraft.com/html/wp-content/themes/enfold/framework/php/class-update-notifier.php on line 62
Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity “http://kriesi.at/themes/wp-content/uploads/avia_xml/Enfold-Updates.xml” in /nfs/c07/h04/mnt/106557/domains/lenscraft.com/html/wp-content/themes/enfold/framework/php/class-update-notifier.php on line 62
April 17, 2013 at 5:37 am #114385Please add following line to your php ini:
ini_set('allow_url_fopen ','ON');
If you don’t have access to the php.ini try to contact your hoster – maybe the hoster support team can change/configure it for you. The warning message will be fixed in the next update.
April 21, 2013 at 5:06 pm #114386Sorry about the duplicate post. I had forgotten that I posted this.
Is there any easy way for me to see all of my posts?
April 21, 2013 at 5:15 pm #114387Hi!
Sure – click on the “Member” link below your nickname: https://kriesi.at/support/profile/lenscraft
Regards,
Peter
April 21, 2013 at 5:45 pm #114388I updated to the latest from ThemeForest (Enfold 1.2) and the errors haven’t gone away:
Warning: simplexml_load_file() [function.simplexml-load-file]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /nfs/c07/h04/mnt/106557/domains/lenscraft.com/html/wp-content/themes/enfold/framework/php/class-update-notifier.php on line 62
Warning: simplexml_load_file(http://kriesi.at/themes/wp-content/uploads/avia_xml/Enfold-Updates.xml) [function.simplexml-load-file]: failed to open stream: no suitable wrapper could be found in /nfs/c07/h04/mnt/106557/domains/lenscraft.com/html/wp-content/themes/enfold/framework/php/class-update-notifier.php on line 62
Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity “http://kriesi.at/themes/wp-content/uploads/avia_xml/Enfold-Updates.xml” in /nfs/c07/h04/mnt/106557/domains/lenscraft.com/html/wp-content/themes/enfold/framework/php/class-update-notifier.php on line 62
April 21, 2013 at 9:36 pm #114389More information… this seems to be a conflict between Enfold and the Jetpack ‘Custom CSS’ feature. The end result is now that I can’t edit custom CSS… changes are not saved.
April 22, 2013 at 12:04 am #114390Hi,
Please deactivate the Jetpack ‘Custom CSS’ to avoid conflict. IMO you don’t need the plugin since the theme already has a file for that. You can also place your custom css codes on Enfold > Theme Options > Styling > Quick CSS.
Regards,
Ismael
April 22, 2013 at 4:42 am #114391The Jetpack CSS plugin has lots of very useful features. It supports SASS CSS, and it will automatically switch CSS as you switch themes. It does syntax highlighting, and also code formatting.
It seems like you should be compatible with Jetpack, since it’s from the WordPress team.
April 22, 2013 at 5:24 am #114392Hi!
It seems like Kriesi didn’t apply my patch yet. Try following – open up wp-themeswp-enfoldenfoldframeworkphpclass-update-notifier.php and replace:
$xml = simplexml_load_file($this->xmlurl);
with:
$xml = @simplexml_load_file($this->xmlurl);
This will suppress all warnings if the simplexml_load_file doesn’t function correct.
Regards,
Peter
April 22, 2013 at 2:41 pm #114393That fixed things, thanks!
April 22, 2013 at 2:52 pm #114394Hi!
Great :)
Best regards,
Peter
-
AuthorPosts
- The topic ‘Random errors …’ is closed to new replies.