Phpymadmin token mismatch error on every click

ayberk

Verified User
Joined
Apr 18, 2016
Messages
49
I entered phpMyAdmin after months. Everywhere I click there is an error.

How can we solve the problem?

Code:
Warning in ./libraries/logging.lib.php#56
 fopen(./log/auth.log): failed to open stream: Permission denied

Backtrace

./libraries/logging.lib.php#56: fopen(
string './log/auth.log',
string 'a',
)
./libraries/logging.lib.php#84: log_to_file(
string 'akilli_on',
string 'ok',
)
./libraries/common.inc.php#898: PMA_logUser(string 'akilli_on')
./db_structure.php#15: require_once(./libraries/common.inc.php)

Centos 6.5
MySQL 5.5.31-log
mysqlnd 5.0.11-dev - 20120503
PHP sürümü: 5.5.34
phpMyAdmin 4.64

Code:
[root@ns1 custombuild]#  ./build options
Apache: 2.4.23
mod_ruid2: no
ModSecurity: no
Dovecot: 2.2.25
Dovecot configuration: yes
AWstats: no
Exim: no
exim.conf update: no
BlockCracking: no
Easy Spam Fighter: no
SpamAssassin: no
ClamAV: no
MySQL: no
MySQL backup: yes
MySQL backup directory: /usr/local/directadmin/custombuild/mysql_backups
MySQL compress backups: no
PHP (default): 5.5 as mod_php
phpMyAdmin: 4.6.4-all-languages
ProFTPD: no
Pure-FTPd: 1.0.43
RoundCube webmail: 1.2.2
Replace "php.ini" with './build all' and './build php_ini': no
Auto updates/notifications: no
Run "clean" every time: yes
Run "clean_old_webapps" every time: yes
Run "clean_old_tarballs" every time: yes
Show texts in bold: yes
SquirrelMail: 1.4.23-20150507_0200
Zend Guard Loader: no
ionCube loader: no
Suhosin: no
 
Last edited:
Yes, one moment though, it should be:

Code:
./build set mod_ruid2 yes

and then you need to fix ownership and permissions, as you might have many files and directories owned by apache with 777. The following commands will set correct permissions and ownership after you install mod_ruid2:

Code:
cd /usr/local/directadmin/scripts && ./set_permissions.sh user_homes
find /home/*/domains/*/public_html -type d -print0 | xargs -0 chmod 755
find /home/*/domains/*/public_html -type f -print0 | xargs -0 chmod 644
find /home/*/domains/*/public_html -type f -name '*.cgi*' -exec chmod 755 {} \;
find /home/*/domains/*/public_html -type f -name '*.pl*' -exec chmod 755 {} \;
find /home/*/domains/*/public_html -type f -name '*.pm*' -exec chmod 755 {} \;
cd /usr/local/directadmin/data/users && for i in `ls`; do { chown -R $i:$i /home/$i/domains/*/public_html;}; done;
 
Back
Top