News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Registration Errors - 1.1.3 Bridge

Started by paki, April 12, 2006, 05:55:25 PM

Previous topic - Next topic

paki

I'm sorry if this has been posted before.. but the search was disabled and I couldn't find anything for it. I get the following errors whenever someone registers for an account on my site. Any idea what could be wrong with it?

I'm using: Joomla 1.0.8, SMF 1.1RC2, and the bridge from Orstio (1.1.3).

2: mysql_fetch_row(): supplied argument is not a valid MySQL result resource
File: /xxx/components/com_smf/smf.php
Line: 941

2: mysql_fetch_row(): supplied argument is not a valid MySQL result resource
File: /xxx/components/com_smf/smf.php
Line: 929
   
8: Undefined index: memberName
File: /xxx/components/com_smf/smf.php
Line: 927

8: Undefined index: emailAddress
File: /xxx/components/com_smf/smf.php
Line: 922

8: Undefined index: memberName
File: /xxx/components/com_smf/smf.php
Line: 922
   
8: Undefined index: memberName
File: /xxx/components/com_smf/smf.php
Line: 917
http://www.dfwhyundais.com <-- Dallas/Ft. Worth's Local Hyundai Group

Orstio

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

paki

#2
yes, it does. joomla & smf are installed on the same database

Just FYI - it left the same errors when you registered on the site. I have them in a word document if you want me to send them to you for some reason.
http://www.dfwhyundais.com <-- Dallas/Ft. Worth's Local Hyundai Group

Orstio

Try an experiment?

In the integrate_register function in smf.php, can you change every $Options to $r_Options ?

paki

http://www.dfwhyundais.com <-- Dallas/Ft. Worth's Local Hyundai Group

paki

i had a chance to test it out as well.. a new user registered. it did not fix anything, and added the following error as well:

8: Undefined variable: Options
File: /xxx/components/com_smf/smf.php
Line: 917

If it comes down to it, I can use bridged registration and not worry about it.. but I would prefer the SMF one since its easier to customize. If you'd like, I can download ICQ so we can work it out in real time -- just let me know. I really appreciate it, Orstio :)
http://www.dfwhyundais.com <-- Dallas/Ft. Worth's Local Hyundai Group

Orstio

Quote8: Undefined variable: Options
File: /xxx/components/com_smf/smf.php
Line: 917

How are you getting that if you have changed every $Options to $r_Options?

paki

Quote from: Orstio on April 13, 2006, 12:08:31 AM
Quote8: Undefined variable: Options
File: /xxx/components/com_smf/smf.php
Line: 917

How are you getting that if you have changed every $Options to $r_Options?

I looked over it again.. and I had missed one :(. Sorry about that :P I'll register a new user right now to see if the error occurs again
http://www.dfwhyundais.com <-- Dallas/Ft. Worth's Local Hyundai Group

paki

okay, I just registered another user and I still get the same errors (except for the Options one)
http://www.dfwhyundais.com <-- Dallas/Ft. Worth's Local Hyundai Group

john109

Hi I'm getting a similar error to paki.

http://www.simplemachines.org/community/index.php?topic=81676.msg543569#msg543569

I don't know if they are related but if it helps figure out the problem for both of us I'll describe my situation.  I was trying to get the mod Custom Profile working.  I have Joomla 1.0.8 + SMF 1.1RC2 with bridge 1.1.3 .  With it set to use bridge registration the custom fields were not appearing.  If I set it to use SMF registration then the custom fields appeared on the registration form.  When someone registered though I got this error.

Quote8: Undefined index: memberName
File: /home/xxx/public_html/joomla/components/com_smf/smf.php
Line: 917

This is line 917
Quote$Options['realName'] = $Options['memberName'];

which is part of this
Quote//What if the realName field isn't being used?
   if (!isset($Options['realName']) || $Options['realName']=='')
      $Options['realName'] = $Options['memberName'];

The maker of the Custom Profile mod just released a 2.11 version but it didn't change anything for me.

paki

#10
The custom profile mod is just for SMF.. if you want it on bridge registration as well you have to edit the file for that. I think its called smf_registration.html.php, and it would be located in the components/com_smf_registration folder in your Joomla directory

Orstio, in which file is integrate_register called? I get the feeling that the arrays aren't matching up correctly. The field "passwrd1" is passing through correctly, but the other two aren't. Discrepency in field names, maybe?
http://www.dfwhyundais.com <-- Dallas/Ft. Worth's Local Hyundai Group

Posie

#11
Quote from: Orstio on April 12, 2006, 08:58:33 PM
Try an experiment?

In the integrate_register function in smf.php, can you change every $Options to $r_Options ?

I have a similar issue to the original poster.  When anyone tries to register they get a page with the Undefined index: memberName, Line: 917 Database Error.  As with the original poster I am using Joomla 1.08, SMF 1.1 RC2 and Bridge 1.1.3.

8: Undefined index: memberName
File: /xxx/public_html/components/com_smf/smf.php
Line: 917Database Error: Table xxx.smf_sessions' doesn't exist
File: /xxx/public_html/smf/Sources/Load.php
Line: 1902
Warning: Unknown: A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0

Warning: Unknown: A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0

paki

http://www.dfwhyundais.com <-- Dallas/Ft. Worth's Local Hyundai Group

Orstio

In smf.php, can you change every $Options to $Options['register_vars'],

except for this line:

function integrate_register($Options, $theme_vars)

(I'll release this soon.  This is the last of the unique bug reports since 1.1.3.)

paki

Quote from: Orstio on April 14, 2006, 07:40:04 PM
In smf.php, can you change every $Options to $Options['register_vars'],

except for this line:

function integrate_register($Options, $theme_vars)

(I'll release this soon.  This is the last of the unique bug reports since 1.1.3.)

Orstio, that did it :) Just registered a new user, and not one error has shown up (so far). Thanks man
http://www.dfwhyundais.com <-- Dallas/Ft. Worth's Local Hyundai Group

Posie

I did the same and have had 2 successful registrations.  Thanks very much :D

Hamsterpants

#16
Hi There,

I had this problem aswell. I applied the changes and I am not getting that error anymore, although registration does not seem to be working. I am however getting the following error at the bottom of the page:

Database Error: Table 'amabutho_joomla.smf_sessions' doesn't exist
File: /home/amabutho/public_html/forum/Sources/Load.php
Line: 1886
Warning: Unknown: A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0

Warning: Unknown: A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0

Any help with this would be appreciated.

Thanks in advance
Dill

ok sorry for that, just read the reame again and noticed this at the bottom:

With some Joomla templates, you may end up with this error appearing at the bottom of the page:

Database Error: Table 'db_joomla.smf_sessions' doesn't exist
File: /home/user/public_html/joomla/forum/Sources/Load.php
Line: 1886
Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0

If that happens, please add this to the bottom of your Joomla template:
<?php mysql_select_db($GLOBALS['db_name']); ?>

sorry again, will give that a try first

pixelchutes

Quote from: paki on April 14, 2006, 07:48:10 PM
Quote from: Orstio on April 14, 2006, 07:40:04 PM
In smf.php, can you change every $Options to $Options['register_vars'],

except for this line:

function integrate_register($Options, $theme_vars)

(I'll release this soon.  This is the last of the unique bug reports since 1.1.3.)

Orstio, that did it :) Just registered a new user, and not one error has shown up (so far). Thanks man


Experiencing the SAME problem...blank page after registration!



My smf.php is quite small? ..only reference to $options is below:

Using Joomla 1.0.7, SMF 1.1RC2, CB 1.0RC2, Bridge 1.1 RC2 patch1-3


global $options;

$req_action = (isset($_REQUEST['action']) ? $_REQUEST['action'] : '');

if ((!empty($options['display_quick_reply']) && strcmp($req_action,"quotefast") == 0)


Orstio, please help!
www.pixelchutes.com [nofollow] - Where every pixel matters

Kindred

what bridge is this: Bridge 1.1 RC2 patch1-3 ?

there is no bridge labeled bridge 1.1rc2patch1-3

have you tried v1.1.4 of the bridge?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

pixelchutes

#19
sorry, I assume my bridge is 1.1.3 (version listed above is via "Installed Components")

In 1.1.4 forum, it states not to use 1.1.4 if you already have 1.1.3... I should note that I also have Community Builder 1.0RC2 installed, and use CB's registration process in conjunction with SMF 1.1 + bridge.

NOTE: Wow, I apologize. I didn't realize that the bridge I am using is not from SMF...it's from a third party site (joomlahacks)

I wonder if the SMF version works with Community Builder 1.0 RC2?
www.pixelchutes.com [nofollow] - Where every pixel matters

Advertisement: