Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

Warning + Fatal error + white page

Hello, 

Everything was working perfectly in localhost , I've used the local version during months but soudainly an issue it appears.
The error displayed is 

"Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in include\pear\Mail\mail.php on line153
Fatal Error:
 Contact system administrator."

and nothing else , the lgin page is white . I've doubt , because I've installed prestashop and magento in localhost so I've change some details especialy I think in apache I've activated a module I think rewrite module ,  and changed it the following line to this
"<Directory />
    AllowOverride all
    Order deny,allow
    Allow from all
</Directory>"

I've activated the PHP extension php_intl in different wamp files .  My config in php.ini is like this

[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

; For Win32 only.
sendmail_from = ben@gmail.com

Anyboday have an idea how to resolve it?

Thanks in advance.

 




Tagged:

Comments

  • You have not provided us with enough information to assist you.  Please help us to help you by reading and following the posting guidelines located in this thread: Please read before requesting assistance.  The more information you give us the better we will be able to assist you. Thank you.

    Version of osTicket?
    Whats in your PHP error log?
  • edited June 2016
    Hello the osTicket Version is 1.7
    PHP error log :

    [23-Jun-2016 20:37:06 Europe/Paris] PHP Warning:  mail(): Failed to connect to mailserver at &quot;localhost&quot; port 25, verify your &quot;SMTP&quot; and &quot;smtp_port&quot; setting in php.ini or use ini_set() in D:\wamp\www\Cat\include\pear\Mail\mail.php on line 153
    [23-Jun-2016 19:27:28 UTC] PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    [23-Jun-2016 19:27:31 UTC] PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    [23-Jun-2016 19:28:09 UTC] PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    [23-Jun-2016 19:28:11 UTC] PHP Warning:  Module 'curl' already loaded in Unknown on line 0

  • I'm sorry but osTicket 1,.7 is no longer supported and hasn't been for quite some time.
    You should really upgrade to a more recent version.  That error seems to indicate that PHP could not connect to the mailserver and port that you specified in your php.ini file.
  • I have the 1.9 version too with the same probleme.
    I correct this issue but my page is blank/white and is not my first use to osticket, it's sundly after installing prestashop and Magento that the osticket switch to blank, for other project in localhost they work perfectly.
    PHP error log :
    [24-Jun-2016 15:22:18 UTC] PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    any idea?
    Thanks
  • This
    [24-Jun-2016 15:22:18 UTC] PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    is not a PHP error.  It's a warning.  I dont even think that osTicket uses curl so I doubt it's related.

    If osTicket was working and you installed something else and now it doesn't work... it quite obviously means that the changes that you made to the webserver config and/or php config and/or addition of .htaccess/web.config files for the new software is breaking things.  I would recommend that you look at those.
  • I've found the issue I've had in comment "# skip-grant-tables" , I've deleted # and it works again.
  • I'm glad to hear that you worked it out. :)
Sign In or Register to comment.