SMF Version: SMF 1.1 RC2
I have downloaded SMF 1.1 RC2 and tried to make instalation on my home PC just for testing purposes. I have installed php 5.0.5 and mysql 5.0.13 on WinXP. And damn thing failed and rejected me after that Admin creation form with "Acces denied for user 'odbc' @ 'localhost' ..." message. I have also searched this forum for some help but there's nothing about this (well, I founded one simmilar thing but i have strict disabled in mysql so that's not a solution)
I have checked php and mysql and, as I suspected, all whas ok (few other testing boards are working without any problems on same machine). And after hour or two of searching I have finally realised that Admin creation form has a following action:
http://127.0.0.1/server/smf?step=1?step=2
In Install.php, on line 764 that code looks like this
<form action="' . $_SERVER['PHP_SELF'] . '?step=2" method="post" onsubmit=...
So I have changed that $_SERVER['PHP_SELF'] into
substr($_SERVER['PHP_SELF'],0,-7)
to get rid of that "?step=1" part from action field, and installation whas succesfuly completed after that.
So, I thougth if anyone has stepped on this problem, this could be one of solutions. Hope that this will help to some of you.
Btw, is it normat that $_SERVER['PHP_SELF'] returns arguments included or that's just my problem?
I've never seen this before, so I'm assuming it's your setup. $_SERVER['PHP_SELF'] should return the current script name (ie install.php) and not the query string arguments.