• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

cli.php error

Version
3.20.11
PHP version
7.4.23
Database driver
MySQL
Database version
8.0
Web browser
Safari

JakeSully

👽 Chevereto Freak
So i setet a cronjob on this cli file but I'm receiving mail with following error from it.

Code:
/home/user/public_html/gallery/cli.php: line 1: ?php
: No such file or directory
/home/user/public_html/gallery/cli.php: line 2: /backup: Is a directory
/home/user/public_html/gallery/cli.php: line 3: $'\r': command not found
/home/user/public_html/gallery/cli.php: line 4: $'Chevereto\r': command not found
/home/user/public_html/gallery/cli.php: line 5: https://chevereto.com/
: No such file or directory
/home/user/public_html/gallery/cli.php: line 6: $'\r': command not found
/home/user/public_html/gallery/cli.php: line 7: http://rodolfoberrios.com/: No such file or directory
/home/user/public_html/gallery/cli.php: line 8: inbox@rodolfoberrios.com: No such file or directory
/home/user/public_html/gallery/cli.php: line 9: $'\r': command not found
/home/user/public_html/gallery/cli.php: line 10: syntax error near unexpected token `C'
/home/user/public_html/gallery/cli.php: line 10: `  Copyright (C) Rodolfo Berrios A. All rights reserved.
'

As I can see is that it's trying to access whole different server and domain and such. which I'm confused? Why is it trying to access rodolfoberrios.com and it's email and such and not my own chevereto??

So it seems it cannot run properly because of this and it idk if anyone else have this?

Update: After re-looking at cli.php I found this under <?php

Code:
/* --------------------------------------------------------------------

  Chevereto
  https://chevereto.com/

  @author    Rodolfo Berrios A. <http://rodolfoberrios.com/>
            <inbox@rodolfoberrios.com>

  Copyright (C) Rodolfo Berrios A. All rights reserved.

  BY USING THIS SOFTWARE YOU DECLARE TO ACCEPT THE CHEVERETO EULA
  https://chevereto.com/license

  --------------------------------------------------------------------- */

So I wonder if this is part doing it?
 
As I can see is that it's trying to access whole different server and domain and such. which I'm confused? Why is it trying to access rodolfoberrios.com and it's email and such and not my own chevereto??
You are getting those as it seems that there's no PHP interpreter available in the path you are using for your cron. What the shell is doing is just echoing the contents of the cron file.

Chances are that you need to provide the full PHP binary path, or add that path to PATH for the user running that cron.
 
You are getting those as it seems that there's no PHP interpreter available in the path you are using for your cron. What the shell is doing is just echoing the contents of the cron file.

Chances are that you need to provide the full PHP binary path, or add that path to PATH for the user running that cron.
If I remember it right. I have set a php infront of it. But yet following error I have in main topic is what it throws in error log.
 
Try this

1) try to copy paste the command you mentioned in the crontab and check whether it executes it properly. If it did not, make sure to mentions the correct php path.

2) try to delete the current cli.php and download it from original source and use it once.
 
Back
Top