Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter & Resin issue
#1

[eluser]Unknown[/eluser]
Just started playing around with CodeIgniter... great stuff! Would like to deploy on Resin (which has PHP support via Quercus) and ran into issue early. Googled and checked these forums and didn't see anything specifically related so figured I'd start this thread. Here are the steps I've taken so far:
(*** must have java in order to run resin, I'm running this on mac)

> curl -O http://caucho.com/download/resin-4.0.0.tar.gz
> tar xfz resin-4.0.0.tar.gz
> curl -O http://codeigniter.com/download_files/Co..._1.7.1.zip
> unzip CodeIgniter_1.7.1.zip
> cd CodeIgniter_1.7.1
> mv index.php ../resin-4.0.0/webapps/ROOT/.
> mv system/ ../resin-4.0.0/webapps/ROOT/.
> cd ../resin-4.0.0/webapps/ROOT
> mv index.jsp index.bak
> ../../bin/resin.sh
> curl http://localhost:8080/index.php/welcome/index

Results in 404: "The page you requested was not found."

Did a little digging, found if I add the following to URI.php just under the _explode_segments function things work as expected:
$this->segments = array();

I'll keep digging as time permits, just wanted to start a thread to document what I find.




Theme © iAndrew 2016 - Forum software by © MyBB