#1  
Old 21st May 2013, 21:18
mozack mozack is offline
Junior Member
 
Join Date: May 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default PhpMyAdmin Problem Logging In

Hi,

I followed this Howto: http://www.howtoforge.com/perfect-se...er-ispconfig-3

My server is Centos 6.3 updated to 6.4 during the installation of this How To.

At the end of installation the pma version is 2.10. I was forced to choose another repo and installed phpMyAdmin 4.0

Now, i have 2 phpMyAdmin (1 phpmyadmin and another phpMyAdmin) folders, but i think there isn't the problem because before i install the new version it works the same way, and i already tried to remove my old phpMyAdmin version and still the same. I also try to re-install the whole server with phpMyAdmin version instead of phpmyadmin as it is in how to, but the problem is the same.

Now i'm facing 2 problems:

1 - Cant resolve the address when click on icon to phpmyadmin from database section in ispconfig (https://myserver.mainserver.com:8080/phpmyadmin) or via browser https://myserver.mainserver.com:8080/phpMyAdmin doesn't work as well

2 - Going directly to http://myserver.mainserver.com/phpmyadmin this version works like a charm, i can login, upload db's, etc but is too old, i need a new one...

3 - Going directly to http://myserver.mainserver.com/phpMyAdmin i go to the new version but when i login i'm redirected to the main domain in my ip address, in this case mainserver.com/index.php?....

4 - when i go again to http://myserver.mainserver.com/phpMyAdmin i can enter because i already made the login, but i cant upload anything, not even one 500kb database and is always giving me the 504 error...

The problem is that: instead phpMyAdmin redirect me to /phpMyAdmin/index.php i'm redirected to <domain>/index.php?....

I think i've tried everything like put some data in config.inc.php, etc...

Here is my nginx configuration file for myserver.mainserver.com

Code:
location /phpmyadmin {
    root /usr/share/;
    index index.php index.html index.htm;
    location ~ ^/phpmyadmin/(.+\.php)$ {
        try_files $uri =404;
        root /usr/share/;
        fastcgi_pass 127.0.0.1:9000;
        fastcgi_param HTTPS $https; # <-- add this line
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $request_filename;
        include /etc/nginx/fastcgi_params;
        fastcgi_param PATH_INFO $fastcgi_script_name;
        fastcgi_buffer_size 128k;
        fastcgi_buffers 256 4k;
        fastcgi_busy_buffers_size 256k;
        fastcgi_temp_file_write_size 256k;
        fastcgi_intercept_errors on;
    }
    location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
        root /usr/share/;
    }
}
location /phpMyAdmin {
    root /usr/share/;
    index index.php index.html index.htm;
    location ~ ^/phpMyAdmin/(.+\.php)$ {
        try_files $uri =404;
        root /usr/share/;
        fastcgi_pass 127.0.0.1:9000;
        fastcgi_param HTTPS $https; # <-- add this line
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $request_filename;
        include /etc/nginx/fastcgi_params;
        fastcgi_param PATH_INFO $fastcgi_script_name;
        fastcgi_buffer_size 128k;
        fastcgi_buffers 256 4k;
        fastcgi_busy_buffers_size 256k;
        fastcgi_temp_file_write_size 256k;
        fastcgi_intercept_errors on;
    }
    location ~* ^/phpMyAdmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
        root /usr/share/;
    }
}
As you can see, i've duplicated the location /phpmyadmin to /phpMyAdmin instead of the code in how to.

I've tried everything, made lot of changes in nginx conf but still nothing

Can you help me please?

Thanks

Mozack
Reply With Quote
Sponsored Links
Reply

Bookmarks

Tags
centos, ispconfig3, nginx, phpmyadmin, phpmyadmin errors

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ports problem with phpmyadmin and squirrelmail joemiller Installation/Configuration 2 15th October 2012 09:48
Urgent Please ISPConfig 3 and phpmyadmin problem checho01 Installation/Configuration 1 6th January 2012 08:50
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
Virtual users... Ubuntu 8.04 spaceuser HOWTO-Related Questions 12 19th June 2008 08:04


All times are GMT +2. The time now is 04:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.