Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: NGINX / htaccess woes
Post: RE: NGINX / htaccess woes

Hello There is an example config at https://www.nginx.com/resources/wiki/start/topics/recipes/codeigniter/ Just change Code: --            location / {                try_files $ur...
8,942 Views
5 Replies
08-26-2017, 11:14 AM
Happy Camper
    Thread: Upload Quicktime file
Post: Upload Quicktime file

Hi I am trying to upload a quicktime file (.m4v) but it is failing saying i am trying to upload an invalid file type. Here is the relevant section from mimes.php PHP Code: -- 'qt' => 'vid...
2,692 Views
2 Replies
06-28-2016, 05:44 AM
Happy Camper
    Thread: Mongo DB and Codeigniter 3
Post: RE: Mongo DB and Codeigniter 3

dmyers Wrote: (06-06-2016, 04:54 PM) -- These should get you headed in the right direction: https://github.com/search?o=desc&q=codeigniter+mongo&s=updated&type=Repositories&utf8=✓ -- Thank You
6,352 Views
2 Replies
06-08-2016, 05:34 AM
Happy Camper
    Thread: Mongo DB and Codeigniter 3
Post: Mongo DB and Codeigniter 3

Hello Could anyone please point me in the direction of a working library and tutorial for using Mongo DB and Codeigniter together. All the ones I can find are old and reference a GitHub page which ...
6,352 Views
2 Replies
06-06-2016, 11:56 AM
Happy Camper
    Thread: REST api
Post: RE: REST api

Thanks
5,630 Views
5 Replies
05-15-2016, 02:45 AM
Happy Camper
    Thread: REST api
Post: RE: REST api

Thank You!
5,630 Views
5 Replies
05-14-2016, 02:23 PM
Happy Camper
    Thread: REST api
Post: REST api

Hi Could any one please direct me to a working tutorial on how to implement a REST api in CI 3? All the ones i can find online are based on CI 2. Thanks in advance
5,630 Views
5 Replies
05-14-2016, 09:19 AM
Happy Camper
    Thread: mysql_real_escape_string() expects parameter 1 to be string, array given
Post: RE: mysql_real_escape_string() expects parameter 1...

Wouter60 Wrote: (04-23-2016, 12:56 AM) -- Keep in mind the every element of the result_array() is an array itself. Usually it contains the fields you requested from your database. I guess that one o...
12,755 Views
7 Replies
04-23-2016, 08:09 AM
Happy Camper
    Thread: Database error 1064
Post: RE: Database error 1064

Hi I had a similar issue a while ago. I think just make sure the DB table is empty fixed it for me. Hope this helps. Sorry to be so vague!
13,214 Views
3 Replies
04-14-2016, 12:16 PM
Happy Camper
    Thread: Creating an Excel download
Post: RE: Creating an Excel download

Tried this and no joy unfortunately. It appears to be a Safari issue as it works on other browsers. This issue is widely reported on Google but no one has a solution for it. :-(
11,128 Views
7 Replies
03-29-2016, 04:30 AM
Happy Camper
    Thread: Creating an Excel download
Post: Creating an Excel download

In my app I have a function to create an  excel download from the database. I do this using a controller, a helper and a model Here is my controller, Excel.php PHP Code: --    public func...
11,128 Views
7 Replies
03-28-2016, 09:35 AM
Happy Camper
    Thread: Invalid file types (upload xls/xlsx)
Post: RE: Invalid file types (upload xls/xlsx)

As a first step, in your editor find the line which prints the error message Above this line insert the following PHP Code: -- var_dump($_FILES[]); exit; -- This will tell you what...
13,135 Views
3 Replies
12-28-2015, 12:28 PM
Happy Camper
    Thread: Else condition error in model
Post: RE: Else condition error in model

change your condition to PHP Code: -- if ($variable == "value1"){ //code }else if ($variable == "value2"){ //code }else{ //code } --
6,031 Views
3 Replies
12-26-2015, 07:15 AM
Happy Camper
    Thread: Email not working with sendmail
Post: RE: Email not working with sendmail

Similar to above, I've never used sendmaiil so can't really help here. Have you tried using phpMailer https://github.com/ivantcholakov/codeigniter-phpmailer   I find it works great however I ...
4,871 Views
3 Replies
12-24-2015, 04:30 AM
Happy Camper
    Thread: [Solved] Populate select dropdown with correct number of days when select month.
Post: RE: Populate select dropdown with correct number o...

why not use a date picker? (obviously depends on what you are trying to do) https://jqueryui.com/datepicker/ If you still need a select with the number of days in the month use http://php.n...
19,653 Views
8 Replies
12-21-2015, 04:26 AM
Happy Camper
    Thread: [Solved] Display multiple rows on calendar Question
Post: RE: Display multiple rows on calendar Question

Hello, The way I did this in the past was to have each cell in the calendar contain an unordered list  with a list item for each event happening on a particular day. So assuming there were 2 eve...
7,946 Views
4 Replies
12-19-2015, 04:03 AM
Happy Camper
    Thread: CSRF makes problem on search page
Post: RE: CSRF makes problem on search page

Hello I would say there is no need to use the code snippet you posted. Just enable CSRF protection in your config file and set 'csrf_exclude_uri' as required. http://www.codeigniter.com/userguide3/...
5,632 Views
5 Replies
12-12-2015, 03:14 AM
Happy Camper
    Thread: Problem with is_dir()
Post: RE: Problem with is_dir()

mwhitney Wrote: (08-18-2015, 06:57 AM) -- If you're using the 'files' driver for the session library, make sure 'sess_save_path' is set to an absolute path to a writable directory. In most cases, the...
11,426 Views
4 Replies
08-18-2015, 11:02 AM
Happy Camper
    Thread: Problem with is_dir()
Post: RE: Problem with is_dir()

Hello Did you ever resolve this? I am having a similar issue but only when I move my app to a server. It works fine on my local dev machine. Thanks in advance
11,426 Views
4 Replies
08-17-2015, 01:45 PM
Happy Camper
    Thread: Using CRUD with OO Models
Post: RE: Using CRUD with OO Models

Thanks ivan - some interesting reading here!
5,287 Views
2 Replies
06-07-2015, 02:35 AM
Happy Camper

Theme © iAndrew 2016 - Forum software by © MyBB