Fatal error: Call to undefined function stream_get_contents() in /users/moma/www/concrete/libraries/3rdparty/Zend/Cache/Backend/File.php on line 955
Permalink
I installed concrete the first time. After the test where ok I entered all MySQL data and got the error:
Fatal error: Call to undefined function stream_get_contents() in /users/moma/www/concrete/libraries/3rdparty/Zend/Cache/Backend/File.php on line 955
What can I do? The database is filled and a site.php was created. I can't see anything, except I delet this php. Then I can start the install again.
Fatal error: Call to undefined function stream_get_contents() in /users/moma/www/concrete/libraries/3rdparty/Zend/Cache/Backend/File.php on line 955
What can I do? The database is filled and a site.php was created. I can't see anything, except I delet this php. Then I can start the install again.
can we please see a phpinfo();
http://phpinfo.bplaced.net/
I hope it helps.
I hope it helps.
The page isn't loading for me
Hope this pdf is working then for you.
Are you 100% certain that is the phpinfo file for your site? I ask only because the function that is being reported as undefined was added in PHP5, so there should no reason for it to be undefined unless something like the following is going on:
1) The function is disabled (which it doesn't appear to be)
2) Someone custom compiled php 5.3.2 without the function
3) You have the ability to pick between php 5 and php4 with your setup and for some reason, php4 is what's running in your current directory...
1) The function is disabled (which it doesn't appear to be)
2) Someone custom compiled php 5.3.2 without the function
3) You have the ability to pick between php 5 and php4 with your setup and for some reason, php4 is what's running in your current directory...
This is the phpinfo I found for my profile. I could check inside my admin console if you tell me, which line I should look for or where the problem's origin could be found.
Thank you.
Thank you.
This is what I got:
Server Version: 5.1
and the attached file was created from my accounts myphpadmin.
Server Version: 5.1
and the attached file was created from my accounts myphpadmin.
Is it possible for you to create a file that looks like this on your server (perhaps as test.php, and then return the output to us:
echo "<pre>Begin Test\n"; if (function_exists('stream_get_contents')) { echo "SGC functions are available.<br />\n"; } else { echo "SGC functions are not available.<br />\n"; } echo "Testing the command itself \n"; if ($stream = fopen('http://www.rinsefirst.com/test/', 'r')) { echo stream_get_contents($stream, -1, 10); fclose($stream); } echo "Begin PHP Info\n</pre>"; phpinfo();
It is...
But it seems I can't use this function. Is there a way for me to use Concrete5?
The file:
http://moma.bplaced.de/test/test.php...
But it seems I can't use this function. Is there a way for me to use Concrete5?
The file:
http://moma.bplaced.de/test/test.php...
Only thing I can think to try is perhaps use a pre-zend cache version of C5 (I believe it was added in 5.4... so try 5.3 perhaps) and see if that will work... It is *possible* to replace stream_get_contents with file_get_contents(), but not sure how much work it would take...
Otherwise, Another webhost (perhaps C5's webhosting), might be your best choice.
Otherwise, Another webhost (perhaps C5's webhosting), might be your best choice.
Thank you for your fast help. I think I will try an older version first, because the hosting is for testing first. The other option may work later.
If you have a local php.ini file, you could try and add the line:
allow_url_fopen = On
Or try and put this in your .htaccess
php_value allow_url_fopen On
allow_url_fopen = On
Or try and put this in your .htaccess
php_value allow_url_fopen On