Re: bridge registration problem

Started by pinoypc, March 21, 2007, 05:25:05 AM

Previous topic - Next topic

pinoypc

hey guys i have the same problem as elnayfi.

what i did recently to my website was reinstall joomla. i dropped all joomla tables and removed all joomla folders. then i reinstalled joomla. it's in the same database as smf. smf wasn't changed. iirc i'm using joomla 1.0.x latest stable and i'm still using smf 1.1.3 i think and installed the 1.1.7 bridge.

now my problem is the same. users don't get logged into joomla. i'm using the mod_smf_login and didn't install any other bridge program. i don't know what's wrong with my joomla settings. so if you guys have other suggestions that would really help

http://www.pinoypc.net/index.php?option=com_smf&Itemid=26

Orstio

No, your problem is not the same.  Elnayfi's problem is that some users are registering in some way as that they don't appear in the Joomla user manager in the Joomla admin panel.  That really has nothing to do with logging in.  On his site, I was able to register and login normally, so I don't know why anyone else there would be having problems.

Now, for your problem --

From where did you download Joomla?

Have you made any changes to ANY Joomla files?

pinoypc

Downloaded the latest stable 1.x release from Joomla.org.

I haven't edited any of the Joomla source files. By the way, bridge registration gives me an error message "The page you are trying to access does not exist. Please select a page from the main menu.". I currently have registration set to SMF. This is the first time I've had this problem.

By the way, when I log into an account I don't seem to be getting logged into Joomla. Joomla and SMF are on the same database, though.

Orstio

In your includes folder is a file named version.php.

Can you tell me the values of the variables $DEV_LEVEL and $PRODUCT ?

pinoypc

class joomlaVersion {
/** @var string Product */
var $PRODUCT = 'Joomla!';
/** @var int Main Release Level */
var $RELEASE = '1.0';
/** @var string Development Status */
var $DEV_STATUS = 'Stable';
/** @var int Sub Release Level */
var $DEV_LEVEL = '12';
/** @var int build Number */
var $BUILD = '$Revision: 6086 $';
/** @var string Codename */
var $CODENAME = 'Sunfire';
/** @var string Date */
var $RELDATE = '25 December 2006';
/** @var string Time */
var $RELTIME = '01:00';
/** @var string Timezone */
var $RELTZ = 'UTC';
/** @var string Copyright Text */
var $COPYRIGHT = "Copyright (C) 2005 - 2006 Open Source Matters. All rights reserved.";
/** @var string URL */
var $URL = '<a href="http://www.joomla.org">Joomla!</a> is Free Software released under the GNU/GPL License.';
/** @var string Whether site is a production = 1 or demo site = 0: 1 is default */
var $SITE = 1;
/** @var string Whether site has restricted functionality mostly used for demo sites: 0 is default */
var $RESTRICT = 0;
/** @var string Whether site is still in development phase (disables checks for /installation folder) - should be set to 0 for package release: 0 is default */
var $SVN = 0;


I remember that the very first time I used your bridge back in January I think it worked flawlessly. Do you think it would be easier if I dropped the joomla tables and then start from scratch?

Orstio

#5
QuoteDo you think it would be easier if I dropped the joomla tables and then start from scratch?

Isn't that what you did before you noticed this problem?  Typically with computers, doing the same thing over and over yields the same results each time.  Computers don't learn by repetition.

Upon closer inspection, links in your bridge login module are pointing to an Itemid of "1".  This means that your SMF database user does not have access to your Joomla database.

pinoypc

Both SMF and Joomla are in the same database named pinoypc_forums and they both use the same mysql username and password to connect to it. The tables for SMF have the default prefix of smf_ and Joomla tables are defaulted to jos_. Any idea as to why SMF can't access the Joomla tables?

Orstio

Are you sure, when you reinstalled Joomla, that you set it up in the same database?  Please double-check your Joomla admin panel and your SMF admin panel for the database info.

pinoypc

#8
Yes, I'm positive. Both Joomla and SMF use the same the exact same settings for MySQL.

Hmm, I was originally thinking of redoing the Joomla reinstall because I might have messed something up during install.

Btw, will it help if I try to synch my SMF users to Joomla?

Orstio

QuoteHmm, I was originally thinking of redoing the Joomla reinstall because I might have messed something up during install.

Well, Joomla is working, is it not?  If you had messed something up during install, Joomla would not work.

QuoteBtw, will it help if I try to synch my SMF users to Joomla?

No.

I have tried to register at your site, but SMF is not sending me an activation email.  Please check your SMF mail settings to make sure they are correct.

pinoypc

Hey Orstio,

I changed registration to use Joomla's. It's working now. I still have my previous problem, though.

Advertisement: