Friday 09 December 2005 8:17:50 am
When I attempt setup of a shop site, I get the following error. I do not know what it means and cannot find mention of it anywhere on the ez.no web site. Does anybody know what's the matter and how to fix it? I'm using Postgresql 8.0, and Ubuntu 5.10. I have ezpublish checked out from the svn repository, and it's version stable/3.7 fresh as of yesterday. I have made one change, posted at end. Creating sites The setup wizard was not able to complete the creation of your selected sites. The following errors were detected: * EZSW-050 Could not fetch addon package named products * EZSW-040 Failed to initialize site package shop If you think you have fixed the errors you can try and click the "Retry" button.
Index: lib/eztemplate/classes/eztemplatefileresource.php
===================================================================
--- lib/eztemplate/classes/eztemplatefileresource.php (revision 14313)
+++ lib/eztemplate/classes/eztemplatefileresource.php (working copy)
@@ -242,7 +242,7 @@
if ( is_readable( $path ) )
{
- $text = file_get_contents( $path );
+ $text = eZFile::getContents( $path );
$text = preg_replace( "/\n|\r\n|\r/", "\n", $text );
$tplINI =& $tpl->ini();
$charset = $tplINI->variable( 'CharsetSettings', 'DefaultTemplateCharset' );
|