Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Routes problem
Post: RE: Routes problem

Just out of curiosity, what happens if you change (:num) to (:any), and move the new route between the lines: Code: -- $routes->add('korisnik/promjenaPodataka', 'Pers/UserProfil::promjenaPodatak...
5,225 Views
8 Replies
06-14-2020, 11:46 AM
burgoyn1
    Thread: redirect() function clears out any set_cookie
Post: redirect() function clears out any set_cookie

If you set a cookie, then redirect to another page, the cookie does not get set. This used to work in codeigniter 3. PHP Code: -- helper( 'cookie' ); set_cookie( 'my_new_cookie', 'this is some cooki...
961 Views
0 Replies
06-14-2020, 01:04 AM
burgoyn1
    Thread: Bug in routes with path in controller
Post: RE: Bug in routes with path in controller

midhunlalkc Wrote: (11-30-2019, 05:41 AM) -- Am also experiencing the same issue with routes with parameters PHP Code: -- $routes->group('usergroups', ['filter' => 'ajax'], function($routes){ $...
13,057 Views
13 Replies
12-04-2019, 06:24 AM
burgoyn1
    Thread: Slow DB queries with MS-SQL
Post: RE: Slow DB queries with MS-SQL

Indexes. Somewhere in your query whatever you are trying to search on is not indexed so to find the data it has to read all 17,000 rows. If you set an index on the value you are looking up, it should ...
4,446 Views
3 Replies
02-01-2017, 03:09 AM
burgoyn1
    Thread: Codeigniter database connection error
Post: RE: Codeigniter database connection error

These errors have nothing to do with codeigniter, but your database. Generally this error comes up when you are trying to connect to it over an ip or port which is not allowed. Most of the time, it ...
22,110 Views
6 Replies
02-01-2017, 03:06 AM
burgoyn1
    Thread: Anonymous function Validation
Post: RE: Anonymous function Validation

In case anyone else wants to do this or runs into a similar issue, I found a solution to the problem which is not ideal, but will work. Turns out, you can't directly call another function in another c...
6,687 Views
5 Replies
01-31-2017, 04:37 AM
burgoyn1
    Thread: Anonymous function Validation
Post: RE: Anonymous function Validation

@PaulD It is a callback and does work and run the function but the set_message just is not working. The issue with doing it the way you suggest is that you now have processing stuff in your control...
6,687 Views
5 Replies
01-30-2017, 01:45 PM
burgoyn1
    Thread: Anonymous function Validation
Post: Anonymous function Validation

I am trying to use a function from another class as a validation function. The validation is able to call the function just fine and run it, but it will not return the error message for me to display ...
6,687 Views
5 Replies
01-29-2017, 10:00 PM
burgoyn1

Theme © iAndrew 2016 - Forum software by © MyBB