Hi
I hate asking questions like this but I've been stumped for a few hours. I was editing a whole bunch of pages in quite a large CMSMS site I've been handed. I was editing page aliases and titles, I might have been made some other changes but I did a few hours work without previewing the pages - d'oh. All my pages now have the following error:
Warning: Compilation failed: two named groups have the same name at offset 70 in /var/www/html/index.php on line 129
I assumed a named group refer to a page alias, but I couldn't find any duplicates (although I may have missed something) I don't have access to any error logs on the server which is making things a bit harder. I'd really appreciate it if someone could confirm what a "named group" actually is.
TIA!
What is a "named group" in CMSMS?
Re: What is a "named group" in CMSMS?
ok, turns out named groups are something to do with preg_match() in php. The actual line that was failing is the following which comes from index.php
if (preg_match($route->regex, $page, $matches))
I put in some debugging code:
echo "" . print_r($route) ."";
and I saw quite a few references to Album
I uninstalled the album module and the errors went away, unfortunately they come back when I reinstall the Album module.
My hunch is that when I inherited this site I tried to install the Album module which I use on a lot of my other sites. However the installtion of CMSMS was very old, well before 1.0 and the installation failed. My guess is it did manage to get something installed but nothing complete. After finally convincing the site owner it was necessary to upgrade to the latest version of CMSMS I tried to install album again, the installation appeared to be successful but i guess it wasn't...
Anyway, this should probably be moved to a different discussion area as it doesn't seem to relate to a standard CMSMS installation.
if (preg_match($route->regex, $page, $matches))
I put in some debugging code:
echo "" . print_r($route) ."";
and I saw quite a few references to Album
I uninstalled the album module and the errors went away, unfortunately they come back when I reinstall the Album module.
My hunch is that when I inherited this site I tried to install the Album module which I use on a lot of my other sites. However the installtion of CMSMS was very old, well before 1.0 and the installation failed. My guess is it did manage to get something installed but nothing complete. After finally convincing the site owner it was necessary to upgrade to the latest version of CMSMS I tried to install album again, the installation appeared to be successful but i guess it wasn't...
Anyway, this should probably be moved to a different discussion area as it doesn't seem to relate to a standard CMSMS installation.