Results 1 to 7 of 7

Thread: Can't enter phpmyadmin in Lamp server

  1. #1
    Join Date
    Apr 2010
    Location
    40 cm from the screen
    Beans
    130
    Distro
    Ubuntu 10.04 Lucid Lynx

    Can't enter phpmyadmin in Lamp server

    Hey there i have this problem with i can't enter my database in lamp server..

    all i know is when i type in http://localhost/phpmyadmin/ into the url bar in chromium, i got this error

    Code:
    Oops! This link appears to be broken.
    what i do to solve this ?? as i need to setup an ajax chat for a website i and i can't when i can't access my database in localhost
    Free tips & tricks for you PC www.justrehhoff.org
    Tips for both linux and windows !
    Missing a guide for ubuntu ? don't hestitate we have that to !

  2. #2
    Join Date
    Nov 2005
    Location
    Carmel, Indiana U.S.A.
    Beans
    Hidden!
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Can't enter phpmyadmin in Lamp server

    1. How did you setup / install phpmyadmin?
    2. What is the ownership, group ownership and permissions on /var/www?

    IndyTim / DataMan
    New Build : Core 2 Quad, 8G RAM, 1.75TB Storage ... it's fun!
    GRUB Partition Linux Backups- Ver2 Easy LAMP Install
    Linux ID 422356 Ubuntu User 15015

  3. #3
    Join Date
    Apr 2010
    Location
    40 cm from the screen
    Beans
    130
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Can't enter phpmyadmin in Lamp server

    Quote Originally Posted by indytim View Post
    1. How did you setup / install phpmyadmin?
    2. What is the ownership, group ownership and permissions on /var/www?

    IndyTim / DataMan
    i used this command, and it have worked for me before.. but now it simply wont work


    sudo apt-get install apache2 apache2-doc mysql-server php5 libapache2-mod-php5 php5-mysql phpmyadmin


    as for the ownership both the 'root' user and the general user i log in with have read/write permisiions
    Free tips & tricks for you PC www.justrehhoff.org
    Tips for both linux and windows !
    Missing a guide for ubuntu ? don't hestitate we have that to !

  4. #4
    Join Date
    Mar 2007
    Location
    Your Closet
    Beans
    380
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Can't enter phpmyadmin in Lamp server

    I don't use phpmyadmin but I debug alot of my own apache stuff. What's the access and error log say? Did you try with your ip address too? if you have access rules you might've disabled access with the localhost word thing. Check logs with something like this.
    Code:
    clear; tail -n 0 -f /var/log/apache2/{error,access}.log | while read input; do echo "${input:0:200}"; done
    Then with the command running goto the page in chromium and make it error, then ctrl+c in the terminal to stop the command.

    Is it a cache problem with chromium? did you try firefox?
    ...

  5. #5
    Join Date
    Apr 2010
    Location
    40 cm from the screen
    Beans
    130
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Can't enter phpmyadmin in Lamp server

    Quote Originally Posted by bashologist View Post
    I don't use phpmyadmin but I debug alot of my own apache stuff. What's the access and error log say? Did you try with your ip address too? if you have access rules you might've disabled access with the localhost word thing. Check logs with something like this.
    Code:
    clear; tail -n 0 -f /var/log/apache2/{error,access}.log | while read input; do echo "${input:0:200}"; done
    Then with the command running goto the page in chromium and make it error, then ctrl+c in the terminal to stop the command.

    Is it a cache problem with chromium? did you try firefox?
    i don't really got what you want me to do?
    you want me to write that code into a .php file and run it in localhost ? or ?

    as for chrommium its not a cache problem.. i have tried in firefox and opera same result..
    Free tips & tricks for you PC www.justrehhoff.org
    Tips for both linux and windows !
    Missing a guide for ubuntu ? don't hestitate we have that to !

  6. #6
    Join Date
    Mar 2007
    Location
    Your Closet
    Beans
    380
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Can't enter phpmyadmin in Lamp server

    you want me to write that code into a .php file and run it in localhost ? or ?
    No that's bash code you enter into your terminal... It basically will output the log files to your terminal so we can read them and find out what's wrong possibly.

    You enter the command to your terminal then goto your myphpadmin page and re-create the error then look for the output in the terminal.

    Edit:
    Same result with firefox? I've never seen this error in firefox before.
    Oops! This link appears to be broken.

    Just a basic 404 error maybe?
    Last edited by bashologist; April 28th, 2011 at 12:21 PM.
    ...

  7. #7
    Join Date
    Apr 2010
    Location
    40 cm from the screen
    Beans
    130
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Can't enter phpmyadmin in Lamp server

    Quote Originally Posted by bashologist View Post
    No that's bash code you enter into your terminal... It basically will output the log files to your terminal so we can read them and find out what's wrong possibly.

    You enter the command to your terminal then goto your myphpadmin page and re-create the error then look for the output in the terminal.

    Edit:
    Same result with firefox? I've never seen this error in firefox before.
    Oops! This link appears to be broken.

    Just a basic 404 error maybe?
    yea its was a 404..
    but i asked a friend and told me it was a broken symlink or something. so i ran to command

    Code:
    sudo ln -s /usr/share/phpmyadmin /var/www
    and it's working now thanks for your time to help me anyway ...
    Free tips & tricks for you PC www.justrehhoff.org
    Tips for both linux and windows !
    Missing a guide for ubuntu ? don't hestitate we have that to !

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •