Jump to content

Solution for at least one of the installation deadlock issues at step 4


Recommended Posts

Hello,

Having experienced the deadlock issue during installation where it is impossible to get past "Step 4 - Shop configuration", I did a bit of research and found an issue that I believe needs to be addressed in the source code of PS.

I ran the installation and got the following error in the Firefox Error Console when I pressed "Next":

Warning: preg_match() [function.preg-match]: Compilation failed: internal error: code overflow at offset 30 in /var/www/mysite.com/mysite.com/wwwroot/webshop/classes/Validate.php on line 138



So I isolated the "preg_match()" into a test.php file and indeed it produced the same error.

The problem is the match pattern used in the function: '/^[^0-9!<>,;?=+()@#"°{}_$%:]*$/ui'

This contains 2 characters that at least my web-hosting environment doesn't like: Â and °

If the function is modified to use the match pattern '/^[^0-9!<>,;?=+()@#"{}_$%:]*$/ui' the installation goes through without a hitch.

Regards.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...