Some CB 2.0 issues.

ShinJii

Verified User
Joined
Mar 20, 2014
Messages
224
Hi,
I have some issues with phpmyadmin... I don't know why but without a reason newest version (from cb 2) show only blank page, but when I downgrade for example to 4.3.1 it show only errors like

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

Backtrace

./libraries/logging.lib.php#50: fopen(
string './log/auth.log',
string 'a',
)
./libraries/logging.lib.php#78: log_to_file(
string 'root',
string 'ok',
)
./libraries/common.inc.php#1000: PMA_logUser(string 'root')
./index.php#12: require_once(./libraries/common.inc.php)


While installation:

Code:
File already exists
MD5 Checksum on patches/pma_auth_logging.patch passed.
Patching phpMyAdmin to log failed authentications for BFM...
patching file libraries/common.inc.php
patching file libraries/logging.lib.php
phpMyAdmin 4.3.1-all-languages installation is done.
Done!


Then I want go to for example Roundcube... it shows error
Code:
CONFIGURATION ERROR

config.inc.php was not found.
Please read the INSTALL instructions!


Also I have some chmod problems... when I install Prestashop I have to do chmods 777 to folders and files ;/ it's not safe I think? and now while installation I have error while "installing modules" I don't know why?... 2 days ago was everything good :(

PLEASE HELP! :D
 
4.3.1 has several bugs, so it's recommended to update to 4.3.2. Do you see anything in your /var/log/httpd/error_log when you get the blank page?
 
Yes but earlier in 4.3.2 that errors show too... but now it's just blank page.

Error_log has only this
Code:
[Sun Dec 21 03:49:02.418495 2014] [auth_digest:notice] [pid 3585] AH01757: generating secret for digest authentication ...
[Sun Dec 21 03:49:03.032914 2014] [lbmethod_heartbeat:notice] [pid 3585] AH02282: No slotmem from mod_heartmonitor
[Sun Dec 21 03:49:03.153254 2014] [mpm_prefork:notice] [pid 3585] AH00163: Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips PHP/5.4.36 configured -- resuming normal operations
[Sun Dec 21 03:49:03.153275 2014] [core:notice] [pid 3585] AH00094: Command line: '/usr/sbin/httpd -D SSL'
 
It doesn't seem to have any errors in log. Would you like me to check what's going on there? (free of charge)
 
Yes, where give you login and password? Private message?

I hope you repair chmods and phpmyadmin, it will be great :cool:
 
Last edited:
The problem was caused by improper usage of CB 2.0. mod_ruid2=yes was set in the options.conf file, but it was not installed ("./build apache" or "./build mod_ruid2" command wasn't executed after the changes). Installation of mod_ruid2 solved the problem, because phpMyAdmin started to work under "webapps" user privileges.
 
Hmmm... Still when I try to install prestashop... I have to do 777 chmods ;/ when I do 775 or 755 it can't be installed :/

EDIT: Now it has error in first step ;/ during creating settings.inc ;/
 
Last edited:
The problem fixed was phpMyAdmin, not your joomla installations :) Please try the following and see if that fixes your problems with CMS:
Code:
cd /usr/local/directadmin/data/users
for i in `ls`; do { chown -R $i:$i /home/$i/domains/*/public_html; chown -R $i:$i /home/$i/domains/*/private_html; }; done;
 
Yes I know, but it's in all server problems with chmods I don't know why :(
Hmmm... still have to do 777 chmods ech :D in other server I don't have to do anything with chmods, weird :D
 
The previous command given doesn't change chmod of user files. They're set to the ones you've set, DA doesn't change chmod for user files.
 
Back
Top