1931
zyspec
Re: oledrion: phpmailer postSend() not returning - stuck in try loop
  • 2019/12/5 16:40

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


@Bill,

I don't know much about this module, and I just did a quick code read, but I'll ask a couple of questions that hopefully will lead you in the right direction....

* Which version of Oledrion are you using? (e.g. where did you get it?).

* In the code on Github. It looks to me like the call to the Utility::sendEmailFromTpl() method has been commented out (line 688) in the checkout routine (./checkout.php). I assume you've uncommented that code to see if it works?



1932
princeemilec
Re: Xoops notification system

OK thanks

Please how do I set up a group and link it to my website



1933
rossb
oledrion: phpmailer postSend() not returning - stuck in try loop
  • 2019/12/4 14:51

  • rossb

  • Just popping in

  • Posts: 77

  • Since: 2006/8/28


Hi;
xoops 2.5.9, sme-server 9.2

I am attempting to update oledrion e-commerce to latest Paypal API and added functionality. Been stuck on sending purchase notification emails for over a week.

All other site emails working properly: registration, contact us...
email config (all blank except):
From user: xoops
Delivery Method: PHP Mail()
Path to sendmail: /usr/sbin/sendmail

class/mail/phpmailer/class.phpmailer.php::postSend() stuck in infinite retry loop
modified (for debug info) code:
...
public function postSend()
    {
        try {
            
// Choose the mailer and send through it
            //file_put_contents(OLEDRION_GATEWAY_LOG_PATH, "postsend1, method: " . $this->Mailer . "n", FILE_APPEND | LOCK_EX);
            
file_put_contents(OLEDRION_GATEWAY_LOG_PATH"." FILE_APPEND LOCK_EX);
            switch (
$this->Mailer) {
                case 
'sendmail':
                case 
'qmail':
                    return 
$this->sendmailSend($this->MIMEHeader$this->MIMEBody);
                case 
'smtp':
                    return 
$this->smtpSend($this->MIMEHeader$this->MIMEBody);
                case 
'mail':
                    return 
$this->mailSend($this->MIMEHeader$this->MIMEBody);
                default:
                    
$sendMethod $this->Mailer.'Send';
                    if (
method_exists($this$sendMethod)) {
                        return 
$this->$sendMethod($this->MIMEHeader$this->MIMEBody);
                    }

                    return 
$this->mailSend($this->MIMEHeader$this->MIMEBody);
            }
        } catch (
phpmailerException $exc) {
            
file_put_contents(OLEDRION_GATEWAY_LOG_PATH"postsend2, error: " $exc->getMessage() . "n"FILE_APPEND LOCK_EX);
            
$this->setError($exc->getMessage());
            
$this->edebug($exc->getMessage());
            if (
$this->exceptions) {
                throw 
$exc;
            }
        }
        return 
false;
    }

```
What I am seeing:
- Many "." in logfile, one per try attempt
- No catch exception (no entry in logfile)
- My mail send function never returns
- No record of "retry" email attempts in system logs
- No errors reported

My best "guess" as to what is happening is the email contents are template generated and not to mail's liking.

example email template input:
msg: Array
(
    [
COMMANDE] => 6     SecureOffice              Donate        1          $10.00


Total 
$10.00

    
[NUM_COMMANDE] => 252
    
[NOM] => Ross
    
[PRENOM] =>
    [
ADRESSE] =>
    [
CP] => noe1l0
    
[VILLE] => Oakland
    
[PAYS] => United States
    
[TELEPHONE] =>
    [
EMAIL] => ****private
    [
URL_BILL] => https://www.ayz.org/modules/oledrion/invoice.php?id=252&pass=****private
    
[IP] => 192.168.1.27
    
[FACTURE] => Yes
    
[TRANSACTION_ID] => 72K6104879318750E
)


This is way beyond my skill set. Failed try lacking exception. Need help.

Thanks;
Bill



1934
zyspec
Re: Is it a completely free CMS?
  • 2019/12/3 16:57

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


That is correct... XOOPS is distributed under the GNU General Public License (GPL). Most of the modules (plugins), themes, etc. are also distributed for free.



1935
greenmann
Re: Is it a completely free CMS?
  • 2019/12/3 13:56

  • greenmann

  • Just popping in

  • Posts: 2

  • Since: 2019/12/3


I found this one https://xoops.org/modules/smartfaq/faq.php?faqid=66 . So its total free, right? I can just install this on the server and use as I want.



1936
greenmann
Is it a completely free CMS?
  • 2019/12/3 13:43

  • greenmann

  • Just popping in

  • Posts: 2

  • Since: 2019/12/3


I am making a blog about energy-saving technologies. I installed WP on the site powerfulsolarpanels.com but I found it uneasy. Can I use XOOPS for this? Is it free? I did not find a license agreement. Sorry.



1937
Mamba
Re: XOOPS Version for Godaddy Installation
  • 2019/12/1 0:12

  • Mamba

  • Moderator

  • Posts: 11455

  • Since: 2004/4/23


GoDaddy has a PHP 7, but it seems like they might want you to move to another contract.

The minimum PHP version for XOOPS 2.5.10 is PHP 5.3

You might try to update your current installation to PHP 5.6, or move to another hosting company and have PHP 7.

Also, check your PM messages
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs



1938
thgirblam
Re: XOOPS Version for Godaddy Installation
  • 2019/11/30 23:09

  • thgirblam

  • Just popping in

  • Posts: 32

  • Since: 2004/8/14


It is a Godaddy hosted site and I am stuck with their version of PHP.

I've had a couple other Xoops sites on this server before but that was back at Xoops 1.7 and prior.

I've been trying to troubleshoot it, I have set the site up to the instructions - best I can tell. I have adjusted all the CHMods I can find instructions to modify but I don't even get the install wizard. I only get a FATAL ERROR when I attempt to initiate the install wizard:

Fatal error: Class 'XoopsPreload' not found in /home/content/92/13963592/html/_SiteFolder_/index.php on line 32

Mark



1939
zyspec
Re: SQL error with Tag Module
  • 2019/11/30 15:16

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Yeah - just doing a little 'extra' testing to make sure I didn't miss any unintended side effects. I'll submit a pull request early next week.



1940
Mamba
Re: SQL error with Tag Module
  • 2019/11/30 6:17

  • Mamba

  • Moderator

  • Posts: 11455

  • Since: 2004/4/23


Jim, do we need to fix anything in the module?
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs




TopTop
« 1 ... 191 192 193 (194) 195 196 197 ... 29443 »



Login

Who's Online

176 user(s) are online (128 user(s) are browsing Support Forums)


Members: 0


Guests: 176


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Jul 31
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits