This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Install & configuration » Installation failed at "Site Selection"
expandshrink

Installation failed at "Site Selection"

Installation failed at "Site Selection"

Tuesday 15 May 2012 12:13:16 pm - 9 replies

Hello,

i'm trying to install EzPublish 2012.4 on OpenSuse 12.1 with PHP 5.3.8 and MySQL 5.5.23, but I can't pass the step with Site Selection Package.

I selected "eZ Flow (without demo content) (ver. 2.4-0)".  When I press "Next", I see:

"Package 'ezflow_site_clean' and it's dependencies have been downloaded successfully. Press 'Next' to continue."

When I press Next button, i 'm going back to previous step: site package selection with this error: 

Please choose a site package you would like to test or base your site on.
Error
No site package chosen.

However, i can see the ezflow_site_clean folder in var/storage/packages. No PHP error is logged.

Is anyone has an idea for this issue ?

Thanks

Patrice André

Modified on Tuesday 15 May 2012 3:06:05 pm by Patrice André

Tuesday 15 May 2012 2:43:40 pm

Hi Patrice, and welcome to the eZ Community,

I could notice that this thread is now marked as resolved : could you solve your issue ?

Cheers,

Tuesday 15 May 2012 3:04:17 pm

Hello Nicolas,

Thanks for your reply.

But this thread is not resolved. I switched the state by mistake.

Friday 18 May 2012 12:26:12 pm

Hi Patrice, 

You may want to edit the settings/override/site.ini.append.php file (create it, along with the directory structure if it does not exist), and place the following in it : 

[DebugSettings]
DebugOutput=enabled
 
[TemplateSettings]
Debug=enabled
ShowUsedTemplates=enabled
SowXHTMLCode=disabled
DevelopmentMode=enabled 

Then resume the installation, the Debug Output (bottom of the page), should give you more precised/detailed error messages (feel free to share them with us on this thread).

Cheers !

Friday 18 May 2012 1:58:31 pm

Hi Nicolas,

thank you for your answer.

I solved the problem thanks the debugging mode.

In my warning.log,  this line appeared:

preg_replace(): Compilation failed: POSIX collating elements are not supported at offset 1 in /home/patrice/Workspace/xproject/lib/ezi18n/classes/ezchartransform.php on line 407

Then I added escape character before "." in regex at line 397 and 425  of ezchartransform.php file.

So I have now:

 

static function commandUrlCleanup( $text, $charsetName )
    {
        $sep  = eZCharTransform::wordSeparator();
        $sepQ = preg_quote( $sep );
        $text = preg_replace( array( "#[^a-zA-Z0-9_!\.-]+#",
                                     "#^[\.]+|[!\.]+$#", # Remove dots at beginning/end
                                     "#\.\.+#", # Remove double dots
                                     "#[{$sepQ}]+#", # Turn multiple separators into one
                                     "#^[{$sepQ}]+|[{$sepQ}]+$#" ), # Strip separator from beginning/end
                              array( $sep,
                                     $sep,
                                     $sep,
                                     $sep,
                                     "" ),
                              $text );
        return $text;
    }
    static function commandUrlCleanupIRI( $text, $charsetName )
    {
        // With IRI support we keep all characters except some reserved ones,
        // they are space, ampersand, semi-colon, forward slash, colon, equal sign, question mark,
        //          square brackets, parenthesis, plus.
        //
        // Note: Space is turned into a dash to make it easier for people to
        //       paste urls from the system and have the whole url recognized
        //       instead of being broken off
        $sep  = eZCharTransform::wordSeparator();
        $sepQ = preg_quote( $sep );
        $prepost = " ." . $sepQ;
        if ( $sep != "-" )
            $prepost .= "-";
        $text = preg_replace( array( "#[ \\\\%\#&;/:=?\[\]()+]+#",
                                     "#^[\.]+|[!\.]+$#", # Remove dots at beginning/end
                                     "#\.\.+#", # Remove double dots
                                     "#[{$sepQ}]+#", # Turn multiple separators into one
                                     "#^[{$prepost}]+|[{$prepost}]+$#" ),
                              array( $sep,
                                     $sep,
                                     $sep,
                                     $sep,
                                     "" ),
                              $text );
        return $text;
    }

Friday 18 May 2012 2:08:51 pm

That is good news !

This might be a bug, by the way. Have you tried to find related issues/bug-reports in http://issues.ez.no/ezpublish ? If none exists, you may want to report it. And since you have a working patch, it would be ideal if you submitted a pull-request for this (the process is detailed here : http://share.ez.no/learn/ez-publish/how-to-contribute-to-ez-publish-using-git )

Cheers !

Friday 18 May 2012 3:41:24 pm

Hi Nicolas,it seems there is no track of this bug. I have a Github account. I'll report this bug and make a patch.Many thanks. EzPublish is usable for me now.

Modified on Friday 18 May 2012 3:42:00 pm by Patrice André

Monday 21 May 2012 2:51:00 pm

Glad to hear this !

And looking forward to your contribution !

Cheers and keep-up,

Monday 21 May 2012 10:36:25 pm

Hi Nicolas,

I posted this issue http://issues.ez.no/IssueView.php?Id=19440&activeItem=1 and a pushed my little contribution in github https://github.com/patdec/ezpublish/commit/70e9d4bd608687bf09501c69211c9ddab5739fbb.

I hope it's done according to the rules.

Thank you for your help and guidelines

Tuesday 22 May 2012 2:19:02 pm

Quote from Patrice André :

I posted this issue http://issues.ez.no/IssueView.php?Id=19440&activeItem=1 and a pushed my little contribution in github https://github.com/patdec/ezpublish/commit/70e9d4bd608687bf09501c69211c9ddab5739fbb.

I hope it's done according to the rules.

Thank you for your help and guidelines

Excellent Patrice.

We'll have a look into it shortly !

@everyone : here is Patrice's pull-request : https://github.com/ezsystems/ezpublish/pull/347

Well done, thanks !

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from