Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.
In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.
|Zymic Webmaster ForumsZymic Free Web HostingZymic Free Web Hosting - General Discussion & Help|
Jan 10 2009, 03:47 PM
Joined: 8-December 08
From: Texas, USA
Member No.: 72,139
As we all know the free sites mail function is disabled and this creates problems for
your Joomla Installation. When a new user creates an account, Joomla tries to send him/her
an email. Simply turning off the New User Account Activation at Global Configuration/System
will not solve the issue.
Joomla still tries to send a welcome email to their account and there is no way to turn this off.
I have finally found the fix, but it requires editing the core code...
It's not hard just make sure that you backup a copy of the file that you are changing.
Lets get started...
1)ftp into your account
2)navigate to \components\com_user\controller.php
3)download controller.php to somewhere on your computer
4)make a copy of controller.php and save it somewhere safe
5)open controller.php with a text editor
See attached capture image below if you need visuals
6)on line 519 or there abouts look for
JUtility::sendMail($mailfrom, $fromname, $email, $subject, $message);
Change it to this:
//JUtility::sendMail($mailfrom, $fromname, $email, $subject, $message);
All we are doing is commenting out the mail function
7)on line 532 or there abouts look for:
JUtility::sendMail($mailfrom, $fromname, $row->email, $subject2, $message2);
Change it to this:
//JUtility::sendMail($mailfrom, $fromname, $row->email, $subject2, $message2);
Again all we are doing is commenting out the mail function
8)Save the file
9)upload(send it back) to your site with your ftp client
If it asks you to overwrite it, click "yes"
That's it, Now to put it to the test.
Open your site in your browser and logout if you are logged in.
Click Create An Account, fill in the details, click OK and if you did
everything right the error message will no longer be there...
Now you can have a more professional site!
Jfunction.jpg ( 43.21k ) Number of downloads: 207
|Lo-Fi Version||Time is now: 10th March 2014 - 05:16 AM|