Path of the Joomla installation not adapted for the model proposed

Mathieu - September 26, 2009 - 20:55
Project:Joomla to Drupal
Version:6.x-1.0-alpha3
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,
The Joomla to Drupal module sends an error message about the database settings. To me, everything seems OK (db name, pass, url, etc) except maybe for the "Path of your Joomla installation".
None of the path examples proposed in the description match the path of my Joomla installation, i.e. the site runs on an Apache mutualized host, but the path doesn't look like /home/YOUR_USERNAME/public_html/joomla. I pasted the path from the configuration.php joomla file to the drupal form. Still get the same message (plus a zillion of "mysql server gone away" messages).
Any hints about the path?

#1

malclocke - September 27, 2009 - 21:54

Hi Mathieu,

Can you give a little more detail, in particular:

  • Are the Joomla and Drupal site on the same host?
  • What version of Joomla are you using?

The path to the Joomla installation is only used when copying mosimage files, and so is not strictly necessary for the content import. Your problem looks like it is to do with the database settings.

Here is how the configuration variables from Joomla (1.0) map to the admin/settings/joomla page:

Joomla database host name -> $mosConfig_host
Joomla database name -> $mosConfig_db
Joomla database user -> $mosConfig_user
Joomla database password -> $mosConfig_password
Table prefix of Joomla -> $mosConfig_dbprefix

#2

Mathieu - September 28, 2009 - 18:49

Thanks for the reply, Malclocke.

Joomla and Drupal are on different mutualized hosts.
The Joomla is an authentic antiquity: 1.0.8.

I double checked all the infos from the configuration.php file in the Joomla site, as you pointed.
Still, it gives me the error messages about the wrong settings.

Could the problem be a MySql privilege problem? Or could it be the DB engine? If either's the case, I'm not very sure how to handle it. Do you know a solution?

Would copying/importing the Joomla site on my Drupal host would solve the problem?

Thanks for you insight / tips.

Mat

#3

malclocke - October 1, 2009 - 09:50

Mathieu,

Yes, if the two databases are on different hosts, that may be the problem. It may be that MySQL on the Joomla host is configured to only allow connections from localhost. You could either grant access from the Drupal host ...

mysql> GRANT ALL ON database.* TO username@'%' IDENTIFIED BY 'mysecretpassword';

See http://dev.mysql.com/doc/refman/5.1/en/grant.html

... or copy the database to the Drupal host and try that.

 
 

Drupal is a registered trademark of Dries Buytaert.