You are not logged in.

#1 2005-07-02 19:19:49

enragedchip
Member
Registered: 2005-07-02
Posts: 7

phpmyadmin problem

first of all, php works and so does the connection to the mysql database, but when i go to http://localhost/phpMyAdmin i get nothing not even an error

what could be wrong?

Offline

#2 2005-07-02 19:24:41

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: phpmyadmin problem

1) is it installed
2) is it configured
3) is php working with apache properly (ie do other php files work correctly)
4) is mysql loaded into php (uncomment the mysql.so extension line in /etc/php,ini)

From what you say, I assume that 3 and 4 are fine.
So, it is probably 1 or 2.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#3 2005-07-02 19:38:26

enragedchip
Member
Registered: 2005-07-02
Posts: 7

Re: phpmyadmin problem

well its installed otherwise phpMyAdmin wouldn't exist and i'd get an error if i try to visit it and i've configure it using instructions from http://wiki2.archlinux.org/index.php/Ap … nd%20MySQL

Offline

#4 2005-07-02 20:00:37

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: phpmyadmin problem

Note: By installed, I meant were all the files actually there. I have on occasion had pacman do a silly thing and not install one or two files...I have no idea why, and it is very rare. Usually a reinstall fixes it.

do you have apache setup to allow .htaccess files?
What kind of AllowOverride directives do you have setup in apache?

Check to make sure your settings in the phpMyAdmin config file are correct too.

I do find it very odd that you are not getting anything though. Just a blank nothing is very odd. Try checking your httpd log files to see if anything interesting is showing up.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#5 2005-07-02 20:06:10

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: phpmyadmin problem

have you looked at the source of the page? That would say if its totally blank or "something" is being generated.

Dusty

Offline

#6 2005-07-02 20:31:11

enragedchip
Member
Registered: 2005-07-02
Posts: 7

Re: phpmyadmin problem

i've basically followed the instructions on the wiki page already mentioned so i've edited the .htaccess file and there's nothing odd in the log files just a missing favicon.ico but i doubt thats causing the problem.

when i view the source of the page in firefox i just get

<html><body></body></html>

Offline

#7 2008-03-23 12:40:10

Kardell
Member
From: London a new Babylon
Registered: 2007-02-20
Posts: 225

Re: phpmyadmin problem

I`ve just installed phpMyAdmin using pacman and there is no phpMyAdmin directory in /home/httpd/html.
Weird...


"Those who don't know history are doomed to repeat it." Edmund Burke

Offline

#8 2008-03-24 03:30:53

gobeav3rs297
Member
From: Portland Oregon
Registered: 2007-11-06
Posts: 60

Re: phpmyadmin problem

Kardell, try looking in /srv/www, that was where pacman installed on my system when i setup up phpmyadmin awhile back

Vincent

Offline

#9 2008-03-24 10:18:21

gernonimo
Member
Registered: 2008-03-06
Posts: 14

Re: phpmyadmin problem

i had the same problem - you can fix it the following way:
you have to link phpmyadmin from /srv/www/phpmyadmin to /home/httpd/html/phpmyadmin

you also have to add /srv/ to open_basedir in /etc/php/php.ini - if you don't do this you will get an "empty page" at calling phpmyadmin in you browser.

hope it helps

Offline

#10 2008-03-26 20:16:42

Kardell
Member
From: London a new Babylon
Registered: 2007-02-20
Posts: 225

Re: phpmyadmin problem

Hello
I did like You said, but it`s not working. I reloded apache, nothing changed - I`m simply watching all php files in text mode. :-P
Anyway Thank you, I`m closer to my salvation. ;->


"Those who don't know history are doomed to repeat it." Edmund Burke

Offline

#11 2008-03-27 09:14:11

PierreAd
Member
Registered: 2007-05-07
Posts: 19

Re: phpmyadmin problem

gernonimo wrote:

i had the same problem - you can fix it the following way:
you have to link phpmyadmin from /srv/www/phpmyadmin to /home/httpd/html/phpmyadmin

you also have to add /srv/ to open_basedir in /etc/php/php.ini - if you don't do this you will get an "empty page" at calling phpmyadmin in you browser.

hope it helps

Thanks for the tip, it helped me a lot wink

Offline

#12 2008-09-06 01:58:10

dextrose
Member
From: Portugal
Registered: 2008-08-20
Posts: 16
Website

Re: phpmyadmin problem

how do you link that reference?

by using ln? which parameter

regards,
dex.

Offline

#13 2008-09-06 08:09:00

gernonimo
Member
Registered: 2008-03-06
Posts: 14

Re: phpmyadmin problem

ln -s

Offline

#14 2008-09-06 11:44:06

dextrose
Member
From: Portugal
Registered: 2008-08-20
Posts: 16
Website

Re: phpmyadmin problem

there is no /home/httpd/html/phpmyadmin
I have pacman -S phpmyadmin
# whereis phpmyadmin
which: no phpmyadmin in (/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin:/opt/kde/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/opt/qt/bin)

#whereis phpmyadmin (returns empty string)

I think I have a problem in the ~ directory, because most of the time I have to create, chown or chmod the directory / folders because of bad permission access. Do you know if there is a standart I should print to the folders?

I can't find the phpmyadmin files to link sad

regards,
dex.

Offline

#15 2008-09-06 13:45:13

gernonimo
Member
Registered: 2008-03-06
Posts: 14

Re: phpmyadmin problem

phpmyadmin is a web application and you will not find it with "whereis". You can use pacman to exmine where the corresponding files are installed (pacman -Ql phpmyadmin)
You have to link it from /srv/www/phpmyadmin (<- i don't sit on an arch linux PC now - but i think this is the correct location - at least something similar wink ) to /home/httpd/html/phpmyadmin. Then you can access it (provided that your httpd is running) with your browser at http://localhost/phpmyadmin

Last edited by gernonimo (2008-09-06 13:49:06)

Offline

Board footer

Powered by FluxBB