Hi there, have just completed uploading SS to my openHost server... have run the setup via install.php and am now seeing this error
[Warning] mb_ereg_replace() [function.mb-ereg-replace]: mbregex compile err: unmatched close parenthesis
GET /silverstripe-v2.4.0/index.php/
Line 553 in /var/www/vhosts/hradmin.co.nz/subdomains/dev/httpdocs/silverstripe-v2.4.0/sapphire/core/SSViewer.php
Source
544 // i18n _t(...) - with entity only (no dots in namespace),
545 // meaning the current template filename will be added as a namespace.
546 // This applies only to "root" templates, not includes which should always have their namespace set already.
547 // See getTemplateContent() for more information.
548 $content = ereg_replace('<' . '% +_t\((\'([^\.\']*)\'|"([^\."]*)")(([^)]|\)[^ ]|\) +[^% ])*)\) +%' . '>', '<?= _t(\''. $path[1] . '.\\2\\3\'\\4) ?>', $content);
549 // i18n _t(...)
550 $content = ereg_replace('<' . '% +_t\((\'([^\']*)\'|"([^"]*)")(([^)]|\)[^ ]|\) +[^% ])*)\) +%' . '>', '<?= _t(\'\\2\\3\'\\4) ?>', $content);
551
552 // i18n sprintf(_t(...),$argument) with entity only (no dots in namespace), meaning the current template filename will be added as a namespace
553 $content = ereg_replace('<' . '% +sprintf\(_t\((\'([^\.\']*)\'|"([^\."]*)")(([^)]|\)[^ ]|\) +[^% ])*)\),\<\?= +([^\?]*) +\?\>) +%' . '>', '<?= sprintf(_t(\''. $path[1] . '.\\2\\3\'\\4),\\6) ?>', $content);
554 // i18n sprintf(_t(...),$argument)
555 $content = ereg_replace('<' . '% +sprintf\(_t\((\'([^\']*)\'|"([^"]*)")(([^)]|\)[^ ]|\) +[^% ])*)\),\<\?= +([^\?]*) +\?\>) +%' . '>', '<?= sprintf(_t(\'\\2\\3\'\\4),\\6) ?>', $content);
556
557 // </base> isnt valid html? !?
558 $content = ereg_replace('<' . '% +base_tag +%' . '>', '<?= SSViewer::get_base_tag($val); ?>', $content);
559
Any help would be appreciative...
Cheers