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

  • SEARCH
  • Home
  • 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 4091810
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T19:24:48+00:00 2026-05-20T19:24:48+00:00

I have a script of calling KCFinder. window.open(‘/kcfinder/browse.php?type=files’, …); it must open a window

  • 0

I have a script of calling KCFinder.

window.open('/kcfinder/browse.php?type=files', ...);

it must open a window which contains KCFinder, but when I click the “Browser” button, it generatates error:

“Uncaught exception
‘Zend_Controller_Dispatcher_Exception’
with message ‘Invalid controller
specified (kcfinder)’ in
/home/vhosts/vonline_admin/library/Zend/Controller/Dispatcher/Standard.php
on line 248”

I understand this error. It says that controller “kcfinder not found”, but kcfinder doesn’t require a controller, it’s simply a path. Strangely, I run the website successfully in local but when I put it on hosting, it failed.

I think it is related to rewrite problem or routing but I don’t know how to fix it.

Vhost: /usr/local/apache2/conf/vhosts/something_admin.conf

ServerName admin.something.com

    ServerAdmin foo@boo.com
    DocumentRoot /home/vhosts/something_admin/www

    SetEnv APPLICATION_ENV development

    TraceEnable off

    <Directory /home/vhosts/something_admin/www>
            Options -Indexes -Includes -ExecCGI -FollowSymLinks
            AllowOverride None
    </Directory>

    RewriteEngine on
    RewriteRule !\.(js|ico|gif|jpg|png|css|swf|txt|htm|html|xml)$

/index.php

.htaccess in www:

RewriteEngine On  
RewriteCond %{REQUEST_FILENAME} -s [OR]  
RewriteCond %{REQUEST_FILENAME} -l [OR]  
RewriteCond %{REQUEST_FILENAME} -d  
RewriteRule ^.*$ - [NC,L]  RewriteRule ^.*$ index.php [NC,L]
  • 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-05-20T19:24:49+00:00Added an answer on May 20, 2026 at 7:24 pm

    The only difference I can see between your htaccess file and mine is in the RewriteRules; I have an asterisk:

    RewriteRule ^.*$ - [NC,L]
    RewriteRule ^.*$ index.php [NC,L]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a script code in vb.net environment which is calling file from path
I have a PHP script that I'm calling with the .post() function in jQuery.
I have a script embedded in a page, which is as follows: <script type=text/javascript>
I have a script which uploads data to my web server running Apache/PHP 5.3,
I have a sql script say abc.sql which I am calling from a batch
I have a PHP script which calls exec() . I've been having trouble all
I have a script running in a server, which is calling a function in
I have a php script which runs on my ubunutu server. this script runs
I have a cronjob calling a shell script. Inside that shell script and I
I have one windows batch script where I am calling two other batch script.

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.