I thought it might be useful to document the experience (and hopefully at some point the solution) of installing Omnium on a commercial webhost. It would broaden the usage quite a bit if it was relatively easy to do, but of course one has far less access to the innards and set-up of the server. I do, however, have shell access to my Dreamhost account.
So, far, just trying to install in a clean directory:
- Installer couldn't connect to the MySQL socket. Not sure why this is and I haven't investigated much further, but see the next point about this. BTW, here's the error code:
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/.jason/polainep/polaine.com/omnium/installer/install.php on line 107Warning: Cannot modify header information - headers already sent by (output started at /home/.jason/polainep/polaine.com/omnium/installer/install.php:107) in /home/.jason/polainep/polaine.com/omnium/installer/install.php on line 476
- On the installer page you have a field for the database name. Here it's not clear if this is the hostname, just the database name or both (i.e., apolaine.polaine.com or omnium or both). You used to be able to put in the hostname in the cofig file in custom, but this appears to not be the case anymore. Most people if they have a web panel (or even just PHPMyAdmin) will know their hostname and it's not always localhost on commercial hosted servers. I reckon this could be clearer in terms of exactly what you want people to enter into those fields and/or you should be able to put in the hostname (as I think that's why I'm not connecting to the mySQL server isn't it?).
- So, I went for a manual install instead. But there's a step missing from the installation instructions (I think) which is what to CHMOD the codebase to. I have it on 755 at present, but even so I'm not hooking into the classes for some reason. Getting this error:
Fatal error: Cannot instantiate non-existent class: om_omnium in /home/.jason/polainep/polaine.com/omnium/codebase/includes/global.inc.php on line 77
The install is at: http://www.polaine.com/omnium/cleint/ if you want to take a look, but it's not going to get you very far.
Any thoughts about this?
It's not particularly urgent for me to sort out, but I thought I'd give it a go. Once this is going the next stage is to tackle things like setting the php.ini and mySQL filesize settings. No idea how I can do that and override the default Dreamhost ones....
not resolved