Hi, thank you for your plugin.
I still have something that i would like to fix.
I have mantis and Emailreporting working fine, but what i'd like to do is schedule a script to fetch all mails.
When i go to http://localhost/plugins/EmailReporting ... t_mail.php it's working like a charm, but when i try "php link\to\file\bug_report_mail.php" i have this error : "Message : Failed to connect to the mail server".
If anyone is able to help me i'll be really thankfull.
I'm here for any questions you have.
PS : using Mantis 1.2.15 and EmailReporting 0.9.0 DEV
Scheduling of Windows
Moderators: Developer, Contributor
Re: Scheduling of Windows
please activate debug mode and post the full logs of bug_report_mail.php through the webserver and bug_report_mail.php through the commandline
-
- Posts: 2
- Joined: 11 Nov 2013, 06:59
Re: Scheduling of Windows
Can somebody please help me with below error.
while running through command prompt (E:\wamp\bin\php\php5.3.8\php.exe E:\wamp\www\XXX\plugins\EmailReporting\scripts\bug_report_mail.php)
Location: Attempt login
[pear_error: message="" code=-1 mode=return level=notice prefix="" info=""]
and if i am running the same through browser (http://xxx.com/plugins/EmailReporting/s ... t_mail.php) then it's working perfectly.
I am using following :-
PHP 5.3.8
Email Reporting 0.9.0-DEV
while running through command prompt (E:\wamp\bin\php\php5.3.8\php.exe E:\wamp\www\XXX\plugins\EmailReporting\scripts\bug_report_mail.php)
Location: Attempt login
[pear_error: message="" code=-1 mode=return level=notice prefix="" info=""]
and if i am running the same through browser (http://xxx.com/plugins/EmailReporting/s ... t_mail.php) then it's working perfectly.
I am using following :-
PHP 5.3.8
Email Reporting 0.9.0-DEV
Re: Scheduling of Windows
It's possible PHP.exe loaded another ini file then the one used by your webserver.
Please check the phpinfo information from within the command prompt and from within the webserver to find out which php.ini's are loaded
It's also possible that different pear library's are used. Which could also be found out by checking the phpinfo information
http://www.php.net/phpinfo
Something else you can try is enabling debug mode and run bug_report_mail again through the webserver and through the command line
Please post the results here
Please check the phpinfo information from within the command prompt and from within the webserver to find out which php.ini's are loaded
It's also possible that different pear library's are used. Which could also be found out by checking the phpinfo information
http://www.php.net/phpinfo
Something else you can try is enabling debug mode and run bug_report_mail again through the webserver and through the command line
Please post the results here
-
- Posts: 2
- Joined: 11 Nov 2013, 06:59
Re: Scheduling of Windows
check with every possible solution but still not working
Re: Scheduling of Windows
Please provide the necessary output to support your answer.
That way we might see other things that are possibly causing your issues
That way we might see other things that are possibly causing your issues