- Posts: 9
- Thank you received: 0
error message, but it doesn't seem to affect much:
-
curtisbollington
Inactive member - Topic Author
- New Member
Less
More
13 years 5 months ago - 13 years 5 months ago #9088
by curtisbollington
I'm getting the following error message displayed at the top of the site I've just started working on (
www.platosys.co.uk/platopress/
):
Warning: preg_match_all() [function.preg-match-all]: Compilation failed: unrecognized character after (?< at offset 3 in /websites/123reg/LinuxPackage21/pl/at/os/platosys.co.uk/public_html/platopress/templates/hot_leafs/js/browser.php on line 56
I can still work on the site, and so far it doesn't seem to have affected anything, but it's constantly displayed. Any ideas what it might mean and how I can get rid of it?
Thanks,
Curtis
Warning: preg_match_all() [function.preg-match-all]: Compilation failed: unrecognized character after (?< at offset 3 in /websites/123reg/LinuxPackage21/pl/at/os/platosys.co.uk/public_html/platopress/templates/hot_leafs/js/browser.php on line 56
I can still work on the site, and so far it doesn't seem to have affected anything, but it's constantly displayed. Any ideas what it might mean and how I can get rid of it?
Thanks,
Curtis
Last edit: 13 years 5 months ago by curtisbollington. Reason: added link to problem site and additional info
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 5 months ago #9102
by ivan.milic
Replied by ivan.milic on topic Re: error message, but it doesn't seem to affect much:
H,
open templates/hot_leafs/js/browser.php
on line 55, you will see this:
')[/ ]+(?<version>[0-9.|a-zA-Z.]*)#';
change it like this:
'\\)[/ ]+(?<version>[0-9.|a-zA-Z.]*)#';
open templates/hot_leafs/js/browser.php
on line 55, you will see this:
')[/ ]+(?<version>[0-9.|a-zA-Z.]*)#';
change it like this:
'\\)[/ ]+(?<version>[0-9.|a-zA-Z.]*)#';
Please Log in to join the conversation.
-
curtisbollington
Inactive member - Topic Author
- New Member
Less
More
- Posts: 9
- Thank you received: 0
13 years 3 months ago #10392
by curtisbollington
Replied by curtisbollington on topic Re: error message, but it doesn't seem to affect much:
I've tried that, but it throws up another warning message:
Warning: preg_match_all() [function.preg-match-all]: Compilation failed: unrecognized character after (?< at offset 3 in /websites/123reg/LinuxPackage21/pl/at/os/platosys.co.uk/public_html/platopress/templates/hot_leafs/js/browser.php on line 56
Should the solution you provided for line 55 start with \\ or //
Thanks,
Curtis
Warning: preg_match_all() [function.preg-match-all]: Compilation failed: unrecognized character after (?< at offset 3 in /websites/123reg/LinuxPackage21/pl/at/os/platosys.co.uk/public_html/platopress/templates/hot_leafs/js/browser.php on line 56
Should the solution you provided for line 55 start with \\ or //
Thanks,
Curtis
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 3 months ago #10405
by ivan.milic
Replied by ivan.milic on topic Re: error message, but it doesn't seem to affect much:
no, try one \ :
'\)[/ ]+(?<version>[0-9.|a-zA-Z.]*)#';
'\)[/ ]+(?<version>[0-9.|a-zA-Z.]*)#';
Please Log in to join the conversation.
Time to create page: 0.232 seconds