Banshee
the secure PHP framework

Forum

Internal errors when sending Contact

Samiux
11 may 2010, 12:50
Hiawatha version: 7.2
Operating System: Ubuntu Server 10.04 LTS
Banshee version: 1.7

When I try to send message via "Contact" module, the following "Internal errors" message appears :

Internal errors
Function eregi() is deprecated in /var/banshee/libraries/security.php on line 96.
Function eregi() is deprecated in /var/banshee/libraries/email.php on line 44.
Function eregi() is deprecated in /var/banshee/libraries/email.php on line 44.
Function eregi() is deprecated in /var/banshee/libraries/email.php on line 44.


My webmaster's email format in website.conf is :
myname.mygivenname@gmail.com

The sender's email format is :
sendername@gmail.com

Any idea?
Hugo Leisink
11 may 2010, 13:23
Are you using PHP 5.3?
Samiux
11 may 2010, 13:39
Yes, I am using PHP 5.3.2 which is equipped by Ubuntu 10.04 LTS.
Hugo Leisink
11 may 2010, 13:47
I wasn't aware that eregi() is a depricated function. I've fixed security.php. Until the next release, you can download the fixed version here:

http://www.banshee-php.org/security.php.txt
Samiux
11 may 2010, 14:25
Thank you.

However, the /var/banshee/libraries/email.php at line 44 also need to apply the change as at security.php.

After changing at email.php and security.php, no error message is produced.

For your information, please.
Hugo Leisink
11 may 2010, 14:31
True, I also noticed it. But I thought you would be smart enough to figure that out for yourself
Georgejer
23 february 2024, 23:40
<Insane>Hack] Unique A.I. App Makes Us $635/Day

https://www.youtube.com/watch?v=z0aiLF3Sz7E
Ronaldsoorp
19 march 2024, 17:52
FlipBooks are a great addition
to any passive income strategy. Because once you create a FlipBook, market it, share it & Earn it, it can technically sell itself.

Learn More https://www.youtube.com/watch?v=A9ai7ey85dE





11385
Message preview

The following BB-codes are available in a message:

  • [b]Bold text[/b]
  • [center]Center text or imagen[/center]
  • [color=color name or #RGB code]Colored text[/color]
  • [i]Italic text[/i]
  • [img]Link to image[/img]
  • [right]Align text or image right[/right]
  • [s]Strike-through text[/s]
  • [size=pixelsize]Big or small text[/size]
  • [u]Underlined text[/u]
  • [url]Link to website[/url]
  • [url=link to website]Link text[/url]