Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Custom Parser-plugin
Post: RE: Custom Parser-plugin

Thanks
853 Views
3 Replies
11-08-2022, 08:27 PM
salain
    Thread: Custom Parser-plugin
Post: Custom Parser-plugin

HI, I have a custom parser-plugin it work as expected except if I use any accent character in one of the parameters Simplified plugin: PHP Code: -- public static function link_logo( $params...
853 Views
3 Replies
11-08-2022, 07:41 AM
salain
    Thread: why doesn't this work?
Post: RE: why doesn't this work?

The "@" will suppress any php errors your function could raise.
1,125 Views
3 Replies
08-24-2022, 07:57 AM
salain
    Thread: Suggestion: Order by is null condition
Post: RE: Suggestion: Order by is null condition

Hi, If you are using MySQL NULL values are considered having a lower value than any none NULL value, so order by "fieldName" ASC will give you NULL values first. And The opposite order by "fieldName...
1,947 Views
2 Replies
08-17-2022, 06:19 AM
salain
    Thread: Security and paginate
Post: RE: Security and paginate

@kenjis The 500 internal error was codeigniter's web site. I have that error nearly all day yesterday.
3,355 Views
7 Replies
11-03-2021, 01:08 AM
salain
    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" ...
2,256 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.
10,078 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...
3,107 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...
6,251 Views
4 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...
14,201 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.
14,201 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/...
11,546 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...
11,546 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
11,546 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)
2,790 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.
40,737 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...
3,346 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
4,321 Views
6 Replies
12-19-2018, 08:05 AM
salain
    Thread: [old] CodeIgniter4.0.0 Development
Post: RE: CodeIgniter4.0.0 Development

Great!
14,340 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...
2,311 Views
2 Replies
09-23-2018, 10:11 PM
salain

Theme © iAndrew 2016 - Forum software by © MyBB