Zend-Problem
Permalink 2 users found helpful
Hi there,
I am trying to install C5 on a new server, but before I come to the install-script I get this error:
After some research on the net and the forums this could be because of some File-Permissions, so I've changed them. I also changed the permissions as described in the documentation - and yes the files do exist, so please don't ask me to copy them to the server again... ;-)
What can I do now?
I am trying to install C5 on a new server, but before I come to the install-script I get this error:
Warning: Zend_Cache::require_once(Zend/Cache/Backend/File.php) [zend-cache.require-once]: failed to open stream: No such file or directory in /var/www/web1/html/concrete/libraries/3rdparty/Zend/Cache.php on line 132 Fatal error: Zend_Cache::require_once() [function.require]: Failed opening required 'Zend/Cache/Backend/File.php' (include_path='.') in /var/www/web1/html/concrete/libraries/3rdparty/Zend/Cache.php on line 132
After some research on the net and the forums this could be because of some File-Permissions, so I've changed them. I also changed the permissions as described in the documentation - and yes the files do exist, so please don't ask me to copy them to the server again... ;-)
What can I do now?
Hi Jon,
Thank you for the quick help - it helped me a lot.
The include_path is set by C5 but the settings of my server do not accept this. Now I have "hardcoded" the include_path in the configuration and it works like a charme. A work around and when I have the time I will research why C5 isn't allowed to change the path.
Claudius
Thank you for the quick help - it helped me a lot.
The include_path is set by C5 but the settings of my server do not accept this. Now I have "hardcoded" the include_path in the configuration and it works like a charme. A work around and when I have the time I will research why C5 isn't allowed to change the path.
Claudius
Were you able to find another solution to this problem...other than hardcoding all the links? I'm having the same issue. Thanks!
Found a solution: Here are the specs for my setup:
- Windows server 2008 R2
- Xampp running Php 5.3.5 and Apache - 2.2
I was getting the following error only for a specific add-on: "Pro Events".
The error: "Warning: require_once(Zend/Gdata.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\packages\g_calendar_viewer\libraries\Zend\Gdata\Calendar.php on line 27".
I solved the issue by going to "packages\g_calendar_viewer\models\gcalendar_viewer.php" and changing line 28 from:
to:
(the only difference is the semi-colon after get_include_path())
In any sort of include_path situation, windows wants semi-colons instead of colons. But the quality behind windows can also be questioned ;)
Hope this is helpful to someone.
- Windows server 2008 R2
- Xampp running Php 5.3.5 and Apache - 2.2
I was getting the following error only for a specific add-on: "Pro Events".
The error: "Warning: require_once(Zend/Gdata.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\packages\g_calendar_viewer\libraries\Zend\Gdata\Calendar.php on line 27".
I solved the issue by going to "packages\g_calendar_viewer\models\gcalendar_viewer.php" and changing line 28 from:
ini_set("include_path", get_include_path() . ':' . DIR_PACKAGES . '/g_calendar_viewer/libraries');
to:
ini_set("include_path", get_include_path() . ';' . DIR_PACKAGES . '/g_calendar_viewer/libraries');
(the only difference is the semi-colon after get_include_path())
In any sort of include_path situation, windows wants semi-colons instead of colons. But the quality behind windows can also be questioned ;)
Hope this is helpful to someone.
Thanks for posting! You saved me much time and frustration.
Hi,
I am having the same problems with the installation. I downloaded the newest version of concrete5. I also am running other webpages on the same server and never had problems with installing before.
Warning: require_once() [function.require-once]: Unable to access /Date/DateObject.php in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Warning: require_once(/Date/DateObject.php) [function.require-once]: failed to open stream: No such file or directory in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Fatal error: require_once() [function.require]: Failed opening required '/Date/DateObject.php' (include_path='.') in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Can you give me some advice, I dont get the directions in the posts above..
Thanks and regards
Jan
I am having the same problems with the installation. I downloaded the newest version of concrete5. I also am running other webpages on the same server and never had problems with installing before.
Warning: require_once() [function.require-once]: Unable to access /Date/DateObject.php in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Warning: require_once(/Date/DateObject.php) [function.require-once]: failed to open stream: No such file or directory in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Fatal error: require_once() [function.require]: Failed opening required '/Date/DateObject.php' (include_path='.') in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Can you give me some advice, I dont get the directions in the posts above..
Thanks and regards
Jan
@necsus: where in which file did you change what precisely?
thanks for your help
thanks for your help
I have my own server running multiple concrete5 (c5) sites. I wanted to avoid a new installation of c5 for each site. Therefore I created a central codebase for the c5-core. This required a change in the apache configuration for each domain running c5.
In the beginning it was enough to add the absolute path to the root of the c5-core installation to the "php_admin_value open_basedir"-setting like "/var/www/c5/". But after upgrading c5 I got the error above. From then I also needed to add the absolute path to the thirdparty library to the "php_admin_value include_path"-setting like "/var/www/c5/concrete/libraries/3rdparty/". After that it worked.
This can only be done if you have access to the configuration for your domain or your php-configuration or the .htaccess-file for your site.
I hope this helped a little bit.
In the beginning it was enough to add the absolute path to the root of the c5-core installation to the "php_admin_value open_basedir"-setting like "/var/www/c5/". But after upgrading c5 I got the error above. From then I also needed to add the absolute path to the thirdparty library to the "php_admin_value include_path"-setting like "/var/www/c5/concrete/libraries/3rdparty/". After that it worked.
This can only be done if you have access to the configuration for your domain or your php-configuration or the .htaccess-file for your site.
I hope this helped a little bit.
Hi,
I am having the same problems with the installation. I downloaded the newest version of concrete5. I also am running other webpages on the same server and never had problems with installing before.
Warning: require_once() [function.require-once]: Unable to access /Date/DateObject.php in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Warning: require_once(/Date/DateObject.php) [function.require-once]: failed to open stream: No such file or directory in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Fatal error: require_once() [function.require]: Failed opening required '/Date/DateObject.php' (include_path='.') in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Can you give me some advice, I dont get the directions in the posts above..
Thanks and regards
Jan
I am having the same problems with the installation. I downloaded the newest version of concrete5. I also am running other webpages on the same server and never had problems with installing before.
Warning: require_once() [function.require-once]: Unable to access /Date/DateObject.php in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Warning: require_once(/Date/DateObject.php) [function.require-once]: failed to open stream: No such file or directory in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Fatal error: require_once() [function.require]: Failed opening required '/Date/DateObject.php' (include_path='.') in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Can you give me some advice, I dont get the directions in the posts above..
Thanks and regards
Jan
i'm having the same error as you what did you do about it??
thanks,
Warning: require_once(Zend/Cache/Backend/File.php) [function.require-once]: failed to open stream: No such file or directory in /www/99k.org/s/c/a/scar/htdocs/concrete/libraries/3rdparty/Zend/Cache.php on line 132 Fatal error: require_once() [function.require]: Failed opening required 'Zend/Cache/Backend/File.php' (include_path='.:/usr/lib/php') in /www/99k.org/s/c/a/scar/htdocs/concrete/libraries/3rdparty/Zend/Cache.php on line 132
thanks,
look at the post above yours
I have the same problem as in first post.
(Warning: Zend_Cache::require_once(Zend/Cache/Backend/File.php) [function.Zend-Cache-require-once]: failed to open stream: No such file or directory in /srv/www/vhosts/stevedoring.fi/httpdocs/concrete5.4.1/concrete/libraries/3rdparty/Zend/Cache.php on line 133)
I think post above does not solve the problem, because it is a another file which is making the problem.
Line 133 in Cache.php look like this:
require_once str_replace('_', DIRECTORY_SEPARATOR, $backendClass) . '.php';
What can I do?
(Warning: Zend_Cache::require_once(Zend/Cache/Backend/File.php) [function.Zend-Cache-require-once]: failed to open stream: No such file or directory in /srv/www/vhosts/stevedoring.fi/httpdocs/concrete5.4.1/concrete/libraries/3rdparty/Zend/Cache.php on line 133)
I think post above does not solve the problem, because it is a another file which is making the problem.
Line 133 in Cache.php look like this:
require_once str_replace('_', DIRECTORY_SEPARATOR, $backendClass) . '.php';
What can I do?
I have the same Problem on a linux Hoster which has Zend installed.
i cannot set the include path by set_include_path(), it is allways resetted.
i cannot set the include path by set_include_path(), it is allways resetted.
Anyone else figure it out? I'm having the same issues. :( Thanks!
Hi,
I am having the same problems with the installation. I downloaded the newest version of concrete5. I also am running other webpages on the same server and never had problems with installing before.
Warning: require_once() [function.require-once]: Unable to access /Date/DateObject.php in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Warning: require_once(/Date/DateObject.php) [function.require-once]: failed to open stream: No such file or directory in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Fatal error: require_once() [function.require]: Failed opening required '/Date/DateObject.php' (include_path='.') in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Can you give me some advice, I dont get the directions in the posts above..
Thanks and regards
Jan
I am having the same problems with the installation. I downloaded the newest version of concrete5. I also am running other webpages on the same server and never had problems with installing before.
Warning: require_once() [function.require-once]: Unable to access /Date/DateObject.php in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Warning: require_once(/Date/DateObject.php) [function.require-once]: failed to open stream: No such file or directory in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Fatal error: require_once() [function.require]: Failed opening required '/Date/DateObject.php' (include_path='.') in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Can you give me some advice, I dont get the directions in the posts above..
Thanks and regards
Jan
Hi,
I am having the same problems with the installation. I downloaded the newest version of concrete5. I also am running other webpages on the same server and never had problems with installing before.
Warning: require_once() [function.require-once]: Unable to access /Date/DateObject.php in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Warning: require_once(/Date/DateObject.php) [function.require-once]: failed to open stream: No such file or directory in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Fatal error: require_once() [function.require]: Failed opening required '/Date/DateObject.php' (include_path='.') in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Can you give me some advice, I dont get the directions in the posts above..
Thanks and regards
Jan
I am having the same problems with the installation. I downloaded the newest version of concrete5. I also am running other webpages on the same server and never had problems with installing before.
Warning: require_once() [function.require-once]: Unable to access /Date/DateObject.php in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Warning: require_once(/Date/DateObject.php) [function.require-once]: failed to open stream: No such file or directory in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Fatal error: require_once() [function.require]: Failed opening required '/Date/DateObject.php' (include_path='.') in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Can you give me some advice, I dont get the directions in the posts above..
Thanks and regards
Jan
Hi,
I am having the same problems with the installation. I downloaded the newest version of concrete5. I also am running other webpages on the same server and never had problems with installing before.
Warning: require_once() [function.require-once]: Unable to access /Date/DateObject.php in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Warning: require_once(/Date/DateObject.php) [function.require-once]: failed to open stream: No such file or directory in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Fatal error: require_once() [function.require]: Failed opening required '/Date/DateObject.php' (include_path='.') in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Can you give me some advice, I dont get the directions in the posts above..
Thanks and regards
Jan
I am having the same problems with the installation. I downloaded the newest version of concrete5. I also am running other webpages on the same server and never had problems with installing before.
Warning: require_once() [function.require-once]: Unable to access /Date/DateObject.php in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Warning: require_once(/Date/DateObject.php) [function.require-once]: failed to open stream: No such file or directory in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Fatal error: require_once() [function.require]: Failed opening required '/Date/DateObject.php' (include_path='.') in /home/www/web12/html/widmer-web/concrete/libraries/3rdparty/Zend/Date.php on line 25
Can you give me some advice, I dont get the directions in the posts above..
Thanks and regards
Jan
Anyways, if you stick the path to zend on your include path it should fix it...
Jon