Home arrow Forum Latest posts of: Allison
  Welcome, Guest. Please login or register.
Did you miss your activation email?
January 09, 2009, 12:39:37 AM
Home New Posts Search Calendar


Login with username, password and session length
  Show Posts
Pages: [1]
1  Joomla Hacks / Joomla-SMF 2.0.x / Re: Community Builder/SMF - Log out of Joomla takes me to the forum. How to change? on: December 01, 2006, 07:51:01 AM
Thanks Mike! I have been scratching my head over this for a couple of days now. Looking in the wrong place.
2  Joomla Hacks / Joomla-SMF 2.0.x / Community Builder/SMF - Log out of Joomla takes me to the forum. How to change? on: November 28, 2006, 05:39:16 PM
Hi All,
I have CB/SMF bridge. Works great. With initial install, I chose for users to go the SMF forum at logout. Now, I wish to change so it goes to the actual website - not the forum - but can't remember where I this setting is..

Can anyone help?

For example, if a user logs in using the CB login module, and there are at www.domain.com, when they logout of the CB login module, they are redirected to www.domain.com/forum - which is where SMF is installed.

This is an option somewhere in the CB or SMF settings, just can't find where.

Your help is greatly appreciated.
3  Joomla Hacks / Joomla-SMF 2.0.x / Re: Fatal error: Call to a member function on a non-object smf.class.php on line 490 on: November 15, 2006, 10:15:21 AM
Working locally at this point.
4  Joomla Hacks / Joomla-SMF 2.0.x / Re: Fatal error: Call to a member function on a non-object smf.class.php on line 490 on: November 15, 2006, 09:09:17 AM
I will change the password back. Please let me know whe you get a chance to fix this. It is so close to working...

Can't wait to introduce this on our site but afraid to do so if folks get errors when using their accounts.

Look forward to hearing from you - thanks.
5  Joomla Hacks / Joomla-SMF 2.0.x / Re: Fatal error: Call to a member function on a non-object smf.class.php on line 490 on: November 14, 2006, 11:30:33 PM
All tables for Joomla and SMF are latin1_swedish_ci
6  Joomla Hacks / Joomla-SMF 2.0.x / Re: Fatal error: Call to a member function on a non-object smf.class.php on line 490 on: November 14, 2006, 11:29:25 PM
I reset my admin password in Joomla. I followed the exact same procedure as described above. Logged into Joomla using the mod_cblogin with new password. Same error. Wrong password, but I WAS ACTUALLY logged in.

I then proceeded to the SMF forum, tried logging in with the admin user and new password just I did with mod_cblogin. (Keep in mind, I am still logged into cblogin). I received the error in SMF Password Incorrect. Tried my old password (before I changed my Joomla admin password) and I logged into SMF successfully.

I logged out of SMF and it also logged me out of Joomla-cblogin.

Which tells me that the passwords are the same when logging in, but somehow working together when logging out!

To answer your specific questions:

I will do some research in regard to different collations of the tables. I do know that UTF-8 was an option that I DID NOT select.

I do not have alot of users. It is strictly test at this point. Have any thoughts on something we can try since we are in a test not ye live?

If I havent said so before, thank you for your help. I have been scratching my head over this a solid 24 hours.
7  Joomla Hacks / Joomla-SMF 2.0.x / Re: Fatal error: Call to a member function on a non-object smf.class.php on line 490 on: November 14, 2006, 07:04:25 PM
The big problem solved! Thank you Wolverine. For those of you that read as carelessly as I do, page 8 of the brilliant Joomlahacks JSMF user guide, states that the absolute path can be found in the SMF directory under Server Settings. So, log into SMF forum admin area, and look under Server Settings. Copy and paste into the Joomla-SMF Forum Installation in Joomla. 


When I use the mod_cblogin, I log in using my admin user and password. I receive a message Incorrect Username or password. (Of course, the user and password are correct). Please try again. I press OK. I then see the community builder info, my avatar etc. I can edit my info, etc. I am logged in! Even though I receive the message that I have entered the incorrect user password.

I then proceed to logout by clicking the Logout button using mod_cblogin. I receive the message
Fatal error: Call to a member function on a non-object in c:\documents and settings\hp_administrator\my documents\www\yaddayadda\components\com_smf\smf.class.php on line 490
I can never log out.

I then go to the smf forum. I am not logged in. I log in with the same user and password that I tried above in mod_cblogin. I login without any problems.
I logout of the smf forum. At this point, I am logged out of the mod_cblogin as well.


In admin, I have the following settings (please see screenshots).
8  Joomla Hacks / Joomla-SMF 2.0.x / Re: Fatal error: Call to a member function on a non-object smf.class.php on line 490 on: November 14, 2006, 12:53:49 PM
Wolverine,
Thank you for the speedy response. Yes, I am using CB Login.

I enabled dbug and this is the output on the forum link in joomla. The actual SMF installation went smoothly. I get absolultely no errors. I can log in to the SMF forum using the community builder users and passwords.

The is the result from dbug on the joomla page that should be showing the SMF forum.


Warning: Invalid argument supplied for foreach() in c:\documents and settings\hp_administrator\my documents\www\yaddayadda\components\com_smf\smf.class.php on line 990

Warning: main(/index.php): failed to open stream: No such file or directory in c:\documents and settings\hp_administrator\my documents\www\yaddayadda\components\com_smf\smf.php on line 114

Warning: main(): Failed opening '/index.php' for inclusion (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in c:\documents and settings\hp_administrator\my documents\www\yaddayadda\components\com_smf\smf.php on line 114

--------------------------------------------------------------------------------
DEBUG

--------------------------------------------------------------------------------
 
Error loading search cache
Error loading replace cache
 SMF BUFFER ARRAYS EMPTY -- REBUILDING

--------------------------------------------------------------------------------
 
Error loading headers cache
Error loading keywords cache
Error loading css cache
loading headers SEARCH: /index.php?action=register
REPLACE: http://localhost/yaddayadda/index.php?option=com_comprofiler&Itemid=83&task=registers
STATUS: Not found in buffer

--------------------------------------------------------------------------------
 
SEARCH: /index.php?action=reminder
REPLACE: http://localhost/yaddayadda/index.php?option=com_comprofiler&Itemid=83&task=lostPassword
STATUS: Not found in buffer

--------------------------------------------------------------------------------
 
SEARCH: var smf_scripturl = "";
REPLACE: var smf_scripturl = ""; var jsmf_scripturl = "http://localhost/yaddayadda/index.php?option=com_smf&Itemid=76&";
STATUS: Not found in buffer

--------------------------------------------------------------------------------
 
SEARCH: option value="?board=
REPLACE: option value="board=
STATUS: Not found in buffer

--------------------------------------------------------------------------------
 
SEARCH: smf_scripturl + this.options[this.selectedIndex].value.substr(smf_scripturl.indexOf
REPLACE: jsmf_scripturl + this.options[this.selectedIndex].value.substr(jsmf_scripturl.indexOf
STATUS: Not found in buffer

--------------------------------------------------------------------------------
 
SEARCH: '/index.php' + this.form.jumpto.options
REPLACE: jsmf_scripturl + this.form.jumpto.options
STATUS: Not found in buffer

--------------------------------------------------------------------------------
 
SEARCH: <input type="hidden" name="hash_passwrd" value="" />
REPLACE: <input type="hidden" name="hash_passwrd" value="" /><input type="hidden" name="passwd" value="" />
STATUS: Not found in buffer

--------------------------------------------------------------------------------
 
SEARCH: this.passwd.value = this.passwrd.value; hashLoginPassword(this);
REPLACE: this.passwd.value = this.passwrd.value; this.passwd.value = this.passwrd.value; hashLoginPassword(this);
STATUS: Not found in buffer

--------------------------------------------------------------------------------
 
  time index ex time % elapsed %
Start 1163525248.69872900 - 0.00% - 0.00%
Link Replace from cache Start 1163525248.72482400 0.026095 50.12% 0.026095 50.12%
Link Replace from cache End 1163525248.72486800 0.000044 0.08% 0.026139 50.21%
Link Replace Start 1163525248.72488700 0.000019 0.04% 0.026158 50.24%
Link Replace End 1163525248.72515500 0.000268 0.51% 0.026426 50.76%
Stop 1163525248.75079200 0.025637 49.24% 0.052063 100.00%
total - 0.052063 100.00% - -

Warning: Cannot modify header information - headers already sent by (output started at c:\documents and settings\hp_administrator\my documents\www\yaddayadda\components\com_smf\smf.php:117) in c:\documents and settings\hp_administrator\my documents\www\yaddayadda\index.php on line 228

Warning: Cannot modify header information - headers already sent by (output started at c:\documents and settings\hp_administrator\my documents\www\yaddayadda\components\com_smf\smf.php:117) in c:\documents and settings\hp_administrator\my documents\www\yaddayadda\index.php on line 229

Warning: Cannot modify header information - headers already sent by (output started at c:\documents and settings\hp_administrator\my documents\www\yaddayadda\components\com_smf\smf.php:117) in c:\documents and settings\hp_administrator\my documents\www\yaddayadda\index.php on line 230

Warning: Cannot modify header information - headers already sent by (output started at c:\documents and settings\hp_administrator\my documents\www\yaddayadda\components\com_smf\smf.php:117) in c:\documents and settings\hp_administrator\my documents\www\yaddayadda\index.php on line 231

Warning: Cannot modify header information - headers already sent by (output started at c:\documents and settings\hp_administrator\my documents\www\yaddayadda\components\com_smf\smf.php:117) in c:\documents and settings\hp_administrator\my documents\www\yaddayadda\index.php on line 232
9  Joomla Hacks / Joomla-SMF 2.0.x / Fatal error: Call to a member function on a non-object smf.class.php on line 490 on: November 14, 2006, 12:01:23 AM
Hi All,

I have just installed SMF. SMF is in the same database as Joomla. When viewing the actual SMF forum, it works great. No problems. Installed all the neccessary components to bridge Joomla, SMF and Community Builder as per the Joomlahacks JSMF Version 20.0 User Guide indicated I should do.

My Info:

Version Information:
Your Joomla version is: 1.0.11
Your SMF version is: 1.1 RC3
Your Joomla-SMF version: 2.0 RC2
Latest Joomla-SMF version: 2.0RC2


I am able to log into the SMF forum and my Joomla website using my Community Builder user and password. Works fine. I am able to log out of the SMF forum without problems. HOWEVER, when I log out of the Joomla site, I get the following error on the logout page of my local installation http://localhost/yaddayadda/index.php?option=com_comprofiler&task=logout:


Fatal error: Call to a member function on a non-object in c:\documents and settings\yaddayadda\www\yaddayadda\components\com_smf\smf.class.php on line 490

If I refresh, it appears that I am still logged in. It refuses to let me log out because of the error message above.

I was doing so well. Where did I go wrong?!


Problem #2 - I created a link to component Joomla SMF-Forum. It shows up blank. No errors. Just blank. The actual SMF forum seperate from Joomla works fine.

I could really use the advice of some Joomla experts here!
Pages: [1]


Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login