1751
princeemilec
Re: Xoops notification system

OK thanks

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



1752
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



1753
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.



1754
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.



1755
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.



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

  • Mamba

  • Moderator

  • Posts: 11373

  • 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.10 | Docs | Modules | Bugs



1757
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



1758
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.



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

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


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



1760
Mamba
Re: XOOPS Version for Godaddy Installation
  • 2019/11/30 6:10

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


You should update your PHP version to 7.0+, as the older versions are not maintained anymore, and you'll open yourself to hacking.

Our current version 2.5.10 should work on PHP 5.3+, but again, this is not recommended.

It's better to be safe than sorry!!!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs




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



Login

Who's Online

542 user(s) are online (325 user(s) are browsing Support Forums)


Members: 0


Guests: 542


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