0
I had a site with a system on one server, I had to migrate to another and now error appears in almost all PHP functions of the system. I already gave the permissions on the folders, since it is hosted in linux, but I can’t anyway.
When I try to create a new account, for example it gives the following errors:
Warning: fsockopen() [Function.fsockopen]: Unable to connect to autors.com.br:587 (Connection refused) in /home/Storage/1/F2/68/autors/public_html/smtp.class.php on line 134 error 222 Warning: fgets(): supplied argument is not a Valid stream Resource in /home/Storage/1/F2/68/autors/public_html/smtp.class.php on line 122
Give more information, post errors in your question.
– Ricardo
@Guilhermeabreu, put these new details in your question please
– user3603
Your problem is occurring in the email routine. Connections are being refused in autors.com.br port 587 (SMTP port - mail Submission). No relation to file permission, as suggested.
– cantoni
Take advantage of and handle your urls, possibly vulnerable to Sql Injection.
– Marcos Xavier