[Tfug] phpMyAdmin config

Matt Jacob matt.jacob at gmail.com
Thu Nov 2 00:01:03 MST 2006


Dare I say that you're having a browser issue, then?

On 11/1/06, keith smith <klsmith2020 at yahoo.com> wrote:
> Latest update:
>
> I'm really stuck on this phpMyAdmin install/config.
>
> I'm running Fedora Core 5
>
> OK I followed the docs and di like 5 installs & configs.  I eventually get to the same place. - A blank page.
>
> I can view left.php by adding it to url.  I see all my databases.
>
> I can view main.php by adding it to the url.
>
> Here is the source of the page phpMyAdmin puts out.
>
> - - - - - - - - - - - - - - - -
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
>     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
>     xml:lang="en"
>     lang="en"
>     dir="ltr">
> <head>
> <link rel="icon" href="./favicon.ico" type="image/x-icon" />
> <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
> <title>phpMyAdmin 2.9.0.2 -
>     phpmyadmin-2.9.0.2-english</title>
> <meta http-equiv="Content-Type"
>     content="text/html; charset=utf-8" />
> <script type="text/javascript" language="javascript">
> // <![CDATA[
>     // definitions used in querywindow.js
>     var common_query = 'token=b14a52f208d323a30187ba7e2e0ac7fe';
>     var opendb_url = 'db_details_structure.php';
>     var safari_browser = false;
>     var querywindow_height = 400;
>     var querywindow_width = 600;
>     var collation_connection = 'utf8_unicode_ci';
>     var lang = 'en-utf-8';
>     var server = '1';
>     var table = '';
>     var db    = '';
>     var text_dir = 'ltr';
>     var pma_absolute_uri = 'http://phpmyadmin-2.9.0.2-english/';
> // ]]>
> </script>
> <script src="./js/querywindow.js" type="text/javascript" language="javascript">
> </script>
> </head>
>
> <frameset cols="200,*" rows="*" id="mainFrameset">
>         <frame frameborder="0" id="frame_navigation"
>         src="left.php?token=b14a52f208d323a30187ba7e2e0ac7fe"
>         name="frame_navigation" />
>         <frame frameborder="0" id="frame_content"
>         src="main.php?token=b14a52f208d323a30187ba7e2e0ac7fe"
>         name="frame_content" />
>         <noframes>
>         <body>
>             <p>phpMyAdmin is more friendly with a <b>frames-capable</b> browser.</p>
>         </body>
>     </noframes>
> </frameset>
> <script type="text/javascript" language="javascript">
> // <![CDATA[
>     var frame_content = window.frames[1];
>     var frame_navigation = window.frames[0];
> // ]]>
> </script>
> </html>
>
> - - - - - - - - - - - - - - - -
>
> Any help much appreciated,
> Keith
>
>
>
>
>
> keith smith <klsmith2020 at yahoo.com> wrote: Hi Judd,
>
> Appreciate your help with this.
>
> I set the php.ini so that errors are displayed.
>
> Now I see the errors and see what I did wrong.  I did not copy over a few files.
>
> Now I get a login / password error which I can hopefully figure out.
>
> Funny thing was nothing was in the http logs about these errors.  I did see other errors on some scripts I was writing in PHP.
>
> It has been maybe 3 years since I setup a Linux box......
>
> Thanks for your help!
> Keith
>
>
>
>
>
>
> Judd Pickell
>  wrote: What does the apache log say?
>
> I have pointed out this before I believe, but I will state it again for the
> record, you will get a blank page on new setups of apache/php because it is
> setup not to display errors (some setups still show it, but most of the last
> ones I have done, have not). So the apache log maybe your only recourse in
> figuring out what is causing the hang up.
>
> Judd
>
> On 10/28/06, keith smith  wrote:
> >
> > I got past that one and now All I get is a blank page.......  If I look at
> > the page source there is a blank frame set there.
> >
> > I even get prompted for a username and password.
> >
> >
> > Matt Jacob  wrote: What are the permissions on
> > config.inc.php? Maybe that file isn't
> > readable by the user that Apache is running under.
> >
> > On 10/27/06, keith smith  wrote:
> > > I've been accessing mysql from the command line.  I just changed the
> > mysql root password.  It's working and it is started.  I've also restarted
> > and stopped it started it several times.
> > >
> > > I did a phpMyAdmin full install along with php-mysql and now I get
> > >
> > >
> > >      Welcome to  phpMyAdmin 2.9.0.2
> > >                               phpMyAdmin tried to connect to the MySQL
> > server, and the server rejected the connection. You should check the host,
> > username and password in config.inc.php and make sure that they correspond
> > to the information given by the administrator of the MySQL server.
> > >        Error      MySQL said:
> > >   #1045 - Access denied for user 'root'@'localhost' (using password: NO)
> > >
> > >       phpMyAdmin was unable to read your configuration file!
> > > This might happen if PHP finds a parse error in it or PHP cannot find
> > the file.
> > > Please call the configuration file directly using the link below and
> > read the PHP error message(s) that you receive. In most cases a quote or a
> > semicolon is missing somewhere.
> > > If you receive a blank page, everything is fine.
> > >
> > > ./config.inc.php
> > >
> > > I ran config.inc.php - no errors.... I'm dumbfounded!
> > >
> > > I followed the docs to the letter.
> > >
> > > Thanks,
> > > Keith
> > >
> > >
> > >
> > >
> > >
> > > Judd Pickell
> > wrote: I don't think you are understanding what it is telling you. As far
> > as the
> > > PHP is concerned, mysql is not installed. You have to get it installed
> > > (however you are doing it) before it will work. I am not sure it can be
> > said
> > > any plainer. :)
> > >
> > > On 10/27/06, keith smith  wrote:
> > > >
> > > > I solved that problem.  I did not copy over all the files.
> > > >
> > > > Now I'm back to the Cannot load mysql extension. Please check your PHP
> > > > configuration. - Documentation again.
> > > >
> > > > All my skrips are owned by root and group root.  Would that make a
> > diff?
> > > >
> > > > Keith
> > > >
> > > > Judd Pickell
> > >  wrote: Check your apache error log file
> > > > then. If it is blank you have encountered
> > > > an error, probably fatal. Hopefully your apache log caught it.
> > > >
> > > > On 10/27/06, keith smith  wrote:
> > > > >
> > > > > I did a new install and now the error is gone and All I Get is a
> > blank
> > > > > page when I go to pma.dev whic is phpMyAdmin.....
> > > > >
> > > > > Followed the instructions to the letter.... hmmmmmm
> > > > >
> > > > > Hey there is no mysql.so line at all in php.ini.
> > > > >
> > > > > Thanks for your help.
> > > > >
> > > > > Judd Pickell
> > > > wrote: from the command line type:
> > > > > php -i | grep ini
> > > > >
> > > > > and check what the location of your php.ini is. Then grep that file
> > for
> > > > > the
> > > > > mysql.so file. If it is commented out, uncomment it. Restart the
> > Apache
> > > > > server and you should be good to go.
> > > > >
> > > > > On 10/27/06, keith smith  wrote:
> > > > > >
> > > > > > I'm pulling my hair out
> > > > > >
> > > > > > Judd Pickell
> > > > > wrote: Somedays it is just fun to be on
> > > > > > multiple lists for the same subject..
> > > > > > hahaha.. :)
> > > > > >
> > > > > > On 10/27/06, keith smith  wrote:
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Hope all is well in Tucson.  Weather is finaly nice in Phoenix.
> > > > > > >
> > > > > > > I've been driving the PhxLinuxUsersGroup crazy with all my NEW
> > > > > > questions.
> > > > > > >
> > > > > > > I've go this shiny nice turn of the century AMD500 with 384M
> > > > > > RAM.  Finaly
> > > > > > > got it back out of the box since move over 2 years ago.
> > > > > > >
> > > > > > > I've loaded Fedora Core 5 on it.
> > > > > > >
> > > > > > > Usinging it for a LAMP dev box and hopefully add AJAX to that
> > soon.
> > > > > > >
> > > > > > > Ok everything is working well and I'm well on my way to
> > becomming
> > > > > almost
> > > > > > > M$ free.  All but my wife's computer.
> > > > > > >
> > > > > > > Here is the issue:
> > > > > > >
> > > > > > > Configuring phpmyadmin.
> > > > > > >
> > > > > > > HTTPd is configured
> > > > > > >
> > > > > > >
> > > > > > >     ServerName pma.dev
> > > > > > >     DocumentRoot /usr/share/phpMyAdmin-2.9.0.2-all-languages
> > > > > > >
> > > > > > >
> > > > > > > When I browse to pma.dev I get the following mesage:
> > > > > > >
> > > > > > > phpMyAdmin - Error
> > > > > > >
> > > > > > > Cannot load mysql extension. Please check your PHP
> > > > > > > configuration. - Documentation
> > > > > > >
> > > > > > > Docs say to install PHP-MySQ.  Did that.  restarted
> > > > > > > mysql & httpd.
> > > > > > >
> > > > > > > No errors on restart.
> > > > > > >
> > > > > > > Still same message.
> > > > > > >
> > > > > > > Any help much appreciated
> > > > > > > Keith
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > - - - - - - -
> > > > > > > Keith Smith
> > > > > > > - - - - - - -
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > http://travelingcheese.com/search_engine/increase-search-engine-traffic.html
> > > > > > > - - - - - - -
> > > > > > >
> > > > > > > ---------------------------------
> > > > > > > Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone
> > > > calls.  Great
> > > > > > > rates starting at 1�/min.
> > > > > > > _______________________________________________
> > > > > > > Tucson Free Unix Group - tfug at tfug.org
> > > > > > > Subscription Options:
> > > > > > > http://www.tfug.org/mailman/listinfo/tfug_tfug.org
> > > > > > >
> > > > > > _______________________________________________
> > > > > > Tucson Free Unix Group - tfug at tfug.org
> > > > > > Subscription Options:
> > > > > > http://www.tfug.org/mailman/listinfo/tfug_tfug.org
> > > > > >
> > > > > >
> > > > > >
> > > > > > - - - - - - -
> > > > > > Keith Smith
> > > > > > - - - - - - -
> > > > > >
> > > > > >
> > > > >
> > > >
> > http://travelingcheese.com/search_engine/increase-search-engine-traffic.html
> > > > > > - - - - - - -
> > > > > >
> > > > > > ---------------------------------
> > > > > > All-new Yahoo! Mail - Fire up a more powerful email and get things
> > > > done
> > > > > > faster.
> > > > > > _______________________________________________
> > > > > > Tucson Free Unix Group - tfug at tfug.org
> > > > > > Subscription Options:
> > > > > > http://www.tfug.org/mailman/listinfo/tfug_tfug.org
> > > > > >
> > > > > _______________________________________________
> > > > > Tucson Free Unix Group - tfug at tfug.org
> > > > > Subscription Options:
> > > > > http://www.tfug.org/mailman/listinfo/tfug_tfug.org
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > - - - - - - -
> > > > > Keith Smith
> > > > > - - - - - - -
> > > > >
> > > > >
> > > >
> > http://travelingcheese.com/search_engine/increase-search-engine-traffic.html
> > > > > - - - - - - -
> > > > >
> > > > > ---------------------------------
> > > > > Stay in the know. Pulse on the new Yahoo.com.  Check it out.
> > > > > _______________________________________________
> > > > > Tucson Free Unix Group - tfug at tfug.org
> > > > > Subscription Options:
> > > > > http://www.tfug.org/mailman/listinfo/tfug_tfug.org
> > > > >
> > > > _______________________________________________
> > > > Tucson Free Unix Group - tfug at tfug.org
> > > > Subscription Options:
> > > > http://www.tfug.org/mailman/listinfo/tfug_tfug.org
> > > >
> > > >
> > > >
> > > >
> > > > - - - - - - -
> > > > Keith Smith
> > > > - - - - - - -
> > > >
> > > >
> > http://travelingcheese.com/search_engine/increase-search-engine-traffic.html
> > > > - - - - - - -
> > > >
> > > > ---------------------------------
> > > > Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great
> > > > rates starting at 1�/min.
> > > > _______________________________________________
> > > > Tucson Free Unix Group - tfug at tfug.org
> > > > Subscription Options:
> > > > http://www.tfug.org/mailman/listinfo/tfug_tfug.org
> > > >
> > > _______________________________________________
> > > Tucson Free Unix Group - tfug at tfug.org
> > > Subscription Options:
> > > http://www.tfug.org/mailman/listinfo/tfug_tfug.org
> > >
> > >
> > >
> > >
> > > - - - - - - -
> > > Keith Smith
> > > - - - - - - -
> > >
> > http://travelingcheese.com/search_engine/increase-search-engine-traffic.html
> > > - - - - - - -
> > >
> > > ---------------------------------
> > > Everyone is raving about the  all-new Yahoo! Mail.
> > > _______________________________________________
> > > Tucson Free Unix Group - tfug at tfug.org
> > > Subscription Options:
> > > http://www.tfug.org/mailman/listinfo/tfug_tfug.org
> > >
> >
> > _______________________________________________
> > Tucson Free Unix Group - tfug at tfug.org
> > Subscription Options:
> > http://www.tfug.org/mailman/listinfo/tfug_tfug.org
> >
> >
> >
> >
> > - - - - - - -
> > Keith Smith
> > - - - - - - -
> >
> > http://travelingcheese.com/search_engine/increase-search-engine-traffic.html
> > - - - - - - -
> >
> > ---------------------------------
> > Everyone is raving about the  all-new Yahoo! Mail.
> > _______________________________________________
> > Tucson Free Unix Group - tfug at tfug.org
> > Subscription Options:
> > http://www.tfug.org/mailman/listinfo/tfug_tfug.org
> >
> _______________________________________________
> Tucson Free Unix Group - tfug at tfug.org
> Subscription Options:
> http://www.tfug.org/mailman/listinfo/tfug_tfug.org
>
>
>
> - - - - - - -
> Keith Smith
> - - - - - - -
> http://travelingcheese.com/search_engine/increase-search-engine-traffic.html
> - - - - - - -
>
> ---------------------------------
> Low, Low, Low Rates! Check out Yahoo! Messenger's cheap  PC-to-Phone call rates.
> _______________________________________________
> Tucson Free Unix Group - tfug at tfug.org
> Subscription Options:
> http://www.tfug.org/mailman/listinfo/tfug_tfug.org
>
>
>
>
> - - - - - - -
> Keith Smith
> - - - - - - -
> http://travelingcheese.com/search_engine/increase-search-engine-traffic.html
> - - - - - - -
>
> ---------------------------------
>  Check out the New Yahoo! Mail - Fire up a more powerful email and get things done faster.
> _______________________________________________
> Tucson Free Unix Group - tfug at tfug.org
> Subscription Options:
> http://www.tfug.org/mailman/listinfo/tfug_tfug.org
>


More information about the tfug mailing list