Questions tagged [codeigniter]

CodeIgniter is an open source MVC framework for PHP.

From the website: CodeIgniter is a powerful PHP framework with a very small footprint, built for PHP coders who need a simple and elegant toolkit to create full-featured web applications.

Links

69 questions
1
vote
1 answer

Stop WordPress from hi-jacking CodeIgniter URLs using .htaccess

WordPress is installed in the root web directory: /var/www/html/ CodeIgniter is installed in a sub-directory: /var/www/html/ciapp/ When I access http://www.example.com/ciapp/ the main CI controller is accessed and executed correctly. However, if I…
Jake Wilson
  • 8,814
  • 29
  • 97
  • 125
1
vote
2 answers

Trying to run a codeigniter app on custom php

I have a CodeIgniter app that I deployed to a server with php 5.2 and my dev box has 5.3, and some stuff doesn't work anymore. I didn't want to upgrade php and risk the other app on the server having issues. Anyway I compiled a custom PHP and…
hamstar
  • 745
  • 3
  • 9
  • 20
1
vote
2 answers

How to best maintain security with a contractor installing a PHP/CodeIgniter/MySQL app?

I've been working with an offshore developer on an alpha version of my web app. He's going to be installing it on my server soon, and while I trust him, I also want to be prudent. How can I structure his access to the server and MySQL to allow him…
Greg
1
vote
2 answers

CodeIgnitor Error 403 Access forbidden

I extracted CodeIgnitor to XAMPP's htdocs and when I tried to access index.php like this: h t t p://127.0.0.1/ci/index.php I get the following error message: Access forbidden! You don't have permission to access the requested object. It is either…
Anthony
  • 201
  • 1
  • 6
  • 12
1
vote
1 answer

How to Set Up folder Based Virtual Hosting (Vhosts) With Apache Web Server on ubuntu like /localhost/site1 localhost/site2

I am trying to configure virtual hosts with multiple sites with codeigniter based on folders on ubuntu 18 with Apache2. By this what I mean is site1 is to be accessed by using url http://localhost/site1 and site2 is to be accessed by using url…
1
vote
1 answer

Error Log for Apache, PHP, and Codeigniter

In our Apache access logs, we've noticed users occasionally getting a 500 error. It is likely a database query problem within our CodeIgniter code. We can't be sure how to fix it until we see the error. So, I'm trying to get the error printed to the…
Christian
  • 81
  • 6
0
votes
1 answer

DigitalOcean load balancer health checks flooding my CodeIgniter sessions

I've been trying to figure this one out for a while now, but so far no success. After contacting DigitalOcean support a couple of times, I'm even more lost. I have the following setup: domain points to a DO loadbalancer which is in front of two app…
0
votes
2 answers

nginx + codeigniter configuration not working on CentOS 7?

I am new on nginx and try to find the issue on StackOverflow but not found the exact one on forums. After successful installation of nginx, MySQL and php-fpm I test the php.info that was working fine. I am moving the CodeIgniter project to the nginx…
NomanJaved
  • 111
  • 1
  • 7
0
votes
3 answers

How to enable .htaccess file in windows server

I am new to windows server and I'd usually used .htaccess file which is not working in a windows server. How can I enable .htaccess file in windows server.?
Hanan Ashraf
  • 119
  • 1
  • 4
0
votes
1 answer

How to configure NGINX location to serve Codeigniter RESTful API in sub directory of server?

I have the following directory structure: mysite.com - /api (codeigniter RESTful API Server) - /app (backbonejs app) I'm trying to configure NGINX to point all requests for mysite.com/api* to the api directory and use Codeigniter's setup.…
David
  • 841
  • 3
  • 14
  • 31
0
votes
1 answer

Nginx codeigniter setup

I'm trying to set up Nginx to serve CodeIgniter as per the official docs: https://www.nginx.com/resources/wiki/start/topics/recipes/codeigniter. The problem is, I have no clue what the directive fastcgi_pass 127.0.0.1:9000 is supposed to do. I mean,…
ankush981
  • 257
  • 2
  • 4
  • 11
0
votes
1 answer

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 { # ... # } # statements for each of your virtual hosts to this…
user2719875
  • 129
  • 1
  • 7
0
votes
1 answer

How do I remove index.php from url in CodeIgniter 2.2

I have tried all the methods I can find on the web but nothing seems to work. I still get a 404 page. I already modified $config['index_page'] = ''; and add the lines to .htaccess as suggested by the ci documentation site. Please help. I am stressed…
0
votes
3 answers

How do I map root domain to external subdomain

I'm trying to map somedomain.com to here.anotherdomain.com. I can do any sub domains of the original using a CNAME but the root domain ( somedomain.com ) needs an A record. This is currently set to the ip address of the server ( anotherdomain.com…
jhodgson4
  • 111
  • 1
0
votes
1 answer

Configuring .htaccess on a site with a CodeIgniter app and traq issue tracker

I have this site running on CodeIgniter and I have installed traq for issue tracking. Under public_html I have my application and system directory as well as an assets directory, and also traq. i.e.: public_html ├── application ├── assets ├──…
alexg
  • 101
  • 4