-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
htaccess issue for CLI #2
Comments
.htaccess files shouldn't affect command line access, I don't think. What is happening? On Jul 31, 2011, at 7:04 AM, anathematism [email protected] wrote:
|
Here's how i'm currently executing php ~/Sites/CodeIgniter_2.0.2/index.php guest test PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/php_curl.dll' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/php_curl.dll, 9): image not found in Unknown on line 0 Here test method contains the queue init, and send code. I commented test method code, and just echoed "Hello World" to test if it's called. It's not being called from command line. |
Is this your own server, or a server you have admin access on? On Jul 31, 2011, at 8:54 AM, anathematism [email protected] wrote:
|
Yes, it's my local machine. I don't think it's related to Personalized Mailer as i'm not able to hit any method through CLI. I'm new to CI. Can you tell me the possible reasons for not being able to hit a CI app through CLI? Thanks! |
Well, your php install looks messed up. You shouldn't see all of those extension errors. Can you execute the following code via the php command line? I'd also check which extensions are required for CLI php access On Jul 31, 2011, at 11:00 AM, anathematism [email protected] wrote:
|
Hi,
I've integrated this spark in my code and it's working perfect when i hit controller. However, it doesn't work when i try to run using command line (cron) like:
php /path/to/your/codeigniter/root/index.php admin sendtolist
I've written a .htaccess file to remove index.php while accessing app from browser. Can that be an issue?
Thanks,
Atif
The text was updated successfully, but these errors were encountered: