Page 2 of 2

Re: Errors of the version 1.28.3

PostPosted: 16 Feb 2019, 09:12
by Xpycm
"sudo systemctl restart apache2" after "sudo a2enmod rewrite" ?

and also try this solution:
"AllowOverride none" to "AllowOverride all" in /etc/httpd/conf/httpd.conf config file and "sudo systemctl restart apache2"

Re: Errors of the version 1.28.3

PostPosted: 17 Feb 2019, 06:22
by octrends
Xpycm wrote:"sudo systemctl restart apache2" after "sudo a2enmod rewrite" ?

and also try this solution:
"AllowOverride none" to "AllowOverride all" in /etc/httpd/conf/httpd.conf config file and "sudo systemctl restart apache2"


Thanks Xpycm, it resolved it. i am able to install it now.

Contact email cannot send out: Errors of the version 1.28.3

PostPosted: 18 Feb 2019, 18:30
by kklab
Follow the instruction and results would be the same. The email and contact info still cannot sent out. (Error message: Use of undefined constant _FILE_ - assumed '_FILE_' (this will throw an Error in a future version of PHP, or some other types if some settings changed)

A bit strange. Do hope this useful for the developers.

Re: Errors of the version 1.28.3

PostPosted: 18 Feb 2019, 19:16
by Xpycm
Why did you send mysql/mariadb version? ...

Version 1.28.1 and newer used phpmailer 6
https://open-real-estate.info/en/version-history#1-28-1

Solution: Use SMTP server for email

For example, gmail: https://www.google.com/search?q=gmail+smtp+settings

Re: Errors of the version 1.28.3

PostPosted: 20 Feb 2019, 15:06
by kklab
Under debug mode:

Got such message:

374 throw new CHttpException(503, tt('message_not_send', 'notifier') . ' ErrorInfo: ' . $mailer->getError());

257 $this->_processEvent($rules, $model, param('adminEmail'));

55 $notifier->raiseEvent('onNewContactform', $model);
182 $widget->run();
63 return parent::widget($className, $properties, $captureOutput);
63 return parent::widget($className, $properties, $captureOutput);
9 $this->widget('ContactformWidget', array('page' => 'contactForm'));
213 return parent::render($view, $data, $return);
44 $this->render('contactform');
27 Yii::createWebApplication($config)->run();

Re: Errors of the version 1.28.3

PostPosted: 20 Feb 2019, 18:51
by Xpycm
Please send email from an SMTP server

For example, gmail: https://www.google.com/search?q=gmail+smtp+settings