Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Failing to add new user

10 years 9 months ago
Licenses:
JomSocial Expired

Hi,

I tried registering as a new user on my site and got the following error:

Fatal error: Call to a member function get() on a non-object in /usr/www/users/xxxxx/xxxxxxxx/components/com_community/controllers/register.php on line 700

NB: I HAVE ADDED MY FTP CREDENTIALS AS REQUESTED

10 years 9 months ago
Licenses:

Hi, Dennis.

I just registered on your site without any issues: prntscr.com/49p3i9
Also successfully activated account and logged in to your system.

What exact steps need I take to replicate this issue?
Please check my newly created account and try to register again with the same settings/values in fields.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 9 months ago
Licenses:
JomSocial Expired

Hi Michal,

I still can't create an account, please use the following values and see if you can register from the front end - I still get the same error :-(

Name 'Wawa'
Username 'Wawa D'
E mail 'This email address is being protected from spambots. You need JavaScript enabled to view it.'
Password 'Hello2000'
Gender 'Male'
Birthdate '23 Dec 1974'
About Me 'Me'
City 'Tshwane'
Country 'South Africa'

Screenshot attached.

Attachment ScreenShot2014-08-05at19.00.52.png not found



Fatal error: Call to a member function get() on a non-object in /usr/www/users/xxxx/xxxx/components/com_community/controllers/register.php on line 700

Attachments:
10 years 9 months ago
Licenses:

Hi, Dennis.

I was able to replicate your issue with data you suggested.
Please, edit your first post and add FTP credentials to corresponding fields.
I assign developer to this thread.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 9 months ago
Licenses:
JomSocial Expired

Hi Michal,

I have added the FTP credentials as requested.

10 years 9 months ago
Licenses:

Hi Dennis,

sorry I need the phpmyadmin/cpanel access detail. could you provide me that detail?
this issue related with users table. in some reason Joomla failed to store the new user data.

Regards,
Albert

10 years 9 months ago
Licenses:
JomSocial Expired

Hi Albertus,

I have added my C Panel credentials in your htaccess login coloums

10 years 9 months ago
Licenses:

Hi Dennis,

what is the URL for your cpanel?

Regards,
Albert

10 years 8 months ago
Licenses:
JomSocial Expired
10 years 8 months ago
Licenses:
JomSocial Expired

Hi Albertus,

I have added the c Panel info under Miscellaneous

10 years 8 months ago
Licenses:

Hi Dennis,

I can't find phpmyadmin/DB manager at you hosting cpanel. where I can find it?

Regards,
Albert

10 years 8 months ago
Licenses:
JomSocial Expired

Hi Albert,

Please check instruction in the miscellaneous column.

10 years 8 months ago
Licenses:

Hi Dennis,

I added extra validation. Because I got this warning message:
Please enter a valid username. No spaces, at least 2 characters and must not contain the following characters: < > \ " ' % ; ( ) &

/components/com_community/controllers/register.php line 1037

From
if (!empty($username)) {
    if (!CValidateHelper::username($username)) {
        $isInvalid = true;
        $msg = JText::_('COM_COMMUNITY_IMPROPER_USERNAME');
    }
}

To
if (!empty($username)) {
    if (!CValidateHelper::username($username)) {
        $isInvalid = true;
        $msg = JText::_('COM_COMMUNITY_IMPROPER_USERNAME');
    }

    if (preg_match('[\s]', $username) || preg_match('#[<>"\'%;()&\\\\]|\\.\\./#', $username) || strlen(utf8_decode($username)) < 2 || trim($username) != $username) {
        $isInvalid = true;
        $msg = 'Please enter a valid username. No spaces, at least 2 characters and must <strong>not</strong> contain the following characters: < > \" \' &#37; ; ( ) &';
    }
}

Regards,
Albert

The following user(s) said Thank You: Dennis
10 years 8 months ago
Licenses:
JomSocial Expired

Thanks Albert

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW