Possible solutions of your questions

  hosting
<< Previous       the transfer site(s) on your hosting.

Answer:

Hello.

please Wait.

Answer:

the files and database transferred, check the amps.

Question: what dns servers specify?
Answer:

ns1.hostfordns.ru  
 ns2.hostfordns.ru

Question: to use - Warning: mysql_connect(): Can`t connect to MySQL server on `a112912.mysql.mchost.ru` (4) in /home/sy4ok/public_html/macstocks.ru/connect/connect.php on line 8Fatal error: Can`t connect to MySQL server on `a112912.mysql.mchost.ru` (4) in /home/sy4ok/public_html/macstocks.ru/connect/connect.php on line 8
Answer:


please Check now.

Question: it works like a Sharm
Answer:


ok

Question: tell the scheduler cron the path to the executable file of how to use ? so - GET http://macstocks.ru/apple_avito_parser.php ?
Question: and password to the database what now?
Answer:

1)

Have a cron job add the command 
/usr/bin/php space Polnymi > /dev/null 2>&1 
or 
/usr/bin/php5 propel Polnymi.php> /dev/null 2>&1 
, putting in the minute 0, hour 24, and in the remaining fields, leave the asterisk. 


or wget -O - -q-t 1 http://yourdomain.com/cron.php > /dev/null 2>&1 
key \"-O\" specifies the output to the console (instead of saving to a file), \"-q\" makes it quiet (no screen output), a \"-t 1\" specifies to make only one connection attempt. 

2)

the DB has no password. The password you specify for the database user. You can change it in spanel in section MySQL Database.

Question: 1. I want the file http://macstocks.ru/apple_avito_parser.php were performed every 15 min , using the web interface task planner that needs to write into the string the command to run?GET http://macstocks.ru/apple_avito_parser.php ?
Answer:

Have a cron job add the command 
/usr/bin/php spacebar Polnymi > /dev/null 2>&1 
or 
/usr/bin/php5 gap Polnymi.php> /dev/null 2>&1 
, putting in the minute 0, hour 24, and in the remaining fields, leave the asterisk. 


or wget -O - -q-t 1 http://yourdomain.com/cron.php > /dev/null 2>&1 
key \"-O\" specifies the output to the console (instead of saving to a file), \"-q\" makes it quiet (no screen output), a \"-t 1\" specifies to make only one connection attempt. 

Question: that is so right-? wget -O - -q-t 1 http://macstocks.ru/apple_avito_parser.php > /dev/null 2>&1
Answer:

Yes. What is the interval you specify? 

Question: 15 minutes */15
Answer:


ok

Question: I changed the password to the database in the control panel and stopped to open the website http://macstocks.ru
Question: the user password is changed
Answer:

Enter the new password in the configuration file.

Question: the configuration file is and which file?
Answer:

navione /home/sy4ok/public_html/macstocks.ru/connect/connect.php

Question: changed but nothing has changed
Question: LHt=-)y~gUkN1 this password no supremenyc characters?
Answer:

change in all files where there is podkluchenie to the database . search

Question: the website opens, but after transferring the site stopped working parser
Answer:

you have in the parser there was a connection to the database. it passwords there

Question: fixed in the parser, the connection to the database is not updated ad, I think that Kron scheduler
Question: a full internal file path http://macstocks.ru/apple_avito_parser.php ?
Answer:

/home/sy4ok/public_html/macstocks.ru/apple_avito_parser.php

Question: mail from Kron scheduler receives a message - /bin/sh: 1 : ambiguous redirect what does that mean?
Answer:

What task you used? What parameters you pass?

Question: wget -O - -q-t 1 http://macstocks.ru/apple_avito_parser.php > /dev/null 2>&1 - this line of the task file http://macstocks.ru/apple_avito_parser.php to run every 15 min.
Answer:

please Wait.

Answer:

you have the task performed?

Question: judging by the fact that new ads after the transfer of the site does not appear - no, the old host everything worked
Answer:

when you run this script in the browser, it works? first you need to check it out

Question: after running in the browser nothing happens, no errors, I don`t know how to check it runs or not
Answer:

what should happen when sapose in the browser? you do it through the crowns in the browser and run

Question: why other hosting script (adding a product ) http://macstocks.ru/apple_avito_parser.php works but not here
Question: the script takes an ad on avito and puts an ad on the website
Answer:

what you want the script to add the item? you always change the password in the configuration files ,  after you decided to change on the account? provate that bavette were new passwords. when we moved the site, everything worked, the problem occurred after Your changes

Question: the last listing was added on the 16th at 13 45 and the support has announced the relocation site 14 57 , then on the new hosting ads are not added
Answer:

they could not be added because nebylo Kron job. but before you can configure zadanie you already changed the password and made changes on the website.

Question: access rights needed to change to 755 on the file parser now works
Answer:

Rav files should be 755, 644 only

Question: now I can`t log in to file Manager in C panel
Answer:

the server update is underway, wait for amp.


<< Previous