My partner already installed drupal (lets say the site is "xamppdrupal") with all needed modules in XAMPP in his computer. When I moved the site (i put the "xamppdrupal" folder in htdocs and import the database in my phpMyAdmin) to my own environtment in my computer, it says :
The mysqli error was: Unable to use the MySQLi database because the MySQLi extension for PHP is not installed. Check your php.ini to see how you can enable it..
So I go to the folder xamppdrupal\sites\default and change the line in settings.php:
$db_url = 'mysqli://root:adi@localhost/kms';
to
$db_url = 'mysql://root:adi@localhost/kms';
Then it showed login page, the problem is when after i logged in it says:
The requested URL /drupal-6.12/news_and_announcements was not found on this server.
I've tried to enable the mysqli ext in php.ini and used the first $db_url = 'mysqli............'. But it also didnt work.
I've tried install drupal 6.12 (lets say the site is "mydrupal") in my environment and it's working fine.
Anyone can help me? I'll appreciate it very much.
Thanks.
Comments
=-=
you do NOT add $db_url to php.ini
you check php.ini to see if the php module is commented out, if it is you uncomment it out, save it, restart apache and check the site.
yup, i DID NOT add $db_url
yup, i DID NOT add $db_url to php.ini, should I?
I just edit it in the settings.php in the folder site. I tried both mysqli and mysql and it didnt worked out.
And yup again, i've enabled the module, with uncommenting this line:
extension=php_mysql.dll
extension=php_mysqli.dll
and...
the problem still exist.
Btw, thanks very much for the flash reply :D
=-=
you had my confused with the above sentence. it reads like you added the $db_url to php.ini. If you haven't good.
you may want to clear all cache tables in the database as well as the sessions table.
base url
Hi,
In settings.php, there is a line, usually commented, beginning with $base_url
Set this variable with your base url of the site like http://mysite.com/xamppdrupal
hi all, thanks for the
hi all, thanks for the reply.
Ive already change baseurl with my site path, but its no good. ^_^'