4572 Posts in 1383 Topics by 1377 members
Installing SilverStripe
SilverStripe Forums » Installing SilverStripe » SS 2.4 RC1 - install problem. [Warning] SS_Cache::require_once(Zend/Cache.php)
Getting SilverStripe up and running on your computer and on your web server.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 1873 Views |
-
SS 2.4 RC1 - install problem. [Warning] SS_Cache::require_once(Zend/Cache.php)

11 April 2010 at 12:00pm Last edited: 11 April 2010 12:04pm
Hi
I am trying to install a clean 2.4 RC1 and I get this when running the install script
----------------------If you receive a fatal error, refresh this page to continue the installation
* Setting up 'mysite/_config.php'...
* Setting up /var/www/vhosts/server03.dk/subdomains/sandbox/httpdocs/mysite/_config.php
* Setting up '.htaccess' file...
* Setting up /var/www/vhosts/server03.dk/subdomains/sandbox/httpdocs/.htaccess
* Building database schema...
[Warning] SS_Cache::require_once(Zend/Cache.php) [function.SS-Cache-require-once]: failed to open stream: No such file or directory
POST /install.phpLine 194 in /var/www/vhosts/server03.dk/subdomains/sandbox/httpdocs/sapphire/cache/Cache.php
Source185 $backend = self::$backends[$backend_name];
186
187 $basicOptions = array('cache_id_prefix' => $for);
188
189 if ($cache_lifetime >= 0) $basicOptions['lifetime'] = $cache_lifetime;
190 else $basicOptions['caching'] = false;
191
192 $frontendOptions = $frontendOptions ? array_merge($basicOptions, $frontendOptions) : $basicOptions;
193
194 require_once 'Zend/Cache.php';
195 return Zend_Cache::factory($frontend, $backend[0], $frontendOptions, $backend[1]);
196 }
197 }Trace
o SS_Cache::factory
Line 194 of Cache.php
o SS_Cache::factory(aggregate)
Line 36 of Aggregate.php
o Aggregate::cache()
Line 41 of Aggregate.php
o Aggregate::flushCache(Group)
Line 2751 of DataObject.php
o DataObject->flushCache()
Line 1066 of DataObject.php
o DataObject->write()
Line 486 of Group.php
o Group->requireDefaultRecords()
Line 215 of DatabaseAdmin.php
o DatabaseAdmin->doBuild(1)
Line 1012 of install.php
o Installer->install(Array)
Line 190 of install.php-----
I have no clue what to do.
I hope someone can help.thanks
-
Re: SS 2.4 RC1 - install problem. [Warning] SS_Cache::require_once(Zend/Cache.php)

13 April 2010 at 1:33am Last edited: 13 April 2010 1:52am
I'm getting an error at the some point (though I have PHP error display turned off for the server, so am not seeing the error message) but it gets to the same point and then just stops - the page is truncated after "Building database schema...".
It looks like it has something to do with the search path. There are many places in the code that include Zend library code using this construct:
require_once 'Zend/Foo.php';
Unless the search path is changed at run-time to include the path to Zend, I'm not sure how the include would even work. This instance (the one not working for me) is on a different server from previous working instances, so I wonder if SS was actually calling up Zend library components from the server rather than from its own installation?
-- Jason
Edit: sorry, turns out mine is a different error:
Fatal error: Class 'DOMDocument' not found in /home/example/public_html/silverstripe/sapphire/integration/HTMLValue.php on line 20
-
Re: SS 2.4 RC1 - install problem. [Warning] SS_Cache::require_once(Zend/Cache.php)

13 April 2010 at 2:24am
In reverse order...
Judge - Your error is because you are missing the php-xml (or -enable-xml compile option if self built) package from your installation.
MooseMan - Check this post - http://silverstripe.org/installing-silverstripe/show/281227 I'm pretty sure that this covers the issue that you are seeing, along with the bug report that has been raised.
Cheers
Owen -
Re: SS 2.4 RC1 - install problem. [Warning] SS_Cache::require_once(Zend/Cache.php)

13 April 2010 at 3:22am Last edited: 13 April 2010 3:22am
OwenW - Yes, this fixed it:
# yum install php-xml
Installs like a dream now. I wonder if this needs to be a part of the pre-flight checks in the install process?
MooseMan - apologies for the thread hi-jack.
-- JJ
-
Re: SS 2.4 RC1 - install problem. [Warning] SS_Cache::require_once(Zend/Cache.php)

13 April 2010 at 7:19am Last edited: 13 April 2010 7:40am
Hi
thanks for you reply.well, I did see that post ( http://silverstripe.org/installing-silverstripe/show/281227 ) and I didn't think it was the same. Did some more time reading the ticket on trac and it seems that I dont even have the files mentioned
/sapphire/thirdparty/Zend/Cache.php does not exsist...Now Im trying to re download 2.4.0 RC1 again, and I will try to install on a new subdomain - again... will be back with results.
/MM
------
later same evening...
Installed again, didn't get the error (dont know why).
process halts when trying to redierct me to : /home/successfullyinstalled?flush=1 returns 404.Hmm - getting tired ;(
//MM
-
Re: SS 2.4 RC1 - install problem. [Warning] SS_Cache::require_once(Zend/Cache.php)

13 April 2010 at 11:08am
Hi MooseMan,
The new issue sounds kinda like you have a rewrite issue, or that the initial build has indeed been unsuccessful.
Can you get the the home page wthout the GET var?
Cheers
Owen -
Re: SS 2.4 RC1 - install problem. [Warning] SS_Cache::require_once(Zend/Cache.php)

15 April 2010 at 7:47am Last edited: 15 April 2010 9:29am
I don't know what that means (GET var). Sorry I really sound like I know nothing at all.
I couldn't get any pages any way I tried.I'm trying to reinstall RC1 again.
/MM
Same problem again
/home/successfullyinstalled?flush=1
gives 404
//MM
OK, now I dont get anything anymore...
third time worked.now it is up and running
///MM
| 1873 Views | ||
|
Page:
1
|
Go to Top |


