CodeIgniter is an open source MVC framework for PHP.

learn more… | top users | synonyms

1
vote
2answers
750 views

System load average is extremely high

I own a website which is running on a VPS since last week. From monday until saturday, everything is going smoothly. The website has around 4.500 unique visitors a day, and the load average and ...
0
votes
2answers
67 views

Finding a rewrite rule

I inherited a Codeigniter based PHP application. I'm trying to setup my development workstation to mimic the production system for some development work. An example url would be http://example....
1
vote
1answer
442 views

Nginx and Codeigniter rewrite error

I am trying to get a site on nginx running based on codeigniter. Some parts work but some fail. I noticed in access logs that index.php sometimes has two slashes at the end insted of one I am also ...
0
votes
1answer
35 views

NGINX accessing the files in the wrong path

I have a codeigniter application that has the following directory structure <HOME> |_ <web> | |_<API> | |_index.php |_<admin> The developers have an index....
0
votes
1answer
77 views

Nginx wrong path for include file in CodeIgniter

I’m adding new pages in CI (CodeIgniter 3) including footer, header and other .php files (made by CodeCharge Studio), CI pages (controllers) are running throw a /ci.php file and every thing runs well ...
0
votes
1answer
398 views

Nginx throws a 404 error when trying to access a CodeIgniter (PHP) controller

I'm trying to use CodeIgniter with Nginx. I'm on development so I'm running on localhost. This is my /etc/nginx/sites-avaiable/default file: # You may add here your # server { # ... # } # ...
0
votes
1answer
2k views

Codeigniter URL only work for default router

I've installed Codeigniter on Nginx with this configuration : server { listen 80; server_name myserver; root /usr/share/nginx/html; index index.php index.html index.htm; error_log /var/log/...
0
votes
1answer
193 views

Problems with Rewriting URLs having fcgid enabled

First some information about my server: Apache2 Version: 2.4 Modules: php5 : disabled; rewrite : enabled; suexec : enabled; fcgid : enabled; Php Version: 5.3.3 I am currently creating a website ...
0
votes
1answer
362 views

Apache2 not displaying one directory, causing .htaccess rules to fail. What's wrong?

I have a CodeIgniter installation in a VirtualHost on Apache2 on Ubunto Natty set up as follows: /application /system ... /www/index.php Here is my .htaccess which resides in /: <IfModule ...
0
votes
1answer
64 views

Multiple Rewrite conditions and rules for custom paths

At the moment I have… RewriteCond $1 !^(index\.php|img|css|js|fonts|jw|mail|uploads|user_guide) RewriteRule ^(.*)$ /index.php/$1 [L] However, I want to be able to rewrite a url like /page/about/ ...
0
votes
1answer
724 views

CodeIgniter http://127.0.0.1 page not found problem

I’ve recently started with Codeignigter on local windows machine. I have install the IIS and extracted only ci folder and place index.php, application, system and user_guide in C:\Inetpub\wwwroot. ...
0
votes
1answer
797 views

Stop Wordpress from hi-jacking CodeIgniter URLs using .htaccess

Wordpress installed at root web directory: /var/www/html/ CodeIgniter installed in a sub-directory: /var/www/html/ciapp/ When I access http://www.mysite.com/ciapp/ the main CI controller is ...
2
votes
0answers
2k views

Apache + Codeigniter + New Server + Unexpected Errors

Alright here is the situation: I use to have my codeigniter site at bluehost were I did not have root access, I have since moved that site to rackspace. I have not changed any of the PHP code yet ...
1
vote
0answers
173 views

elFinder with NFS: Unable to upload “image.jpg”

I have a NFS mount with permissions 770 on user:group "nfsbackup:nfsbackuo" with www-data as member of group nfsbackup. This is my server connector configuration in PHP, using CodeIgniter 2, working: ...
1
vote
0answers
413 views

nginx codeigniter rewrite: Controller name conflicts with directory

I'm trying out nginx and porting my existing apache configuration to nginx. I have managed to reroute the codeigniter url's successfully, but I'm having a problem with one particular controller whose ...
1
vote
0answers
52 views

codeignitor Halogy rewrite issue

I'm using a CMS called halogy built off codeignitor but can't figure out how to get it to work correctly in IIS. I think its related to the rewrite from Apache (works fine on Apache) heres the ....
1
vote
0answers
447 views

Nginx + php5-fpm + CodeIgniter Response Too Slow

I have installed nginx, php5-fpm and setup codeigniter with REST controller on Ubuntu 12.04 LTS. The configurations work but response is too slow at times, even with just a single user. Sometimes the ...
1
vote
0answers
572 views

500 Error when logging into subdomain using codeigniter

I have a website that has been setup and working fine for ages. It's built using Code Igniter. It's run using .htaccess files to restrict access and hide urls. All fine. Until a couple of days ago ...
1
vote
0answers
1k views

only removing index.php rule works on my NginX and CodeIgniter as rewrite. Why?

Although I've spent 2 days reading on forums, I still can't get some Codeigniter rewrites working in Nginx. Here is the server configuration: server { listen *:80; server_name artademy.com ...
0
votes
0answers
59 views

Codeigniter links not working without index.php

I have a code igniter application that used to work properly in wamp, but after shifting to lamp it stopped working normally. Also I have used Modular Extensions to make my app follow HMVC Only the ...
0
votes
0answers
70 views

Too Many database connections on Amazon RDS dropping connection

I need to import a large user base in my application. But while stress and load testing I found that, after 200-300 concurrent requests, mysql starts rejecting the calls and gives the below error. ...
0
votes
0answers
96 views

Nginx Codeigniter have double slash in url

im new to nginx and have the following problem: i tried to remove index.php, and config nginx to work properly with CI and done the following config server { listen 80; listen [::]:80; ...
0
votes
0answers
193 views

Error “Could not read long value, too big with” Memcached

My website has 3 servers, 2 in these servers is webservice and 1 server i'm using for store object to memcached. 2 webservers are using remote connection to reading and writing data from memcached ...
0
votes
0answers
110 views

nginx url rewriting , file not found, codeigniter

I have this line in my config nginx file location / { try_files $uri $uri/ /index.php; } but this request always triggers a not found error: example.com/file.php how can I catch this ...
0
votes
0answers
22 views

how to: conditional codeignitor config

I want to be able to change the cache dir depending whether or not a user is logged in. I'm trying to do this from within the head.php view and have tried a bunch of methods including: $CI =& ...
0
votes
0answers
38 views

odbc - codegniter - 2 databases but connects only 1 database

we have a huge problem with database.php to azure database. 1 application run already. codeigniter to azure database in / 2 application : /development same files, same database.php only database is ...
0
votes
0answers
123 views

Nginx Removes the index.php from URL

I have a codeigniter php application on nginx. It works as expected on Apache but after moving to nginx, I noticed that the index.php is automatically removed from the URL in all my links. Infact when ...
0
votes
0answers
150 views

I got “Request exceeded the limit of 10 internal redirects”?

I have a rewrite RewriteEngine on RewriteBase / RewriteCond %{HTTP_HOST} ^(.*).club.domain.net$ RewriteRule ^(.*) %{HTTP_HOST}$1 [C] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}...