Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7785963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T20:20:23+00:00 2026-06-01T20:20:23+00:00

server is a DV4 from mediatemple running centos. $DOC_ROOT/index.php – 777 has perms .

  • 0

server is a DV4 from mediatemple running centos. $DOC_ROOT/index.php - 777 has perms.

path to PHP: /usr/bin/php

path to index.php: /var/www/vhosts/example.com/client/fhaz/index.php

path to cron.php: /var/www/vhosts/example.com/client/fhaz/application/controllers/cron.php

When i run the following command:
/usr/bin/php /var/www/vhosts/example.com/client/fhaz/index.php cron processCategoryCount

Its running the index controller printing out the compiled view in index(homepage) and not the cron controller/method related to the cron processCategoryCount

Ive also tried: index.php/cron/processCategoryCount, index.php "cron/ProcessCategoryCount

accessing index.php/cron/processCategoryCount in browser properly returns NOT CLI which is executed by a construct in the cron controller to die("NOT CLI"); So i know its accessible..

I ran into this issue before a few months ago, but forgot the fix.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T20:20:24+00:00Added an answer on June 1, 2026 at 8:20 pm

    the problem was $config['uri_protocol'] was set to QUERY_STRING and not AUTO

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Server: CentOS release 5.3 (Final) x86_64 PHP 5.3.2 Apache 2.2.3 PHP Code: error_log('Move from:
Server got upgraded from PHP 5.2 to 5.3 and now I am no longer
Server has created a socket and bound to a port and started a thread
// Server.js var http = require('http'); var path = require('path'); var fs = require('fs');
Server works fine, but the problem is the client doesn't receive anything. server.php <?php
My server have default php version of 4, so when I run some script
SQL Server 2005 query is as follows...... SELECT ClgId FROM IdMaker_DB WHERE Course =
Server 1 Pings/Request URL http://website.com/page.php?code=NeedThat Server 2 page.php grabs NeedThat and execute img src
Rabbitmq server does not start, saying it's already running: $: rabbitmq-server Activating RabbitMQ plugins
Server details: PHP v5.3.5 Using MySQLi library client api version: mysqlnd 5.0.7-dev - 091210

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.