1741
rossb
Re: oledrion: phpmailer postSend() not returning - stuck in try loop
  • 2019/12/7 16:56

  • rossb

  • Just popping in

  • Posts: 77

  • Since: 2006/8/28


Found a workaround. May be xoops-2.5.9 bug

/class/mail/phpmailer/class.phpmailer.php, alter function (comment stuff):

public function postSend()
    {
        try {
            
// Choose the mailer and send through it
            
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);
                    //}
                    //file_put_contents(OLEDRION_GATEWAY_LOG_PATH, "!" , FILE_APPEND | LOCK_EX);
                    
return $this->mailSend($this->MIMEHeader$this->MIMEBody);
            }
        } catch (
phpmailerException $exc) {
            
$this->setError($exc->getMessage());
            
$this->edebug($exc->getMessage());
            if (
$this->exceptions) {
                throw 
$exc;
            }
        }
        return 
false;
    }



since
$this->$sendMethod($this->MIMEHeader$this->MIMEBody);

does not return, causes exception with no error text.

...B



1742
catra
Re: Urgent help!!! Creating new block leads to an error
  • 2019/12/7 14:34

  • catra

  • Just popping in

  • Posts: 3

  • Since: 2019/12/7


I resolved the problem by my own.
I turned on the debug mode from Preferences-->System--General Settings.
Then, in the below information provided by turning on the debug mode, I checked the query executed by mysql.
I found a query marked by red color, and found that "option" field has no default value.
I opened phpMyAdmin, and edit the field by providing a default value with a NULL value.
Now, It's working fine.



1743
catra
Urgent help!!! Creating new block leads to an error
  • 2019/12/7 14:19

  • catra

  • Just popping in

  • Posts: 3

  • Since: 2019/12/7


Dear friends;
I'm using Xoops 2.5.5, and I faced with an un-usual error.
In my site, I have inserted more than 350 blocks.
In Admin Control panel, whenever I try to add a new block, the system shows me an error like the following:
Errors
None


In addition, my PHP version is 5.6

I checked the database, but I really don't know why the Xoops stopped working suddenly.
Please help me.
Thanks in advance.



1744
rossb
Re: oledrion: phpmailer postSend() not returning - stuck in try loop
  • 2019/12/6 20:35

  • rossb

  • Just popping in

  • Posts: 77

  • Since: 2006/8/28


thanks anyway. Need to finish cleanup and testing added features first. Once I get it to point where email is only issue, will consider publishing.

That doesn't mean, If a collaborator volunteers, that I am not prepared to immediately collaborate.
Oledrion is also in need of theming, by someone more competent than I.

...B



1745
zyspec
Re: oledrion: phpmailer postSend() not returning - stuck in try loop
  • 2019/12/6 17:00

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


@rossb,

I wouldn't mind helping but I'm currently working on 3 other modules trying to get them updated and working so I won't have any 'excess' time for a while.

If you put the current code on github then you might be able to find someone who can look at what you have to help. It's a little harder to collaborate otherwise.

Good luck and let us know how it's going.



1746
goffy
Re: HELP! Need Xoops 8.0 HELP (old script not appearing)
  • 2019/12/6 9:36

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


Hi eneickel

If you want then you can give me temporary access to your website via a ftp account then I can try to find out which CMS you are really using.

If yes send me a PM with login data



1747
Mamba
Re: HELP! Need Xoops 8.0 HELP (old script not appearing)
  • 2019/12/6 5:19

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


There is NO XOOPS 8.0 version
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1748
eneickel
Re: HELP! Need Xoops 8.0 HELP (old script not appearing)
  • 2019/12/5 19:56

  • eneickel

  • Just popping in

  • Posts: 1

  • Since: 2019/12/4


How did you solve the problem? I need help with Xoops 8.0 too



1749
rossb
Re: oledrion: phpmailer postSend() not returning - stuck in try loop
  • 2019/12/5 17:24

  • rossb

  • Just popping in

  • Posts: 77

  • Since: 2006/8/28


Hi Zyspec;

THANKs for your interest

I am using oledrion-2.35_RC1
latest, for xoops-2.5.10 : https://github.com/XoopsModules25x/oledrion
https://github.com/XoopsModules25x/oledrion
have hacked xoops_version.php for 2.5.9: "$modversion['min_xoops'] = '2.5.9';"
...since I see no 2.5.9 incompatibilities

Am attempting to fix / update oledrion for the community. CMS without working e-commerce module? Sad state of affairs.

If you want to go beyond code inspection, I will have to update you, since there are class naming and other errors in RC1.

re: * 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?

no, that code has been moved to modules/oledrion/class/Gateways/Paypal/PaypalGateway.php to send confirmation emails AFTER Paypal verify (made ZERO sense to confirm an order before paid for), part or changes mamba and I made for RC1. Since then (in addition to email issues), Paypal session dynamics have changed, breaking things.

Meanwhile, I am going deeper down rabbit hole, with debug statements to establish what's failing. Ignorance re low level email algorithms IS my problem.

Regards;
Bill



1750
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?




TopTop
« 1 ... 172 173 174 (175) 176 177 178 ... 29425 »



Login

Who's Online

540 user(s) are online (319 user(s) are browsing Support Forums)


Members: 0


Guests: 540


more...

Donat-O-Meter

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

Latest GitHub Commits