Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: REST Server error (unable to locate class session.php)
Post: RE: REST Server error (unable to locate class sess...

We had a custom controller (my_controller.php) that was causing this error. Once I disabled it, things are working fine on the api Is there a way to run the site that exposes REST API side by side ...
2,495 Views
2 Replies
02-25-2017, 09:39 AM
krishg
    Thread: REST Server error (unable to locate class session.php)
Post: REST Server error (unable to locate class session....

I setup the RestServer from https://github.com/chriskacerguis/codeigniter-restserver Trying to run the api example on my server. Using CI 3.0 Copied the example.php to the directory  /applicatio...
2,495 Views
2 Replies
02-24-2017, 05:43 PM
krishg
    Thread: Adding REST API for our site
Post: Adding REST API for our site

We are a code igniter 3.2 site and are looking to build a mobile app. I have looked at the restserver framework on top of code igniter - https://github.com/chriskacerguis/codeigniter-restserver ...
3,650 Views
3 Replies
02-24-2017, 01:15 PM
krishg
    Thread: URI handling
Post: RE: URI handling

I figured out it's due to permitted_uri_characters. Is there a graceful way to handle this?
1,914 Views
1 Replies
10-28-2016, 04:39 PM
krishg
    Thread: URI handling
Post: URI handling

On CI 3.1.0 For my site If I enter http:///search/results?type=event, all works fine However if I enter http:///search/results/&type=event  I get this error Fatal error: Class 'CI_Controller'...
1,914 Views
1 Replies
10-28-2016, 04:31 PM
krishg
    Thread: Session file - Message touch error
Post: Session file - Message touch error

I am using the files driver and session files are getting created in APPPATH/sessions directory httpd is running as user apache. On some pages, I get this error Message touch: unable to create ...
1,391 Views
0 Replies
10-21-2016, 04:20 PM
krishg
    Thread: Session files keep being created
Post: RE: Session files keep being created

Not sure why CI treats other page visits as a new session. Same browser, just visiting other pages in the site.
2,353 Views
2 Replies
10-21-2016, 03:15 PM
krishg
    Thread: Session files keep being created
Post: Session files keep being created

For the same user browsing the site, I keep seeing many session files being generated. The session config I have is Code: -- $config['sess_driver'] = 'files'; $config['sess_save_path'] = APPPATH.'s...
2,353 Views
2 Replies
10-21-2016, 12:17 PM
krishg
    Thread: Autoload of Session library
Post: Autoload of Session library

I am autoloading database and session libraries in autoload.php $autoload['libraries'] = array('database', 'session');  in autoload.php The models and other controllers that I am loading in MY_C...
1,791 Views
1 Replies
10-06-2016, 02:59 PM
krishg
    Thread: Best practice for handling assets (images/css etc)
Post: Best practice for handling assets (images/css etc)

Dear CI community! Our assets folder is at the same level as the application and system folder. So, we have created a rule in .htaccess to handle URIs starting with /assets Is there a best pr...
4,207 Views
2 Replies
10-06-2016, 09:55 AM
krishg
    Thread: File Upload allowed_types issue
Post: RE: File Upload allowed_types issue

krishg Wrote: (10-05-2016, 06:34 PM) -- I am trying to upload a .jpeg file using the CI uploader. Doing a migration from C1 2.x to CI 3.0 Code: -- $config['upload_path'] =  $this->imgUploadFolder; ...
4,439 Views
1 Replies
10-05-2016, 08:47 PM
krishg
    Thread: File Upload allowed_types issue
Post: File Upload allowed_types issue

I am trying to upload a .jpeg file using the CI uploader. Doing a migration from C1 2.x to CI 3.0 Code: -- $config['upload_path'] =  $this->imgUploadFolder; $config['allowed_types'] = 'gif|jpg|png|...
4,439 Views
1 Replies
10-05-2016, 06:34 PM
krishg
    Thread: Form Validation Issue
Post: RE: Form Validation Issue

krishg Wrote: (10-03-2016, 09:24 PM) -- FWIW, I used a callback function for the form validation. That does not get called as well. I get this in the log file DEBUG - 2016-10-03 21:05:35 --> Unabl...
5,432 Views
5 Replies
10-03-2016, 09:44 PM
krishg
    Thread: Form Validation Issue
Post: RE: Form Validation Issue

FWIW, I used a callback function for the form validation. That does not get called as well. I get this in the log file DEBUG - 2016-10-03 21:05:35 --> Unable to find callback validation rule: datet...
5,432 Views
5 Replies
10-03-2016, 09:24 PM
krishg
    Thread: Form Validation Issue
Post: RE: Form Validation Issue

InsiteFX Wrote: (10-03-2016, 06:14 PM) -- Are you missing the ending / slash on both of your regex_match? -- Don't think so. It's there after the $ sign.  It worked just fine in CI 2.0.
5,432 Views
5 Replies
10-03-2016, 06:38 PM
krishg
  Wink Thread: Form Validation Issue
Post: Form Validation Issue

Migrating from CI 2.x to 3.0. This form validation issue is tripping me. Here is what I have i Code: -- if(!isset($_POST['event_create'])){ $this->form_validation->set_rules('url', 'URL', 'req...
5,432 Views
5 Replies
10-03-2016, 02:30 PM
krishg
    Thread: Routing Issue - Windows vs Linux
Post: RE: Routing Issue - Windows vs Linux

Narf Wrote: (10-03-2016, 12:48 AM) -- 'Index' controllers are documented as "reserved names" (https://codeigniter.com/userguide3/general/reserved_names.html) and shouldn't be used. They are not te...
4,195 Views
4 Replies
10-03-2016, 08:11 AM
krishg
    Thread: Routing Issue - Windows vs Linux
Post: RE: Routing Issue - Windows vs Linux

Thanks. Yeah, that was it. I didn't realize that I had to change all the model files in my modules directory to UpperCase first.
4,195 Views
4 Replies
09-30-2016, 04:47 PM
krishg
    Thread: Routing Issue - Windows vs Linux
Post: Routing Issue - Windows vs Linux

I am migrating from CI 2.x to 3.0. I tested the migrated code on my Windows machine and it works fine. I am testing now on AWS Linux box and stuff is breaking. Getting 404s on my home page. The ...
4,195 Views
4 Replies
09-29-2016, 03:24 PM
krishg
    Thread: getting routing to work
Post: RE: getting routing to work

InsiteFX Wrote: (09-25-2016, 04:46 AM) -- He's using Modules. Who created the modules and what version are they? If they are modules created by @Wiredesignz then you need to download the CI ve...
3,416 Views
3 Replies
09-25-2016, 06:10 AM
krishg

Theme © iAndrew 2016 - Forum software by © MyBB