Thread:Project:Support desk/cannot log into mediawiki from page outiside wiki

Hi,

basically i want to log into the wiki from another page in the same server/domain, using a username/password already created in the wikiDB. this page will be located in http://www.xxxx.org/index.html and the login will be done through urlloader in as3 that loads a login.php which uses a wikibot.php. it works on local but it does not work using http://www.xxxx.org/.

DB connection using a test.php in the domain URL http://www.xxxx.org/test.php works fine, using: $conexion=mysql_connect("localhost","wikiuser","password");

the login.php is working on a localhost testing evironment, but only using URL http://localhost/ in the url. with two scripts - login.php, and wikibot.php (included in login)

versions: Ubuntu       10.04 MediaWiki    1.15.1 PHP 	     5.3.2-1ubuntu4.9 (apache2handler) MySQL 	     5.1.41-3ubuntu12.10

---edited-- found out the version i was using on local was different 1.16.4, and i think it could be a wrong configuration of the virtualhost domain names, or the $wiki/$cookiesdomain variables in the wikibot, i think i might have to install mediawiki 1.7 and start all over again to get out of this hole ---

any ideas are welcomed, thanks