Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

01K Regular

@01K · Joined 7 years ago · 130 posts · 26 topics · 9 reputation

Badges

✏️ First Post 💬 Conversation Starter

Recent posts

  • Clear cache with CLI on shared hosting · 6 months ago

    That would be too complicated for such a simple task. I run similar scripts for components which have been used on other CMS platforms for years. Fingers crossed 🙂 Thank you for the suggestions!

  • Clear cache with CLI on shared hosting · 6 months ago

    For instance, if someone will need this: <?php $secret = 'CHANGE_ME_12345'; if (!isset($_GET['token']) || $_GET['token'] !== $secret) { http_response_code(403); echo json_encode(['success

  • Clear cache with CLI on shared hosting · 8 months ago

    @pamtbaau: Curious about your use-case that prohibits you to to use Admin to clear the cache. If you really have to exclude Admin… create a plugin catch the url you’re calling from CPanel (can be any

  • Clear cache with CLI on shared hosting · 8 months ago

    Since I can’t run shell commands on this shared hosting, a small PHP script that calls Grav’s cache clear API internally would be ideal

  • Clear cache with CLI on shared hosting · 8 months ago

    I think the misunderstanding is here: On my shared hosting, the cron tool does not allow running commands like php bin/grav scheduler — there’s no command field, only a URL field (as shown in my scree

  • Clear cache with CLI on shared hosting · 8 months ago

    Thanks, but that’s exactly my point — on shared hosting I can’t run CLI commands like bin/grav cache-clear or bin/grav scheduler. The only thing I can do is execute a PHP script from inside CPanel (fo

  • Clear cache with CLI on shared hosting · 8 months ago

    Hi, In my CPanel, I’m able to run the PHP script, which could trigger further operations. So, I need a php script which could launch the clear cache regular process

  • Clear cache with CLI on shared hosting · 8 months ago

    Read carefully: “Clear cache with CLI on a shared hosting” Of course I know about the button on backend, it's not related to my question

  • Clear cache with CLI on shared hosting · 8 months ago

    HI, I’m running the Grav CMS on shared hosting, so there is no possibility to run the command “bin/grav clear-cache“ Has someone used the PHP script to clear the cache on shared hosting?

  • Upgrade from 1.7.48 to 1.7.49.3 Fails using dashboard · 9 months ago

    all the same, also posted on GitHub, no solution yet