Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

v8 & permalinks error

Asked Modified Viewed 1,184 times
W
Wanabo
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
  • Started this discussions
asked
Senior Member

Enabled permalinks on 11 sites now, but number 12 and 13 won't work. I find this in my error log.


Error:    preg_replace(): Compilation failed: range out of order in character class at offset 4002    Line:    91
File:    PHPFusion/Rewrite/Permalinks.inc    On Page:    /index.php
User-Level:    103


ource code (Line: 81 - 101)
81     }
82    
83     /**
84     * Do full replacement of the HTML output
85     */
86     private function replace_output() {
87     // Pattern translation
88     if (!empty($this->regex_statements['pattern'])) {
89     foreach ($this->regex_statements['pattern'] as $handler => $rules) {
90     foreach ($rules as $search => $replace) {
91     $this->output = preg_replace($search, $replace, $this->output);
92     }
93     }
94     //print_p($this->output);
95     }
96    
97     // Alias translation
98     if (!empty($this->regex_statements['alias'])) {
99     foreach ($this->regex_statements['alias'] as $handler => $rules) {
100     $_patterns = flatten_array($rules);
101



Did some searching myself but can't find the problem. Probably an unescaped character that's messing things up.
[google]https://www.google.com/search?q=preg_replace%28%29%3A+Compilation+failed%3A+range+out+of+order+in+character+class+at+offset&ie=utf-8&oe=utf-8[/google]

Where are the patterns set? In includes\classes\PHPFusion\Rewrite\Permalinks.inc?
What does "Debug SEO Toggle to start SEO Engine Debugger" do? Where can I find output of this debugger?
0 replies

5 posts

F
Falk
F
Falk 146
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
answered
Super Admin

Have you tried to enable Normalize?, it strips special chars that can fail in urls
The debug is not popping it´s overlay in 8.0.22, i´ll make a report on that one.
0 replies
W
Wanabo
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
  • Started this discussions
answered
Senior Member

Yes normalize is enabled.
Where should the overlay occur?
After enabling SEO Engine/Permalinks the site goes blank! Except for administration.
Is there a way to figure out what character is at offset 4002?

Quote

range out of order in character class at offset 4002
0 replies
F
Falk
F
Falk 146
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
answered
Super Admin

You should see it on front-end there are two bars that resolve and should results. But as mentioned it seems to have stopped work on later 8.
0 replies
W
Wanabo
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
  • Started this discussions
answered
Senior Member

Ok. Tried enabling Debug SEO on a good working site with permalinks / seo engine enabled. But no debug output on the front end.
So Debug SEO is not working as you all ready mentioned.

Just curious. If Debug SEO is fixed, would it show any debug output on a site that is completely blank because of "range out of order in character class at offset 4002"? See also post #3

Quote

After enabling SEO Engine/Permalinks the site goes blank! Except for administration.
0 replies
F
Falk
F
Falk 146
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
answered
Super Admin

I am not sure if it crashes before it shows where.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 5 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

F
F
Falk 146
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
W
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet