News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

SMF & Joomla Bridge

Started by KalkanPrince, June 05, 2007, 02:32:00 PM

Previous topic - Next topic

KalkanPrince

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 :)

SlammedDime

In index.english.php, add global $modSettings; at the top of the file below the other 'global' line thats already there.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

KalkanPrince

Thank you so much - dont know what I would do without this forum  :)

KalkanPrince

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

Orstio

Does your Joomla database user have access to your SMF database?  Does your SMF database user have access to your Joomla database?

KalkanPrince

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 :(

Orstio

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.

KalkanPrince

#7
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  ::)

Goosemoose

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.

ineedit

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

exrace

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.

mjltigger

#11
Quote from: Goosemoose on June 06, 2007, 12:39:15 PM
Hi Jon,
Download SecureCRT from http://www.vandyke.com/products/securecrt/ [nofollow] , 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 ******

Advertisement: