PHP file & Cron jobs Problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • alexnavy
    replied
    Hi, ronniev!

    <<I have enabled the "allow_url_include" for your domain. You can check it by using the URL>>
    Thank you for that, but the new PHP file is not working.

    <<If you are using the file in cron then you need to set the permission to 755 for the execution.>>
    All my other PHP files work properly with permission 0644.

    I uploaded an edited PHP file, but the situation is still the same. Edited file is not working, but when I roll back old file it works. I did not change any settings or file structure when did editing. I just added a couple new URLs to the file and replaced a couple other URLs.
    I suppose there is some procedures that I may have done wrong, but I can not figure out what exactly.

    Kind regards
    Alex

    Leave a comment:


  • ronniev
    replied
    I have enabled the "allow_url_include" for your domain. You can check it by using the URL
    phpinfo()

    If you are using the file in cron then you need to set the permission to 755 for the execution.

    Please try to upload your new file and if you are still facing any problem then update us with the exact file path or file name so we can investigate your issue .

    Leave a comment:


  • alexnavy
    replied
    Hi, Kieran!

    Thank you very much for your reply. The domain is Поиск Работы | rabota-ipoisk.ru. I rolled back the old PHP file after I realized that the edited file is not working.

    Kind regards
    Alex

    Leave a comment:


  • Kieran
    replied
    Hi Alex.

    Please PM me the exact domain name for which you have set a cron job. I will check the
    PHP, Apache logs and cron setting for your PHP script. There must be something wrong or restriction on the server due to which data is not collected.

    Thank You.

    Leave a comment:


  • alexnavy
    started a topic PHP file & Cron jobs Problem

    PHP file & Cron jobs Problem

    Hi everyone!

    I would greatly appreciate if someone can help me with the following please:
    I have PHP files containing URLs from other sites to collect data. These files coupled with cron jobs get data from other sites.
    --I edited one of these files (added and changed URLs), but when I uploaded it to the server, the file stopped working. I wonder what could be a possible reason for that or what mistakes I possibly made?
    --Is there any way to check the PHP file works properly before uploading to the server?
    What I did: Downloaded PHP file using Filezilla>Edited using Notepad++>Uploaded back to the server using Filezilla.

    Thank you in advance for your help.
    Kind regards
    Alex
Working...
X