This topic has 11 replies, 4 voices, and was last updated 9 years, 8 months ago ago by Eva Kemp
I have read the Documentation and saw that one of the things to check is that file_get_contents() is activated. I contacted my host about it and they said I can add this function to the php.ini file and so I did. But the support person was no technician and said he doesn´t know this function and doesn´t really know what to do with it or if I have to write something in the () area.
What exactly do I have to do in order to make this work.
And a side question: My hosting package only allows 50M memory limit. Is this a real problem? I could upgrade but would have to pay more for hosting, so I´d like to know if it´s really necessary.
Thanks in advance!
Hello,
Please read this topic:
https://www.a2hosting.com/kb/developer-corner/php/using-php.ini-directives/php-allow-url-fopen-directive
Also recommended memory_limit for our theme is no less than 64M and this is important.
Regards,
Robert Hall.
Thank you Robert Hall,
file_get_contents
okay, that´s something I´ll have to try it out first. Thanks for the link.
memory limit:
what exactly does the 64M mean? 64mb per script call or something else? My host says the next package that costs 5 times more than the one I have right now would have 100mb per script call and the one I have right now has 50mb per script call.
@RobertHall: I read the article but this doesn´t really give me an idea how to activate file_get_contents.
Or does it mean that I activate it by enabeling allow_url_fopen ?
Hello,
Yes, you need enable allow_url_fopen function.
You can ask your host to enable it.
Regards,
Eva Kemp.
Update: I have totaly forgotten that I already upgraded my webhost package and my memory_limit = 100M
So this doesn´t really seem to be the problem. But I just found out how to active allow_url_fopen by simply going into the php.ini file and click it active.
Still until now it´s not working and I already wrote an e-mail to support with a login. Looking forward to get this working.
Hello,
Are you unable to install templates versions in Theme Options > Import/Export?
Please provide us with FTP and wp-admin panel credentials in Private Content.
Thank you.
Regards,
Eva Kemp.
Just went to “Theme Settings > Import/Export” I can see the options all kind of code that I can copy for export but I don´t really know how to use the import.
I have already sent an e-mail with FTP and wp-admin data but also attached it now in the private content. Thank you very much!
Hello
Please describe us what is the issue you faced that indicates allow_ur_fopen in disabled state.
With best reagrds
Brian Johnson
I always got the message “Preparing to import… Some error occured!” when going to the “tools > import demo data” and click “start import”. The same message occured when I activated file_get_contents in php.ini
But I now got an e-mail back from support: “We have checked your site, then problem is in your hosing, it doesn’t support zip unpacking function, that’s why script can’t unpack zip archive with demo data and install. Please ask your hosting to activate zip for php. See screenshots
http://screencast.com/t/2x8ezE6BtT
http://php.net/manual/en/zip.installation.php”
I will check that with my host now.
Hello,
Ok. Let us know if further assistance is required.
Thank you.
Regards,
Eva Kemp.
Tagged: active, enable, file_get_contents, php.ini, themes, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up