Solved

phpPgAdmin problem

Posted on 2016-08-27
14
71 Views
Last Modified: 2016-08-29
I use the following url to access my phpPgAdmin installed within xampp:

http://localhost:8080/phpPgAdmin/

This was working perfectly on my windows machine until today
The url now gives me :
http://localhost:8080/phpPgAdmin/
The requested URL /phpPgAdmin/ was not found on this server.

Can some one please tell me where the port 8080 is defined for the phpPgAdmin
I cannot find it anywhere
again, the install is using xampp
0
Comment
Question by:doctorbill
  • 7
  • 7
14 Comments
 
LVL 82

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 500 total points
ID: 41773173
It is not defined for 'phpPgAdmin', port 8080 is defined for Apache and XAMPP.  If you type in just http://localhost:8080/ , you should still see the XAMPP main page.   'phpPgAdmin' is a PHP program that runs under PHP on Apache and uses the same port as everything else on the server.

The error message is telling you that either the 'phpPgAdmin' directory spelling has changed or perhaps the 'index.php' that is used to dispatch the code is missing or renamed.
0
 

Author Comment

by:doctorbill
ID: 41773174
xampp is runnign as port: 888
0
 
LVL 82

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 500 total points
ID: 41773186
Then try http://localhost:888/phpPgAdmin/ .  Apache / XAMPP runs PHP and 'phpPgAdmin' so they should be on the same port.  They are on every installation that I have.  PHP and 'phpPgAdmin' are not able to independently receive requests on a different port.

Apache is running the network service where the port is defined.  It passes requests on to the different programs like 'phpPgAdmin' that are running on the server.
0
 

Author Comment

by:doctorbill
ID: 41773209
Already tried this:
http://localhost:888/phpPgAdmin/index.php

I get:
Object not found!
error 404

If I try the pgAdmin 111 GUI it cannot connect to the server on 5433
0
 
LVL 82

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 500 total points
ID: 41773216
Ok, this shouldn't be this difficult.  It never has been here.

Try http://localhost:8080/  and tell what you get.
Try http://localhost:888/  and tell me what you get.
0
 
LVL 82

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 500 total points
ID: 41773217
Port 5433 should be the port for PostGreSQL.
0
 

Author Comment

by:doctorbill
ID: 41773225
http://localhost:8080:
This site can’t be reached
localhost refused to connect.
Did you mean http://localhost-8080.com/?
Search Google for localhost 8080
ERR_CONNECTION_REFUSED

http://localhost:888/xampp/:
This gets me to xampp control panel
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 

Author Comment

by:doctorbill
ID: 41773234
This is working:
http://localhost:888/phpPgAdmin-5.1/

UN: postgres
PW: what should the default pw be
0
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 41773484
In my install, there wasn't a default password.  This page tells about it: https://www.postgresql.org/message-id/4D958A35.8030501@hogranch.com  Since you are on Windows, you don't need to use the 'sudo' command to become an 'administrator' though you may need to be using an Administrator account.
0
 

Author Comment

by:doctorbill
ID: 41773895
There looked to be a lot of problems with my installs
I have now reinstalled the database servers and postgre phpPgAdmin (there was nothing important in the previous databases) and all looks good now

One final question:
Have you needed to export a set of mysql database tables using phpMyAdmin on windows and import them into postgres using the phpPgAdmin software
I get errors when doing this
I was wondering if you know of a good converter to use
0
 
LVL 82

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 500 total points
ID: 41773960
I did that once a couple of years ago when I first set up my test box.  I do remember struggling with it but not the details of fixing it.  I think I found out I did it wrong once I got it working.
0
 

Author Closing Comment

by:doctorbill
ID: 41773981
Solved
0
 
LVL 82

Expert Comment

by:Dave Baldwin
ID: 41774115
Good to hear, glad to help.
0
 

Author Comment

by:doctorbill
ID: 41774398
Always a pleasure working with you
1

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now