Wiccle.com in Facebook Wiccle.com in Twitter Wiccle.com in LinkedIn Wiccle.com in Youtube RSS from Wiccle.com Wiccle.com in Atom
 
 
 

Thread: mail.php lost ...

Started: August 8, 2009, 09:35 PM  ⋅  Zone: Public Forums  ⋅  Category: Install & Modification  ⋅  Posts: 5  ⋅  Views 622
Started by: Gest3r  ⋅  Description: about mail.php error
Post #1
Member: Gest3r  ⋅  Date: August 8, 2009, 09:35 PM  ⋅ Subject: "mail.php lost ..."

Well i have downloaded the 1.10 wiccle source and putted it on host ...After registerting ( with no e mail accepting, i putted it "none" in admin panel)  it shows


Warning: require_once(Mail.php) [function.require-once]: failed to open stream: No such file or directory in/home/a7188699/public_html/pop/core/class_mailer.php on line 38

Fatal error: require_once() [function.require]: Failed opening required 'Mail.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in/home/a7188699/public_html/pop/core/class_mailer.php on line 38

 

Sorry for my bad english .. But where can i get the mail.php file?? and how can i fix this?

Post #2
Member: Technoman  ⋅  Date: August 8, 2009, 09:44 PM  ⋅ Subject: "(No title)"

the home is not there?

I am getting errors like that something to do with homes directory

Post #3
Member: Markus  ⋅  Date: August 8, 2009, 10:23 PM  ⋅ Subject: "(No title)"

Right, I meant to include a note on the need to install PECL mail for SMTP support in the event that it doesn't come in preinstalled (as it usually does).

If you have SSH access, you can do it as follows:

%>pear install -o Mail
%>pear install -o Net_SMTP

This will install the required mail.php file and others under the global PHP extensions include path. PECL mail extension usually comes in preconfigured, or at least it should.

Post #4
Member: Gest3r  ⋅  Date: August 9, 2009, 01:16 PM  ⋅ Subject: "delete mail"

Can someone tell me how can i fully remove the e mail option?? From registration and from profile ... The admins of my hosting are not going help me with the errors , so i want just remove it ...

Post #5
Member: Markus  ⋅  Date: August 9, 2009, 02:48 PM  ⋅ Subject: "(No title)"

Just change from SMTP mail to PHP mail under System > Mail in your Admin CP. (PHP mail should have been selected by default.) The Mail.php and PECL mail extension is only required when SMTP mail is selected.


If you wish to have mail confirmation turned off from registration, go to Users > Registration and se Require Validation to Admin or None. This would still send confirmation mails, though --- and users will want to have the password recovery email available when they forget their passwords.


If you can't get your way around it, crack open the file core/class_mailer.php and at the very beginning, find this line (#27):

function send_email($recipient, $subject, $body)
{

Right after it, add this:

return TRUE;

This will return a "false positive" before anything is done or required. Your users will still see a note about mails having been sent in the messages they get.


That's a quick hack to fix it for you. We don't currently support configurations where no mailing system at all is available --- though it's something we can of course add in an upcoming version, if there's demand.

 

Install & Modification

Add to Favorites
Public Forums
Category  ⋅  Deploying iWiccle and Wiccle into unique solutions that match your needs.
 

Public Forums

Add to Favorites
Public Forums
Zone  ⋅ Public forum sections for support and discussions. Available for everyone.
 

Zone Categories

 
Questions? Ask us!
Back to Top