سؤال

I have same problem as the following Question but the solution there didn't helped me.

I'm using Vagrant box precise64 (Ubuntu server 12.04) and set there all the required dependencies for CakePHP to work. The project folder synced with no problem on the server.

Problem is, after installing PHPMyAdmin on the server, and trying to access it from my localhost:8080/phpmyadmin I get the following error:

Missing Controller
Error: PhpmyadminController could not be found.

Error: Create the class PhpmyadminController below in file: app/Controller/PhpmyadminController.php

I've check my .htaccess files, tried to fix with number of solutions (see above as one example) and none seem to work. I made sure my virtual host allow overwrite to all so if I mess up the .htaccess I get error 500 (like it should be). Here is my .htaccess content:

<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteRule    ^$ app/webroot/    [L]
   RewriteRule    (.*) app/webroot/$1 [L]
</IfModule>

and even the VirtualHost (under sites-enabled on the server):

<VirtualHost *:80>
    ServerName savion.localhost
    ServerAdmin root@savion
    DocumentRoot "/myfinalproject/"

    <Directory "/myfinalproject/">
            Options -Indexes FollowSymLinks
            AllowOverride All
            Order allow,deny
            Allow from all
    </Directory>
</VirtualHost>

I can't find a resolution to this issue and will appreciate any help given.

هل كانت مفيدة؟

المحلول

Eventually the problem was in a corrupted installation of PHPMyAdmin, re installing it solved the problem.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top