Re: [Trisquel-users] phpmyadmin installation problem

2016-07-17 Thread austin . green
It hadn't even occurred to me that there were alternatives - many thanks for  
the pointer!


Installed it, similar results (a 404 this time) but a quick search revealed  
that there are still a few manual configuration steps, for some reason not  
included in the package:


sudo ln -s /etc/adminer/apache.conf /etc/apache2/conf-available/adminer.conf
sudo a2enconf adminer.conf
sudo service apache2 reload

After which it worked like a charm.

I won't mark this as 'solved' because it would still be good to fix  
phpMyAdmin - anyone have any more ideas about what might be wrong with it?


Re: [Trisquel-users] phpmyadmin installation problem

2016-07-17 Thread tegskywalker

Have you tried alternatives like Adminer from http://adminer.org ?


Re: [Trisquel-users] phpmyadmin installation problem

2016-07-16 Thread austin . green

Further update:

Ran php on the index.php from the command line.
It output the following errors.

	phpmyadmin: Failed to load /var/lib/phpmyadmin/blowfish_secret.inc.php Check  
group www-data has read access and open_basedir restrictions.
	phpmyadmin: Failed to load /var/lib/phpmyadmin/config.inc.php Check group  
www-data has read access and open_basedir restrictions.
	phpmyadmin: Failed to load /etc/phpmyadmin/config-db.php Check group  
www-data has read access and open_basedir restrictions.


I checked the permissions of the files mentioned; they have read access by  
group www-data.

I don't know what is meant by 'open_basedir restrictions'.

Captured the output HTML from running php and attempted to display it in the  
browser.

It showed nothing (as expected) so edited bits out until it did.
The item causing the blank page was this:
[style]html{display: none;}[/style]
[ I do not know how to display quoted code in this forum, so have replaced  
the angle-brackets round the HTML tags with square brackets, otherwise it  
fails to display properly on the forum page. ]

Removing the 'style' tag allowed a reasonable looking page to display.

I'm not an expert on HTML, so not sure why that tag is there,
possibly it is meant to be overridden by some other included text that is  
missing.


The page that showed had a couple of possibly significant lines:
Javascript must be enabled past this point
and
The $cfg['PmaAbsoluteUri'] directive MUST be set in your configuration 
file!

Anyone able to throw any light here?



Re: [Trisquel-users] phpmyadmin installation problem

2016-07-14 Thread austin . green

Update:
I have tried replacing /usr/share/phpmyadmin/index.php with a simple dummy  
PHP script, and that displays correctly, so the problem could perhaps be that  
there is an error in the 'real' index.php, as a blank white page seems to be  
PHP's way of signaling syntax errors and such.


Re: [Trisquel-users] phpmyadmin installation problem

2016-07-14 Thread austin . green

Nope, none broken, none upgradable.