Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Why This Solution Works on CI3 and PHP 7.1+
Post: Why This Solution Works on CI3 and PHP 7.1+

I have a CI3 (3.1.11) project on IIS with PHP 7.0 . It works without any error for years. Today i need to upgrade my projects environment to PHP 7.2.7 and then very big session problem occured. Whe...
989 Views
1 Replies
10-19-2020, 03:42 PM
mertdogan
    Thread: stackoverflow works but my site doesn't
Post: RE: stackoverflow works but my site doesn't

richb201 Wrote: (05-10-2018, 02:54 PM) --     $('#btnAbout').button().click(function () {     //  var newURL = "https://substantiator.com/Help/html/Introduction.html/";     var newURL = "http://sta...
3,856 Views
8 Replies
05-11-2018, 01:53 AM
mertdogan
    Thread: Function query
Post: RE: Function query

marconunes Wrote: (05-09-2018, 02:20 AM) -- I have the following query "$this->db->query("DBCC CHECKIDENT (usuarios, RESEED, 0)");", however it causes an error, is it a driver problem or is it missin...
1,148 Views
1 Replies
05-11-2018, 01:29 AM
mertdogan
    Thread: Send SMTP Mail Via SSL on PHP 7 Environment
Post: Send SMTP Mail Via SSL on PHP 7 Environment

I want to send mail by codeigniter Email Library. Everything works well on PHP 5.4.24 configuration but when i want to migrate to PHP 7 , a lot of SSL certificate problems occurs. I don't want t...
1,152 Views
1 Replies
05-10-2018, 10:34 PM
mertdogan
    Thread: CSRF Token and Cookie not matching
Post: RE: CSRF Token and Cookie not matching

iamthestreets Wrote: (08-29-2015, 04:10 PM) -- I am unable to login and submit any form because the Cookie and CSRF Token are not matching. I recently went away for 2 weeks and did not make any chang...
7,011 Views
8 Replies
01-16-2018, 06:44 AM
mertdogan
    Thread: or_group_start Problem
Post: RE: or_group_start Problem

Wouter60 Wrote: (02-25-2017, 01:35 PM) -- What's the result if you put the query builder elements in this order: PHP Code: -- $this->db ->from('TABLE') ->where('Z',false) ->or_group_start() ...
3,630 Views
2 Replies
02-25-2017, 03:45 PM
mertdogan
    Thread: or_group_start Problem
Post: or_group_start Problem

I have a query as PHP Code: -- $this->db->or_group_start()->where('X',$x)->where('Y',$y)->group_end()->where('Z',false)->from('TABLE')->count_all_results() -- and this results Code: -- SELECT ...
3,630 Views
2 Replies
02-25-2017, 11:41 AM
mertdogan
    Thread: View Data Issue
Post: RE: View Data Issue

Narf Wrote: (10-13-2016, 02:00 AM) -- mertdogan Wrote: (10-13-2016, 01:43 AM) -- dave friend Wrote: (10-12-2016, 02:32 PM) -- $a was set with the first view load.  Data passed to any view is cached...
7,655 Views
10 Replies
10-13-2016, 02:26 AM
mertdogan
    Thread: View Data Issue
Post: RE: View Data Issue

dave friend Wrote: (10-12-2016, 02:32 PM) -- $a was set with the first view load.  Data passed to any view is cached and is available to any subsequent views that are loaded. -- I want to ask a que...
7,655 Views
10 Replies
10-13-2016, 01:43 AM
mertdogan
    Thread: View Data Issue
Post: RE: View Data Issue

InsiteFX Wrote: (10-12-2016, 06:28 PM) -- You can use the below method but that means you will need to set all variables passed in: PHP Code: -- $this->load->clear_vars(); -- -- I don't know th...
7,655 Views
10 Replies
10-13-2016, 01:12 AM
mertdogan
    Thread: View Data Issue
Post: RE: View Data Issue

dave friend Wrote: (10-12-2016, 02:16 PM) -- By design the loader caches data passed via $this->load->view('test',$data); So, $a IS defined and remains so between calls to load->view. Try this var...
7,655 Views
10 Replies
10-12-2016, 02:29 PM
mertdogan
    Thread: View Data Issue
Post: View Data Issue

I found a bug for loading view with second array parameter. I use version 3.1.0. My controller function: public function test(){ $data=array('a'=>'A','b'=>'B'); $this->load->view('test',$data);...
7,655 Views
10 Replies
10-12-2016, 01:57 PM
mertdogan
    Thread: Add Exists Function To DB Helper
Post: RE: Add Exists Function To DB Helper

Yes i accept i can do what i want by simple queries like yours or i wrote as example. I only recommended a function like "count_all_results" that it has a lot of simple query alternatives like this. F...
5,189 Views
6 Replies
10-10-2016, 01:00 PM
mertdogan
    Thread: Add Exists Function To DB Helper
Post: RE: Add Exists Function To DB Helper

I don't think that it's too specific for framework because it's like "count_all_results" function. It can be counted simply with queries. But developer added this function for users may need. I think ...
5,189 Views
6 Replies
10-10-2016, 02:12 AM
mertdogan
    Thread: Add Exists Function To DB Helper
Post: RE: Add Exists Function To DB Helper

Thank you. This method really usefull. Yes you understand what i looking for. I'm using this query simply for search if exists: if($this->db->select('TOP 1 *',false)->from('TABLE')->where(array...
5,189 Views
6 Replies
10-09-2016, 04:21 PM
mertdogan
    Thread: Add Exists Function To DB Helper
Post: Add Exists Function To DB Helper

Sometimes we only want to know our criteria is there in the table. We don't want to count all of results. In small tables it's not problem with use count_all_results() or ->get()->num_rows() but with...
5,189 Views
6 Replies
09-29-2016, 04:49 AM
mertdogan
    Thread: Unknown type in sqlsrv_buffered_query::sqlsrv_buffered_query in
Post: Unknown type in sqlsrv_buffered_query::sqlsrv_buff...

I have a view in ms sql server database: Code: -- SELECT TOP (100) PERCENT dbo.YORUMLAR.ID, MAX(dbo.YORUMLAR.GONDERIMTARIHI) AS GONDERIMTARIHI, MAX(ALT_YORUMLAR.GONDERIMTARIHI) AS ALTYORUMG...
1,420 Views
0 Replies
03-22-2016, 11:43 AM
mertdogan
    Thread: $this->input->post() Broken Returned Data
Post: $this->input->post() Broken Returned Data

I'm using codeigniter 3.0.4 . I've experienced a problem and created a test structure for describe it here like below: Code: -- function dene1(){ $url = site_url('Giris/dene2'); $myvars = '_...
3,499 Views
2 Replies
01-25-2016, 04:42 AM
mertdogan
    Thread: ORDER BY QUERY BUILDER ISSUE
Post: ORDER BY QUERY BUILDER ISSUE

I hava a test query : Code: -- $this->db->where('1 IS NOT NULL',NULL,FALSE)->WHERE('X>','0')->FROM('X')->ORDER_BY('X','ASC')->count_all_results(); -- and it is generating error: Code: -- Err...
2,663 Views
3 Replies
01-23-2016, 02:02 AM
mertdogan
    Thread: Configuring Multi-Language Support
Post: RE: Configuring Multi-Language Support

Bhavesh Wrote: (01-18-2016, 09:38 PM) -- mertdogan Wrote: (01-18-2016, 01:35 PM) -- I want to build multi-language site. My config/config.php file has: $config['language'] = 'turkish'; setting....
10,496 Views
9 Replies
01-19-2016, 01:48 AM
mertdogan

Theme © iAndrew 2016 - Forum software by © MyBB