Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7903037
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T09:39:05+00:00 2026-06-03T09:39:05+00:00

EDIT: I rephrased the question because I have not explained well. Let’s see if

  • 0

EDIT: I rephrased the question because I have not explained well. Let’s see if this time we do best.

I’m working on a very simple blog system in PHP and MySQL through Kohana Framework. For the content of a post / entry I am using TinyMCE (POST request). I recently tried to add an entry with a piece of code in javascript by way of explanation, but it is running a part of it. More specifically I’m “using” the “exec()” inside TinyMCE/textarea (not to run it). Something like:

/regexval/.exec('string');

As I say, the problem is in the call to “exec” and when I send the form Kohana returns me the following message:

TTP_Exception_404 [ 404 ]: Unable to find a route to match the URI: 500.shtm

It seems that there is an internal error which I do not know where. My CPanel error log not showing anything and on localhost it’s working properly. I wonder if there is a time when this function can be executed. I tried to debug in stopping Kohana during request execution, but whenever I stop the execution “$_POST” is empty, so I guess the problem is elsewhere.

I suppose it’s a rookie mistake, but I do not know what can be and have not found anything about it (maybe I have not looked properly). So if someone can shed some light, I would be grateful. And if it is necessary to provide other information, please let me know.

Thanks for your trouble and sorry for my english.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T09:39:07+00:00Added an answer on June 3, 2026 at 9:39 am

    After trying without success to detect the problem, I chose to contact the hosting. Apparently is due to a rule of “mod_security” module installed on the server. One solution, if you don’t want or can’t disable this rule is to change the text in some way, for example, adding spaces between letters:

    /regexval/.e x e c('string');
    

    Sorry for wasting your time, maybe I should first ask my hosting, but first I had not thought of this possibility. I have also removed the pasted code because they take place and ultimately not necessary.

    Thanks for your time.

    EDIT:

    cs278, from kohana forums, proposes another solution (in this case functional):

    RegExp.prototype['ex'+'ec'].call(/regexval/, 'string');
    

    Best regards.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

EDIT: There's now a doc page on this so this question is irrelevant, also
EDIT: following the first answer I have looked more into stackoverflow and rephrased the
[EDIT] Rephrased and Simplified whole post [/EDIT] In this blog , the following (I
EDIT: I've completed rephrased the question as I've been able to simplify my problem
EDIT: This post was originally specific to ASP.NET, but after thinking about it I'm
edit alright, I guess C is painful in nature--Just, this part, is particularly painful.
This is more of a curiosity at the moment, but let's picture an environment
EDIT (complete rephrase of the problem as the original version (see original version, later)
This is a question for the generic collection gurus. I'm shocked to find that
Let me first say, we validate every field on the server side, so this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.