Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: routes with namespace & filter not work proper
Post: RE: routes with namespace & filter not work proper

Not 100% sure, but as far as I understand the documentation your filter and namespace options should be an array PHP Code: -- $routes->get("dashboard", "DashboardController::index", ["namespace" ...
396 Views
4 Replies
07-07-2021, 12:11 AM
salain
    Thread: 500 Internal Server Error on Web Server for subpages
Post: RE: 500 Internal Server Error on Web Server for su...

Hi, You need rewrite engine on! Change: RewriteEngine On That would be a good start.
368 Views
4 Replies
06-21-2021, 12:13 AM
salain
    Thread: orderBy() function is not working when delete() function is used in query builder.
Post: RE: orderBy() function is not working when delete(...

Hi, You should use  whereIn() with a subquery Put your orderBy and limit clause in the subquery. Look at the documentation here (https://www.codeigniter.com/user_guide/database/query_builder.html#l...
492 Views
5 Replies
05-27-2021, 12:09 AM
salain
    Thread: Myth:Auth or codeigniter-shield
Post: Myth:Auth or codeigniter-shield

Hi, I have notice on github a new authentication repository for Codeigniter 4 from @Kilishan. So I would like to know if codeigniter-shield is a replacement for Myth:Auth ? As I am starting a n...
1,510 Views
3 Replies
01-07-2021, 05:23 AM
salain
    Thread: Search Criteria Ignored, Only Redirects to Else Statement
Post: RE: Search Criteria Ignored, Only Redirects to Els...

Hi, I am not familiar with MATCH but I can see in the model search method you split (explode) the search string on spaces then concatenate it with no space. So my guess is you end up with a searc...
6,099 Views
17 Replies
06-14-2019, 12:18 AM
salain
    Thread: Search Criteria Ignored, Only Redirects to Else Statement
Post: RE: Search Criteria Ignored, Only Redirects to Els...

Hi, It looks like the code in controller recipe.php is missing the opening curly brace for the if statement.
6,099 Views
17 Replies
06-13-2019, 11:15 PM
salain
    Thread: getting a not found error
Post: RE: getting a not found error

Hi, My best guess is mod_rewrite is not working properly. One way to check is to run phpinfo and look at the Loaded Modules in apachehandler if mod_rewrite is listed. Or look in your /etc/httpd/...
4,969 Views
13 Replies
04-11-2019, 01:50 AM
salain
    Thread: getting a not found error
Post: RE: getting a not found error

Hi, I cannot remember where I got this. but I had issues before using capital letters in URL before with CI. Do you have any route or does mod_rewrite work to remove the index from the url? Som...
4,969 Views
13 Replies
04-10-2019, 07:07 AM
salain
    Thread: getting a not found error
Post: RE: getting a not found error

Hi, Change :redirect('/Configure/index'); //success For : redirect('/configure/index'); //success And it should all work
4,969 Views
13 Replies
04-10-2019, 03:22 AM
salain
    Thread: Phpstorm $this->model_name->method() highlighted
Post: RE: Phpstorm $this->model_name->method() hig...

Hi, Solution Here (https://forum.codeigniter.com/thread-66123.html)
1,071 Views
3 Replies
03-13-2019, 04:19 AM
salain
    Thread: How to show date rows equals current date?
Post: RE: How to show date rows equals current date?

Hi, I would suggest you change the structure of your table to have 2 date columns (start_date and end_date). This way you can use simple date functions from PHP or MySQL to built your query.
19,168 Views
36 Replies
03-05-2019, 11:22 PM
salain
    Thread: Uploading text file without saving?
Post: RE: Uploading text file without saving?

Hi, If you don't want to save the file and only display it in the browser, you could use JavaScript to do it in the user's browser. Have a look at this solution on StackOverFlow (https://stackover...
1,897 Views
2 Replies
02-14-2019, 11:15 PM
salain
    Thread: CI v1.5.4 Session question
Post: RE: CI v1.5.4 Session question

Hi Freja, I have an unmodified copy of 1.7.2 if it can help you Cheers
1,961 Views
6 Replies
12-19-2018, 08:05 AM
salain
    Thread: [old] CodeIgniter4.0.0 Development
Post: RE: CodeIgniter4.0.0 Development

Great!
9,332 Views
5 Replies
10-02-2018, 11:00 PM
salain
    Thread: Global Variable?
Post: RE: Global Variable?

Hi, This is not working because the controller is reinitialized on the second call. For this to work you need to use something to keep the value of $global like session or a variable in your vi...
1,269 Views
2 Replies
09-23-2018, 10:11 PM
salain
    Thread: New page can not be opened
Post: RE: New page can not be opened

Hi, What is the URL that gives your the 404 error?
2,287 Views
3 Replies
09-20-2018, 12:18 AM
salain
    Thread: Road to 4.0.0
Post: RE: Road to 4.0.0

Fantastic!!
21,258 Views
14 Replies
09-13-2018, 09:20 PM
salain
    Thread: Testers wanted please.
Post: RE: Testers wanted please.

Hi, Would love to try it out. Where can I get the code as ignitedcms repo on github has not been updated for 2-3 years. Thanks
7,674 Views
13 Replies
09-13-2018, 09:19 PM
salain
    Thread: I want to convert this Core PHP code to Codeignitor Framework
Post: RE: I want to convert this Core PHP code to Codeig...

Hi I would suggest you read the manual and use the  tutorial (https://www.codeigniter.com/user_guide/tutorial/index.html#tutorial)  it covers everything to convert your sample code. Best of luck...
959 Views
1 Replies
08-16-2018, 11:50 PM
salain
    Thread: FIND_IN_SET() how to implement in mysql and codeigniter
Post: RE: FIND_IN_SET() how to implement in mysql and co...

Hi, Use where_in with the content of the user's category_id field. some thing like this: PHP Code: -- $this->db->where_in('category_id',$users->category_id)->get('category'); --
11,658 Views
6 Replies
08-01-2018, 10:40 PM
salain

Theme © iAndrew 2016 - Forum software by © MyBB