[prev in list] [next in list] [prev in thread] [next in thread] 

List:       macports-users
Subject:    phpmyadmin: getting blank page at localhost/phpmyadmin
From:       Murray Eisenberg <murrayeisenberg () gmail ! com>
Date:       2017-10-28 22:20:20
Message-ID: 57DB7B01-1D2B-48C1-9A45-956D59841F60 () gmail ! com
[Download RAW message or body]

Following the instructions at https://trac.macports.org/wiki/howto/PHP \
<https://trac.macports.org/wiki/howto/PHP>, I've completed a reinstall of phpmyadmin \
4.7.4 (after getting working reinstalls of apache 2.4, mysql 5.7, and php 7.1).

I followed Step 4 ("Install phpMyAdmin), then the first Step 6 ("Configure \
phpMyAdmin"), and finally the _second_ (obviously mis-numbered) Step 6 ("Install \
pmadb"). In that last stepI did both parts, namely:

  - create the sql tables; and 
  -  read in to mysql the file mysql_phpMyAdmin_pmaSetup.sql — with the 3 edits \
indicated as needed for MySQL >= 5.6.7.

I did do three things differently with config.inc.php:

  (1) I'm using $cfg['Servers'][$i]['auth_type'] = 'cookie'; 
       and a setting for  $cfg['blowfish_secret'] 

  (2) I used a custom value for $cfg['Servers'][$i]['controlpass'] instead of \
'pmapass'

  (3) I've uncommented all the commented cfg lines that are shown at the end of the \
page (e.g., $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin'; ).

Nonetheless, if I try to browse to http://localhost/phpmyadmin \
<http://localhost/phpmyadmin> …  
   ** I just see a blank page.

(The same thing happens, of course, if for the URL I use a virtual host ServerName \
that I configured in the apache httpd-vhosts.conf file.)

Yes, apache's httpd.conf includes both...

    <IfModule dir_module>
         DirectoryIndex index.php index.html
    </IfModule> 

.. and: 

     LoadModule dir_module lib/apache2/modules/mod_dir.so

Any ideas how to fix this?
—
Murray Eisenberg			murrayeisenberg@gmail.com
503 King Farm Blvd #101	Home (240)-246-7240
Rockville, MD 20850-6667	Mobile (413)-427-5334


[Attachment #3 (unknown)]

<html><head><meta http-equiv="Content-Type" content="text/html \
charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space;" class="">Following the instructions \
at&nbsp;<a href="https://trac.macports.org/wiki/howto/PHP" \
class="">https://trac.macports.org/wiki/howto/PHP</a>,<div class="">I've completed a \
reinstall of phpmyadmin 4.7.4 (after getting working reinstalls of apache 2.4, mysql \
5.7, and php 7.1).</div><div class=""><br class=""></div><div class="">I followed \
Step 4 ("Install phpMyAdmin), then the first Step 6 ("Configure phpMyAdmin"), and \
finally the _second_ (obviously mis-numbered) Step 6 ("Install pmadb"). In that last \
stepI did both parts, namely:</div><div class=""><div class=""><br \
class=""></div><div class="">&nbsp; - create the sql tables; and&nbsp;</div><div \
class="">&nbsp; - &nbsp;read in to mysql the file&nbsp;<span style="background-color: \
rgb(247, 247, 247);" class=""><font size="2" \
class="">mysql_phpMyAdmin_pmaSetup.sql&nbsp;— with the 3 edits indicated as needed \
for MySQL &gt;= 5.6.7.</font></span></div><div class=""><font size="2" class=""><span \
style="background-color: rgb(247, 247, 247);" class=""><br \
class=""></span></font></div><div class="">I did do three things differently with \
config.inc.php:</div><div class=""><br class=""></div><div class="">&nbsp; (1) I'm \
using&nbsp;$cfg['Servers'][$i]['auth_type'] = 'cookie';&nbsp;</div><div \
class=""><span style="background-color: rgb(247, 247, 247);" class="">&nbsp; &nbsp; \
&nbsp; &nbsp;and a setting for&nbsp;</span><span style="background-color: rgb(247, \
247, 247);" class=""></span><span style="background-color: rgb(247, 247, 247);" \
class="">&nbsp;</span><span style="background-color: rgb(247, 247, 247);" \
class="">$cfg['blowfish_secret']&nbsp;</span></div><div class=""><span \
style="background-color: rgb(247, 247, 247);" class=""><br class=""></span></div><div \
class=""><span style="background-color: rgb(247, 247, 247);" class="">&nbsp; (2) I \
used a custom value for&nbsp;</span>$cfg['Servers'][$i]['controlpass'] instead \
of&nbsp;<span style="font-size: 13px; background-color: rgb(247, 247, 247);" \
class="">'pmapass'</span></div><div class=""><br class=""></div><div class=""><span \
style="background-color: rgb(247, 247, 247);" class="">&nbsp; </span><span \
style="background-color: rgb(247, 247, 247);" class="">(3) I've uncommented all the \
commented cfg lines that are shown at the end of the page (e.g.,&nbsp;</span><span \
style="background-color: rgb(247, 247, 247);" class=""><font size="2" \
class="">$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';&nbsp;</font></span><span \
style="background-color: rgb(247, 247, 247);" class="">).</span></div><div \
class=""><div class=""><br class=""></div><div class="">Nonetheless, if I try to \
browse to <a href="http://localhost/phpmyadmin" \
class="">http://localhost/phpmyadmin</a>&nbsp;…</div><div class="">&nbsp;</div><div \
class="">&nbsp; &nbsp;** I just see a blank page.</div><div class=""><br \
class=""></div><div class="">(The same thing happens, of course, if for the URL I use \
a virtual host ServerName that I configured in the apache httpd-vhosts.conf \
file.)</div><div class=""><br class=""></div><div class="">Yes, apache's httpd.conf \
includes both...</div><div class=""><br class=""></div><div class="">&nbsp; &nbsp; \
&lt;IfModule dir_module&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp;DirectoryIndex index.php index.html</div><div class="">&nbsp; &nbsp; \
&lt;/IfModule&gt;&nbsp;</div><div class=""><br class=""></div><div class="">.. \
and:&nbsp;</div><div class=""><br class=""></div><div class="">&nbsp; &nbsp; \
&nbsp;LoadModule dir_module lib/apache2/modules/mod_dir.so</div><div class=""><br \
class=""></div><div class="">Any ideas how to fix this?</div><div class=""> \
—</div><div class="">Murray Eisenberg<span class="Apple-tab-span" \
style="white-space: pre;">			</span><a href="mailto:murrayeisenberg@gmail.com" \
class="">murrayeisenberg@gmail.com</a><br class="">503 King Farm Blvd #101<span \
class="Apple-tab-span" style="white-space: pre;">	</span>Home (240)-246-7240<br \
class="">Rockville, MD 20850-6667<span class="Apple-tab-span" style="white-space: \
pre;">	</span>Mobile (413)-427-5334<br class=""><br class="">

</div>

<br class=""></div></div></body></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic