I had a similar problem at this stage of the install. I clicked the ’test database’ link and nothing at all happened - no error message - nothing. I was installing on Centos 5, PHP5 and Apache 2. I tried every browser available. After much digging I discovered that the default install of Centos on my server did not have the PHP MySQL support needed (strange but true!). If you can login to your server then type...
yum install php-mysql
This should install the necessary support. Also, I found that ModX neede the MBString extension installed, so I typed...
sudo yum install php-mbstring
sudo /sbin/service httpd restart
... (or the equivilant for your flavour of Linux). It seems that the install script is not clever enough to check this and if you try to proceed regardless you get a javascript error. If you don’t have command line access to your server, get you provider admin to install this for you.
After this, I ran the install again and it worked for me - hope it helps.
Good thought. If that’s the problem, you might want to rename the config.inc.php file before you do your first install so you’ll get the normal vanilla install.
I guess another possibility would be a really outdated version of PHP or MySQL.
PS: Not bugged at all -- just frustrated that I can’t do a better job of helping you.
well dudes, thanks for your help, today i didn’t had time to test, but i tried to get the package php-mbstring...
but no go, my distro doesn’t gets it.
But talking about versions, i should already tell you what versions i have, so here it goes;
- Linux Mint 7 (Gloria) kernel 2.6.28
- Nginx 0.7.62 (downloaded tarball, compiled from source)
- Php 5.3.0 (downloaded tarball, compiled from source) the php runs via fastcgi from lighttpd.
- MySql 5.0.75 (installed on distro)
when i was installing php, i found out that there is something new with the php/mysql connection, i had to compile php with diferent flags, i had to use this: --with-mysqli=mysqlnd
Do you think the "mysql_connect() error" might have something to do with the version of php?
perhaps i should try download and compile an early version?
But phpMyAdmin, works fine with this configuration...(only nags about...mcrypt extension, is this necessary)
Thanks again for the support.
Pipas
There must have been something wrong with my installations. I’ve uninstalled MySQL, PHP and Apache and then installed Xampp win32-1.7.2. The I installed MODx again under Xampp and it’s tested and created the database perfectly.
I’d like to know what was missing from my previous environment though. Does anyone have any information on exactly what I need to do to get it working without using Xampp?
Thanks
I know how to fix it (I had the same problem):
Modify few lines in install/setup.info.php to end like this:
$chunkPath = $setupPath .’../assets/chunks’;
$snippetPath = $setupPath .’../assets/snippets’;
$pluginPath = $setupPath .’../assets/plugins’;
$modulePath = $setupPath .’../assets/modules’;
Please note those ..’s before the ’assets’. These are needed if you try to install ModX to a subdirectory.
I had these symptoms also - was trying to install on a windows box, through a VPN connection.
When I got to the ’test database connection’ part, there was simply no response at all.
After turning on firebug I discovered that javascript resources were not loading.
It turns out the setting my user had for the windows box would unzip files, but would skip javascript, thinking they might be malicious.
So there were absolutely no javascript files available, although the extracted folder looked correct.
I had to get the server admin to extract the zip file to keep the js files intact.
Then, everything was good!