BullGuard Antivirus Sale - 60% Off with openElement !
Forum Home Forum Home >

openElement

> openElement General Discussion
  New Posts New Posts RSS Feed - e-mail send error
  FAQ FAQ  Forum Search   Register Register  Login Login

e-mail send error

 Post Reply Post Reply
Author
Message
LP- View Drop Down
Newbie
Newbie


Joined: Oct 30 2014
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote LP- Quote  Post ReplyReply Direct Link To This Post Topic: e-mail send error
    Posted: Oct 02 2017 at 3:50pm
Hi,

I've been able to setup send e-mail fine on host "A", but unable to on host "B".

No matter the method used in host B it always throws this error:

Error :undefined
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /usr/local/pem/vhosts/241245/webspace/httpdocs/redacted.com/WEFiles/Server/openElement.php on line 94



Uploading same files/site to host A works fine. I'm probably going to change this site to host A

Some info from host A (works)
PHP Version 5.4.45
sendmail_from     me@localhost.com     me@localhost.com
sendmail_path     /usr/sbin/sendmail -t -i

Some info from host B (error)
PHP Version 4.4.9
sendmail_from     no value     no value
sendmail_path     /usr/sbin/sendmail -t -i -Lsender=r241245

host B also has a cgi-bin folder that isn't in host A, do I need some extra script in their to make it work? We used to call a script in this folder from flash to send e-mail.

Thanks!
LP

Edited by LP- - Oct 02 2017 at 3:51pm
Back to Top
Dmit OE View Drop Down
Admin Group
Admin Group


Joined: May 31 2012
Status: Offline
Points: 5283
Post Options Post Options   Thanks (1) Thanks(1)   Quote Dmit OE Quote  Post ReplyReply Direct Link To This Post Posted: Oct 02 2017 at 3:58pm
PHP Version 4.4.9

It's way too old (and dangerous), you must upgrade it, or change hosting if it does not allow to.
Back to Top
LP- View Drop Down
Newbie
Newbie


Joined: Oct 30 2014
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote LP- Quote  Post ReplyReply Direct Link To This Post Posted: Oct 03 2017 at 12:49pm
Thanks for the tip. That's the final straw with this crappy host.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.