Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Joomla Bridge Support => Topic started by: KalkanPrince on June 05, 2007, 02:32:00 PM

Title: SMF & Joomla Bridge
Post by: KalkanPrince on June 05, 2007, 02:32:00 PM
Hi Everyone,

Wondering if someone can help, I have SMF and Joomla installed into 2 seperate mysql databases. I have just installed the SMF Joomla Bridge and once i log in I get the following error on the joomla front page.....


Notice: Undefined variable: modSettings in /home/nas04l/e/enjoykalkan.com/user/htdocs/forum/Themes/default/languages/index.english.php on line 104

Notice: Undefined variable: modSettings in /home/nas04l/e/enjoykalkan.com/user/htdocs/forum/Themes/default/languages/index.english.php on line 230

Notice: Undefined variable: modSettings in /home/nas04l/e/enjoykalkan.com/user/htdocs/forum/Themes/default/languages/index.english.php on line 231

Notice: Undefined variable: modSettings in /home/nas04l/e/enjoykalkan.com/user/htdocs/forum/Themes/default/languages/index.english.php on line 325




I have checked the SMF Error log and there is nothing in there. I have spoken to my host who couldnt help other than say that they have GlobalRegisters (i think that was the term) turned off on all their PHP servers.

Hope you can help

Jon :)
Title: Re: SMF & Joomla Bridge
Post by: SlammedDime on June 05, 2007, 04:38:53 PM
In index.english.php, add global $modSettings; at the top of the file below the other 'global' line thats already there.
Title: Re: SMF & Joomla Bridge
Post by: KalkanPrince on June 05, 2007, 05:03:24 PM
Thank you so much - dont know what I would do without this forum  :)
Title: Re: SMF & Joomla Bridge
Post by: KalkanPrince on June 05, 2007, 05:29:47 PM
Hi,

Sorry another problem, in Joomla Admin, in Components, SMF Bridge, Configuration, under the groups tab I get the error message

Warning: Invalid argument supplied for foreach() in /home/nas04l/e/enjoykalkan.com/user/htdocs/administrator/components/com_smf/admin.smf.php on line 328

Select which Groups in Mambo correspond to those in SMF SMF Group Mambo Group


Any ideas?

Jon
Title: Re: SMF & Joomla Bridge
Post by: Orstio on June 05, 2007, 05:33:23 PM
Does your Joomla database user have access to your SMF database?  Does your SMF database user have access to your Joomla database?
Title: Re: SMF & Joomla Bridge
Post by: KalkanPrince on June 05, 2007, 05:54:19 PM
Ah probably not - I have them on seperate databases and it turns out my host has its own cPanel - I just phoned them asking how to do as it says in the instructions and they just said use phpmyadmin (i think that was the name)

Bit stuck now :(
Title: Re: SMF & Joomla Bridge
Post by: Orstio on June 05, 2007, 06:15:12 PM
You can't assign database permissions with PhpMyAdmin.

You either need to do it in the site control panel, or through SSH, if you have access to that.

If not, you'll need to install both SMF and Joomla in the same database.
Title: Re: SMF & Joomla Bridge
Post by: KalkanPrince on June 06, 2007, 05:00:40 AM
Hi,

Sorry for sounding thick here, but I have spoken to my host who say I cant do it via the control panel however, and i quote... "Using a secure shell program, such as PuTTY, you can access your domain's home directory and carry out advanced maintenance, such as changing permissions, should it be necessary"

Could anyone guide me what to do next please?

Thanks

Jon


Just installed putty and logged into my site and get......... [domain1319350@ssh ~]$
and thats it  ::)
Title: Re: SMF & Joomla Bridge
Post by: Goosemoose on June 06, 2007, 12:39:15 PM
Hi Jon,
Download SecureCRT from http://www.vandyke.com/products/securecrt/ , it's one of the best ssh programs out there.

Log into your server by clicking connect, entering the domain name, the username and password. Usually you will have the username of root and a password. If you don't know this you will need to contact your host and find out the login info for ssh access. Your ftp login info might work as well.

Once you're in type mysql and hit enter. This will take you to the mysql prompt.
Now for both databases you will run a command similar to this, with your info in it:

GRANT ALL PRIVILEGES ON [database].* TO [username]@localhost IDENTIFIED BY '[password]';

Make sure to replace database, username and password with your info. You won't use the [] those are just there for readability.
Title: Re: SMF & Joomla Bridge
Post by: ineedit on June 16, 2007, 06:05:44 PM
hi

itayit this buit whene i type mysql
he give me error :
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/kunden/tmp/mysqld.sock' (2)

whats the probleme whay he dont work

thanks
Title: Re: SMF & Joomla Bridge
Post by: exrace on June 17, 2007, 12:19:26 AM
Quote from: Goosemoose on June 06, 2007, 12:39:15 PM
Hi Jon,
Download SecureCRT from http://www.vandyke.com/products/securecrt/ , it's one of the best ssh programs out there.
Or get WinSCP - it is free.
http://winscp.net/eng/index.php

I have been using it for years.
Title: Re: SMF & Joomla Bridge
Post by: mjltigger on April 26, 2008, 04:37:19 PM
Quote from: Goosemoose on June 06, 2007, 12:39:15 PM
Hi Jon,
Download SecureCRT from http://www.vandyke.com/products/securecrt/ , it's one of the best ssh programs out there.

Log into your server by clicking connect, entering the domain name, the username and password. Usually you will have the username of root and a password. If you don't know this you will need to contact your host and find out the login info for ssh access. Your ftp login info might work as well.

Once you're in type mysql and hit enter. This will take you to the mysql prompt.
Now for both databases you will run a command similar to this, with your info in it:

GRANT ALL PRIVILEGES ON [database].* TO [username]@localhost IDENTIFIED BY '[password]';

Make sure to replace database, username and password with your info. You won't use the [] those are just there for readability.

this hasn't got me any further - when i enter the script I get access deniedfor user ''@'%'to database ******