phpmyadmin errors


6 posts
by pepitoGrillo » Tue Nov 06, 2012 12:33 pm
After I do the login in phpmyadmin (in netsurf web navigator), it says that there are errors and I must see the log files and congigure PHP properly.
I did all the steps neccesaries
I don't know that I have to do to resolve it.
Posts: 13
Joined: Sat Oct 27, 2012 5:55 pm
by techpaul » Tue Nov 06, 2012 6:36 pm
pepitoGrillo wrote:After I do the login in phpmyadmin (in netsurf web navigator), it says that there are errors and I must see the log files and congigure PHP properly.
I did all the steps neccesaries
I don't know that I have to do to resolve it.

So look at the Apache log files, assuming this is on your on Pi look at files in
/var/www/logs

Easier if you do an access to PHPmyadmin then access the logs using

tail /var/www/logs/<filename>

That should be the way to find the errors more likely a permissions error.
Just another techie on the net - For GPIO boards see http:///www.facebook.com/pcservicesreading
or http://www.pcserviceselectronics.co.uk/pi/
Posts: 1481
Joined: Sat Jul 14, 2012 6:40 pm
Location: Reading, UK
by pepitoGrillo » Tue Nov 06, 2012 8:40 pm
There aren't log files in these directory
Posts: 13
Joined: Sat Oct 27, 2012 5:55 pm
by pepitoGrillo » Tue Nov 06, 2012 10:14 pm
I followed these steps:
sudo apt-get install phpmyadmin
Putting administrator password
Then I modified the / etc/php5/apache2/php.ini and I added the line extension = mysql.so
I followed a tutorial, but then I commented the line and that did not work
I noticed that there were phpmyadmin symlink to / var / www
restarted apache2
and when I go to the browser, in my case netsurf and i write http://localhost/phpmyadmin, the fact is that I always come to the same error screen that tells me I have to look at the log files from my server, and php mysql and resolve any errors, but I've only seen something written in access.log and refers to when you log in (I think, get and post)

For that, anyone knows how to fix this?
Posts: 13
Joined: Sat Oct 27, 2012 5:55 pm
by pepitoGrillo » Wed Nov 07, 2012 9:23 am
Solved!
The problem was the navigator cookies.
I have installed iceweasel and now it works
http://www.electrictoolbox.com/phpmyadmin-cannot-start-session-without-errors/
Posts: 13
Joined: Sat Oct 27, 2012 5:55 pm
by kaspencer » Wed Nov 07, 2012 10:40 am
You have taken the very words out of my mouth (or off my keyboard) regarding this little error.
It does indeed appear as though the version of NetSurf installed as standard with RaspbianWheezy cannot manage cookies. It seems that there is a later version available which does have cookie management in its menus, but I haven't tried it.

Everything is fine with Midori - I just happen to prefer the look of NetSurf.

All the best

Ken
2x256Mb + 2x512Mb RPi, Eth'netLAN+Win2k3R2 svr, 40MbpsFTTC.
RaspBMC: 128G SD, K400 wl Kb+TPd, HD32tv&Rem.
RW'y webserver: 64G SD, Y-RK49 wl Kb+M, HannsG W24" screen
RW'y PDC & fileserver: as above + 2TB disc.
+RiscOSPi on 32G uSD.
Posts: 71
Joined: Wed Mar 07, 2012 11:37 pm
Location: UK, England, Wiltshire