473,725 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHPMyAdmin

SCS
Running PHP 4.5.7
PHPMyAdmin 2.5.7-pl1
IIS 6

I am thrying to get phpmyadmin to work, but whenever I click a link or try
to browse a database I get a 404 error, because the PmaAbsoluteUri
auto-detection is nor working properly.
Im pretty sure it is a problem with my php.ini file, but Im not sure where
to look... can someone please help

Many Thanks
Jul 17 '05 #1
7 6447
SCS wrote:
I am thrying to get phpmyadmin to work, but whenever I click a link or try
to browse a database I get a 404 error, because the PmaAbsoluteUri
auto-detection is nor working properly.
Im pretty sure it is a problem with my php.ini file, but Im not sure where
to look... can someone please help


Try the phpMyAdmin configuration file - it's called config.inc.php and
is in the root directory of your phpMyadmin installation.

It should look something like
$cfg['PmaAbsoluteUri '] = 'http://<server name>/phpmyadmin';

Or whatever the path to your installation is *through* the server.

HTH, Regards,

Andy

Jul 17 '05 #2
SCS
I have looked at that yeah, but I want to be able to run PHPMyAdmin from
within my Network (e.g http://localhost) and also from the internet
(http://www.mydomain.co.uk) any ideas on that one.. also the Auto thingy
should work..

Thanks Again

"Andy Barfield" <ab**********@y ahoo.com> wrote in message
news:hv******** ************@ni ldram.net...
SCS wrote:
I am thrying to get phpmyadmin to work, but whenever I click a link or try to browse a database I get a 404 error, because the PmaAbsoluteUri
auto-detection is nor working properly.
Im pretty sure it is a problem with my php.ini file, but Im not sure where to look... can someone please help


Try the phpMyAdmin configuration file - it's called config.inc.php and
is in the root directory of your phpMyadmin installation.

It should look something like
$cfg['PmaAbsoluteUri '] = 'http://<server name>/phpmyadmin';

Or whatever the path to your installation is *through* the server.

HTH, Regards,

Andy

Jul 17 '05 #3
SCS wrote:
I have looked at that yeah, but I want to be able to run PHPMyAdmin from
within my Network (e.g http://localhost) and also from the internet
(http://www.mydomain.co.uk) any ideas on that one.. also the Auto thingy
should work..


Hmmmmm - interesting - seems to work fing on a LAMP setup I'm running
here. A brief glance at the docs suggests that you can set it
dynamically, though I'm not sure it would help, it may be worth a try.

http://www.phpmyadmin.net/documentation/#config for details.

Regards,

Andy
Jul 17 '05 #4

"SCS" <en*******@scsw ise.co.uk> wrote in message
news:cd******** **@sparta.btint ernet.com...
"Andy Barfield" <ab**********@y ahoo.com> wrote in message
news:hv******** ************@ni ldram.net...
SCS wrote:
I am thrying to get phpmyadmin to work, but whenever I click a link or try to browse a database I get a 404 error, because the PmaAbsoluteUri
auto-detection is nor working properly.
Im pretty sure it is a problem with my php.ini file, but Im not sure where to look... can someone please help


Try the phpMyAdmin configuration file - it's called config.inc.php and
is in the root directory of your phpMyadmin installation.

It should look something like
$cfg['PmaAbsoluteUri '] = 'http://<server name>/phpmyadmin';

Or whatever the path to your installation is *through* the server.

HTH, Regards,

Andy

I have looked at that yeah, but I want to be able to run PHPMyAdmin from
within my Network (e.g http://localhost) and also from the internet
(http://www.mydomain.co.uk) any ideas on that one.. also the Auto thingy
should work..


Since the instance of phpMyAdmin will only run on the one server, what
difference to you expect to see when accessing it from intranet versus
internet? The path in question is the path that the server on which
phpMyAdmin is running must use to access the database. Little to do with who
happens to be accessing phpMyAdmin or how.

- Virgil
Jul 17 '05 #5
Virgil Green wrote:
Since the instance of phpMyAdmin will only run on the one server, what
difference to you expect to see when accessing it from intranet versus
internet? The path in question is the path that the server on which
phpMyAdmin is running must use to access the database. Little to do with who
happens to be accessing phpMyAdmin or how.


Not in this case, PmaAbsoluteUri is the base of the phpMyadmin
installation while the parameter in $cfg['Servers'][$i]['host'] is the
host of the MySql Server
Jul 17 '05 #6
"Andy Barfield" <ab**********@y ahoo.com> wrote in message
news:Ut******** ************@ni ldram.net...
Virgil Green wrote:
> Since the instance of phpMyAdmin will only run on the one server, what
difference to you expect to see when accessing it from intranet versus
internet? The path in question is the path that the server on which
phpMyAdmin is running must use to access the database. Little to do with who happens to be accessing phpMyAdmin or how.


Not in this case, PmaAbsoluteUri is the base of the phpMyadmin
installation while the parameter in $cfg['Servers'][$i]['host'] is the
host of the MySql Server


Yep, my error on the particulars. However the premise stands. The URL is to
the phpMyAdmin installation so it is still a single value no matter the
manner in which it is accessed.

- Virgil
Jul 17 '05 #7
On Tue, 20 Jul 2004 08:55:30 +0100, Andy Barfield
<ab**********@y ahoo.com> wrote:
SCS wrote:
I am thrying to get phpmyadmin to work, but whenever I click a link or try
to browse a database I get a 404 error, because the PmaAbsoluteUri
auto-detection is nor working properly.
Im pretty sure it is a problem with my php.ini file, but Im not sure where
to look... can someone please help


Try the phpMyAdmin configuration file - it's called config.inc.php and
is in the root directory of your phpMyadmin installation.

It should look something like
$cfg['PmaAbsoluteUri '] = 'http://<server name>/phpmyadmin';

Or whatever the path to your installation is *through* the server.

HTH, Regards,

Andy


Try this (All on one line of course):

$cfg['PmaAbsoluteUri '] = (!empty($_SERVE R['HTTPS']) ? 'https' :
'http') . '://' . $_SERVER['HTTP_HOST'] .
(!empty($_SERVE R['SERVER_PORT']) ? ':' . $_SERVER['SERVER_PORT'] : '')
.. substr($_SERVER['PHP_SELF'], 0, strpos($_SERVER['PHP_SELF'],
'/')+1);

I run phpMyAdmin on three different domains, and it works flawlessly
for me. And note, in the above code, I only used single-quotes; no
double-quotes at all.
Jul 17 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3031
by: mojo jojo | last post by:
This may really be a phpMyAdmin problem, I think - but keen to hear your thoughts. Any help appreciated. Using phpMyAdmin to export an entire database works fine - I get a mydatabase.sql file. Restoring (using phpMyAdmin) usually work fine. However, if any of the data in any of the fields contains the '#' character, it bombs out citing a syntax error. I have tried escaping the character with '\' to no avail - still gives syntax errors.
0
1497
by: Gnarlodious | last post by:
This is some odd behavior, I'm hoping someone can explain. I have a TiBook running 4.0.17 and phpMyAdmin 2.5.5-pl1 where MySQL hostname is configured as "Gnarlodious-TiBook" (machinename). So far so good, all works OK. I have a Cube running 4.0.20 and phpMyAdmin 2.5.5-pl1 where MySQL hostname is configured as "Gnarlodious-Cube" (machinename). But now phpMyAdmin can't login, throwing error
3
2172
by: cofused | last post by:
Hi, I have set up the Xitami server (2.5c2) and PHP (5.0.5) on my Win98 system without any problem. I am trying to add PhpMyAdmin. When I try to load http://home/phpmyadmin which loads index.php, I get the following (lengthy) warning...
0
3474
by: NewbieSupreme | last post by:
I'm using PHPMyAdmin on an Apache2Triad install (latest version; 5.x.x, which installs PHP5 and PHPMyAdmin 2.8 as well). In Access, I exported a table to a text file, tab-delimited, text qualifyer of "none" (this is how I read to do it from newsgroups). When I use the Query window in phpmyadmin to import the text file, it waits a while, then returns an error: #1064 - You have an error in your SQL syntax; check the manual that...
5
3047
by: Marcus | last post by:
Hello, I am having a problem with a query in phpMyAdmin... it works fine on my localhost, but the exact same query produces an error in phpMyAdmin on my server: localhost: PHP 4.3.11, MySQL 4.1.12, phpMyAdmin 2.8.1 server: PHP 4.3.11, MySQL 4.1.12, phpMyAdmin 2.6.3-pl1 SELECT AES_DECRYPT(pass, 'asdf') FROM `test`
2
6806
by: Victor | last post by:
Could anybody kindly point me to a clue in the following enigma : I have phpMyAdmin - 2.8.2.4 and MySQL - 4.1.13-nt. In the phpMyAdmin opened in any browser I am able to enter and store Russian characters in the DB; I cal also call the data back to display them in the phpMyAdmin. When I try to do the same from my own page, only some garbage with double as many characters as an original word gets stored in the DB (at least I see it...
3
471
by: Susanne | last post by:
I have a server with my own domain and have created some users under htdocs/users/. I have installed phpMyAdmin under htdocs/. Everything works, but I can't open phpMyAdmin. I have made an alias in httpd.conf: Alias /phpMyAdmin/ "C:/Program/Apache2/htdocs/phpMyAdmin/" <Directory "C:/Program/Apache2/htdocs/phpMyAdmin"> Options Indexes MultiViews AllowOverride None Order allow,deny
8
8888
by: Jonathan Sachs | last post by:
I just tried to install phpMyAdmin on my system, and I can't get it to work. When I tried to run the setup procedure (setup.php) I got the following message: Fatal error: session_start() : Failed to initialize storage module: user (path: C:\...\Temp\php\session) in D\...\phpMyAdmin\libraries\session.inc.php on line 86 I set up the config file by hand, then tried to run phpMyAdmin and got the same error.
2
1913
by: seanh | last post by:
Hi all, I need some advice regarding phpmyadmin, I installed phpmyadmin directory in the htdocs but when I go to my http://mysite.com/phpmyadmin I get a 500 internal error. I checked the files from phpMyAdmin-3.1.3.2-english that I unziped on my desktop and compared each one to the ftp phpmyadmin directory files on the server so all files are all there. I also added config.inc.php file and put it inside phpmyadmin directory. I was wondering...
0
8886
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9401
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9256
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9168
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8091
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6701
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6010
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
2632
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2154
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.