this is a funny OC v.1.5.6.x setup, at least, I have not yet seen something like it !
you have this in your SITE/config.php, but it would not belong there: (by Default!)
But in your admin/config.php, you have no
And you should change this:
better to this:
in both config.php files, to keep up with newer PHP Versions,
not longer supporting the old and slow mysql
Still, you had this weird stylesheet/JS-linking in your header.tpl, therefore, I assume,
that, 'link'-wise, something else has been done to this header.tpl, creating all those invalid links.
Better show me the top 30 Lines of your ../YOURtheme/template/common/header.tpl
File, but make sure first,
to use NO VqMod, changing anything in this header.tpl.
And next time, PLEASE always NAME your files, to make Life a little easier for those, trying to assist...