Obsolete Releases > SME 8.x Contribs
odd error with garbage in phpMyAdmin configuration file
piran:
Try editing your (template) file on the server using:
nano -w YourFile
...save it out using CtrlX. Less chance of any
'garbage' getting inserted by other OS editors.
wdepot:
Okay, BUT, the garbage was being inserted at the beginning of a file I hadn't edited. The 10config template file came directly from the smeserver-phpmyadmin install and was originally creating a perfectly fine config.inc.php file. The fact that the garbage is now contained between my new templates-custom/template-begin file and the 01a file would almost indicate to me that there is some other file located in one of the two templates folders for the config.inc.php file that is being added to the template right after template-begin. The only thing is, I've logged directly into the server as root and done an ls -a on both the templates and the templates-custom and no other files show up. As for as I know there isn't a way to hide files so the root user can't see them, is there?
piran:
>>Sure I can edit the garbage out of the config file after every server update so I can run phpMyAdmin
EVERY server update?
After a simple reboot?
I'm not convinced that you aren't
'introducing' this 'garbage' yourself.
But YMMV. I'm not a dreadfully heavy
user of phpmyadmin myself but perhaps
it might be prudent to change passwords
and avoid unnecessary use of the root user.
holck:
One explanation of the garbage might be some corruption in the e-smith files used for expanding templates. You can easily check this:
--- Code: ---rpm -V e-smith-lib
--- End code ---
This will display any changes in the files from the rpm-package.
holck:
Another explanation might be a hidden file in one of the template directories. The standard behavior of the 'ls' command is to hide files, if their names have an initial dot, "."
So you should use 'ls -a' to look for all files in the template directories.
Jesper / Denmark
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version