Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] phpmyadmin - edit (empty screen)
Date: Mon, 26 Mar 2018 16:53:56
Message-Id: fc853760-11d9-2f38-a21b-6d3a7d057557@sys-concept.com
In Reply to: Re: [gentoo-user] phpmyadmin - edit (empty screen) by nils.freydank@posteo.de
1 On 03/26/2018 10:41 AM, nils.freydank@××××××.de wrote:
2 > Hello thelma,
3 >
4 >
5 > Am Montag, 26. März 2018, 18:27:31 CEST schrieb thelma@×××××××××××.com:
6 >> I've updated to phpmyadmin-4.7.8
7 >> but when I try to edit a table, no data is loaded, I get an empty screen.
8 > I had similar issue when I installed v4.7.8, and enabling PHP debug output to
9 > the website helped me fixing the actuall PHP issue (while I couldn't get the
10 > logging to write these messages to any logfile).
11 >
12 > Here is my nginx snippet for phpmyadmin in a subdirectory:
13 > #=== POSTFIXADMIN ===
14 > location /postfixadmin {
15 > try_files $uri $uri/ index.php;
16 > }
17 > location ~ .php$ {
18 > #fastcgi_split_path_info ^(.+\.php)(/.+)$;
19 > include fastcgi_params;
20 > fastcgi_pass php-handler; # see below
21 > fastcgi_index index.php;
22 > include fastcgi_params;
23 > fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
24 > fastcgi_param PATH_INFO $fastcgi_path_info;
25 > fastcgi_buffer_size 16k;
26 > fastcgi_buffers 4 16k;
27 > }
28 > #EOF
29 > #=== snippet for the php-handler:
30 > upstream php-handler{
31 > server 127.0.0.1:9000;
32 > }
33 > #EOF
34 >
35 >> I have downgraded to phpmyadmin-4.7.7-r1 but system shows I have two
36 >> version installed. How do I know which one is active, or select lower
37 >> version?
38 > With portage you install something like a "draft" to /usr, and then app-admin/
39 > webapp-config actually manages the files inside your webroot. For details how
40 > to use it take a look to our wiki page:
41 > https://wiki.gentoo.org/wiki/Webapp-config
42 >
43 >> […]
44 >
45 > HTH,
46 > Nils
47
48 In the past I didn't have to do anything after upgrading phpmyadmin.
49 I can see the table, but when I try to edit data inside them I get an empty screen:
50
51 Here is my current: config.inc.php
52 b<?php
53 /*
54 * Generated configuration file
55 * Generated by: phpMyAdmin 3.4.0 setup script
56 * Date: Mon, 23 May 2011 10:23:03 -0400
57 */
58
59 /* Servers configuration */
60 $i = 0;
61
62 /* Server: localhost [1] */
63 $i++;
64 $cfg['Servers'][$i]['verbose'] = '';
65 $cfg['Servers'][$i]['host'] = 'localhost';
66 $cfg['Servers'][$i]['port'] = '';
67 $cfg['Servers'][$i]['socket'] = '';
68 $cfg['Servers'][$i]['connect_type'] = 'tcp';
69 $cfg['Servers'][$i]['extension'] = 'mysqli';
70 $cfg['Servers'][$i]['auth_type'] = 'http';
71 $cfg['Servers'][$i]['user'] = '';
72 $cfg['Servers'][$i]['password'] = '';
73
74
75 /* End of servers configuration */
76
77 $cfg['blowfish_secret'] = '';
78 $cfg['UploadDir'] = '';
79 $cfg['SaveDir'] = '';
80 $cfg['DefaultLang'] = 'en';
81 $cfg['ServerDefault'] = 1;
82
83 /* configuration storage */
84 $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
85 $cfg['Servers'][$i]['controluser'] = 'phpmyadmin';
86 $cfg['Servers'][$i]['controlpass'] = 'MeyLCywYz3TUjYx9';
87 $cfg['Servers'][$i]['relation'] = 'pma_relation';
88 $cfg['Servers'][$i]['table_info'] = 'pma_table_info';
89 $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
90 $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
91 $cfg['Servers'][$i]['column_info'] = 'pma_column_info';
92 $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
93 $cfg['Servers'][$i]['history'] = 'pma_history';
94 $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
95 $cfg['Servers'][$i]['tracking'] = 'pma_tracking';
96 $cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';
97 $cfg['Servers'][$i]['recent'] = 'pma_recent';
98 $cfg['Servers'][$i]['table_uiprefs'] = 'pma_table_uiprefs';
99 $cfg['Servers'][$i]['users'] = 'pma__users';
100 $cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
101 $cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
102 $cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
103 ?>

Replies

Subject Author
Re: [gentoo-user] phpmyadmin - edit (empty screen) nils.freydank@××××××.de