Question: |
Hello! when registering the chosen domain, but not yet paid for, just got a test domain, how do I use a test domain to run the site |
Answer: |
Hello. Your test domain algertak.isp.erahost.ru |
Question: |
how to use the files on the server I uploaded |
Answer: |
In which folder you uploaded the file? |
Question: |
in the folder www |
Answer: |
Upload your website files to the folder /www/betcompany.org |
Question: |
done, now have to earn a test url algertak.isp.erahost.ru ? |
Answer: |
please Wait, your issue is being dealt with. |
Answer: |
Your test domain algertak.isp1.erahost.ru |
Question: |
thank you |
Answer: |
ok
|
Question: |
can do not work to send email from the page due to some restrictions of the test period? in conditions of seems to be available to send 10 messages per hour |
Answer: |
no such limitation |
Question: |
it is impossible to send mail from the page, in the log the following warning: PHP Warning: mail(/var/log/php.mail.log) [function.mail]: failed to open stream |
Answer: |
what is /var/log/php.mail.log ? where you have the data in a script? |
Question: |
it is not the data in the script, this is the error log of the script, and this warning is thrown on the line run a standard PHP function mail(). does not work sending. the search gave a couple of answers that suggest people on the forums:try in admin - System - Settings - Mail - email Protocol: set to SMTP and send the mail on this protocolecho host at x.. Zimbabwe or set sending email via smtp. |
Question: |
how to configure sending via smtp ? |
Answer: |
work for smtp you set up like any email client, outlook, the bat or what you used to enjoy. specify the server address , mailbox name and password the mail function works perfectly please make sure http://algertak.isp1.erahost.ru/testmail.php the problem in your script. check it out please |
Question: |
my script works without problems on the local server Denver |
Answer: |
Denver is not a server. windows much different from linux please check Your script because mail() is working 100% and the fact that it doesn`t work in your script means that it configured incorrectly. You gave an example, please refer to |
Question: |
link test mail result is given for successful submission to my mail, it took 7 minutes, no incoming mail |
Answer: |
check your spam folder as the script sent mail in the header which is specified fictional email/ the script works 100% |
Question: |
nowhere letters. the case most likely in settings |
Answer: |
letters were in place, the script runs, the settings are not on it. the mail function works without errors. who is the author of the script that gave a warning? what address sent mail? |
Question: |
like I said - it is in the settings of the server:failed to open stream: Permission denied in /var/www/algertak/data/www/betcompany.org/testmail.php on line 23 |
Question: |
or maybe I should look for error in your script? |
Answer: |
where you here saw here server settings? you removed the script and of course will be failed to open stream(file not found, in Russian). why did you delete the script? |
Question: |
rukalitso, file not found, I deleted it....OK, what a fantastic way in your opinion then the script in the remote file was executed up to 23 lines of its code, and then stood up for the specified reason: Permission denied. that Russian - access is denied.I suspect that with a probability of 99% in the 23rd line of the code is the same function PHP mail(), which falls and my script. and maybe it`s the established rights of dostopati do anything like competent in this matter????? |
Answer: |
give You a directory listing [server betcompany.org]# cd /var/www/algertak/data/www/betcompany.org/ [server betcompany.org]# ls-all total 1088 drwxr-xr-x 11 algertak algertak 4096 May 13 20:02 . drwxr-x--x 3 algertak algertak 4096 May 13 12:51 .. -rw-r--r-- 1 algertak algertak 7583 Mar 20 14:25 about.html -rw-r--r-- 1 algertak algertak 5239 May 1 16:51 about.php drwxr-xr-x 5 algertak algertak 4096 May 13 15:30 assets drwxr-xr-x 2 algertak algertak 4096 May 13 15:30 carousel drwxr-xr-x 3 algertak algertak 4096 May 13 15:30 contact_form -rw-r--r-- 1 algertak algertak 5432 Mar 25 12:45 contact.html -rw-r--r-- 1 algertak algertak 8140 May 13 19:01 contact.php -rw-r--r-- 1 algertak algertak 12311 Apr 24 14:35 database.class.php drwxr-xr-x 5 algertak algertak 4096 May 13 15:30 dist -rw-r--r-- 1 algertak algertak 128 Apr 9 2014 .htaccess -rw-r--r-- 1 algertak algertak 5971 Apr 24 18:02 html.class.php drwxr-xr-x 2 algertak algertak 4096 May 13 15:30 images -rw-r--r-- 1 algertak algertak 4611 May 13 16:25 index.php -rw-r--r-- 1 algertak algertak 6557 Apr 14 17:09 j-n.css drwxr-xr-x 2 algertak algertak 4096 May 13 15:30 jumbotron-narrow drwxr-xr-x 2 algertak algertak 4096 May 13 15:30 many_choises -rw-r--r-- 1 algertak algertak 4085 Apr 24 16:11 master.php drwxr-xr-x 2 algertak algertak 4096 May 13 15:30 specimen_files -rw-r--r-- 1 algertak algertak 3438 May 2 21:04 strategy.php -rw-r--r-- 1 algertak algertak 658 May 13 20:02 testmail.php -rw-r--r-- 1 algertak algertak 8734 Mar 12 17:38 tips.html drwxr-xr-x 3 algertak algertak 4096 May 13 15:30 websymbols -rw-r--r-- 1 algertak algertak 965864 May 13 15:21 www.rar file testmail.php there is no |
Question: |
-rw-r--r-- 1 algertak algertak 658 May 13 20:02 testmail.php what is this??? |
Answer: |
please wait . the problem is verified. we can now create an account on another server c_panel that you would not expect |
Question: |
if it is possible - just change the access rights on my file contact.php on the 777 in Linux is one team |
Answer: |
permissions 777 are only used when work mode mod php apache and not used for mode php cgi/ servers with the apache mod we have permissions 777 anywhere not required. all scripts rabotayuti with parvo user and have full access to their folders. permissions 777 is only used in apache mod when scripts work on behalf of the web server and only in that case when you want to write to the folder. permissions 777 for php files not ispolzuyut at all because it is not an executable file |
Question: |
search for problemhot logs[Wed May 13 21:41:03 2015] [error] [client IP] PHP Warning: mail(/var/log/php.mail.log) [function.mail]: failed to open stream: Permission denied in /var/www/algertak/data/www/betcompany.org/testmail.php on line 23[Wed May 13 21:49:38 2015] [error] [client IP] PHP Warning: mail(/var/log/php.mail.log) [function.mail]: failed to open stream: Permission denied in /var/www/algertak/data/www/betcompany.org/testmail.php on line 23[Wed May 13 21:54:12 2015] [error] [client IP] PHP Warning: mail(/var/log/php.mail.log) [function.mail]: failed to open stream: Permission denied in /var/www/algertak/data/www/betcompany.org/testmail.php on line 23[Wed May 13 21:56:36 2015] [error] [client IP] PHP Warning: mail(/var/log/php.mail.log) [function.mail]: failed to open stream: Permission denied in /var/www/algertak/data/www/betcompany.org/contact.php on line 98, referer: http://algertak.isp1.erahost.ru/contact.php[Wed May 13 22:00:59 2015] [error] [client IP] PHP Warning: mail(/var/log/php.mail.log) [function.mail]: failed to open stream: Permission denied in /var/www/algertak/data/www/betcompany.org/contact.php on line 98, referer: http://algertak.isp1.erahost.ru/contact.php |
Answer: |
we see those logs. that you would not expect we can offer You other server |
Question: |
today I work with this issue don`t plan. if in the morning the issue is not solved and will not be aware of the timing of his decision, then we will stop on this variant |
Answer: |
You with a strange tenacity put the rights 777 even though You clearly explained why they are not needed Your account is moved to another server test domain http://algertak.test7.erahost.ru Details sent to EMAIL
|