Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Error with email class in CI 3.1.8
Post: RE: Error with email class in CI 3.1.8

InsiteFX Wrote: (04-07-2018, 05:34 AM) -- ./system/libraries/Form_validation.php PHP Code: -- /** * Valid Email * * @param string * @return bool */ public function valid_email($st...
14,752 Views
23 Replies
04-07-2018, 08:38 AM
ardavan
    Thread: Error with email class in CI 3.1.8
Post: RE: Error with email class in CI 3.1.8

Paradinight Wrote: (04-06-2018, 11:53 AM) -- ardavan Wrote: (04-05-2018, 09:31 PM) -- @Paradinight thanks for your highlight I totally forgot that I made that mistake. BUT now I have another issu...
14,752 Views
23 Replies
04-07-2018, 08:35 AM
ardavan
    Thread: Error with email class in CI 3.1.8
Post: RE: Error with email class in CI 3.1.8

im using valid_email like this PHP Code: -- $this->form_validation->set_rules('email', 'lang:valid_email', 'trim|valid_email|is_unique[USERS.EMAIL]|required'); --
14,752 Views
23 Replies
04-06-2018, 08:31 PM
ardavan
    Thread: Error with email class in CI 3.1.8
Post: RE: Error with email class in CI 3.1.8

@Paradinight thanks for your highlight I totally forgot that I made that mistake. BUT now I have another issue haha which is valid_mail Now because of the form validation, I get an error but the e...
14,752 Views
23 Replies
04-05-2018, 09:31 PM
ardavan
    Thread: Error with email class in CI 3.1.8
Post: RE: Error with email class in CI 3.1.8

farukga Wrote: (04-05-2018, 01:02 AM) -- ardavan Wrote: (04-05-2018, 12:18 AM) -- i can't understand what's your mean by $this->email = "examplestring" and attribute $email = "examplestring" can yo...
14,752 Views
23 Replies
04-05-2018, 05:41 AM
ardavan
    Thread: Error with email class in CI 3.1.8
Post: RE: Error with email class in CI 3.1.8

i can't understand what's your mean by $this->email = "examplestring" and attribute $email = "examplestring" can you please give me a sample code? even im doing the same on another project with CI...
14,752 Views
23 Replies
04-05-2018, 12:18 AM
ardavan
    Thread: Error with email class in CI 3.1.8
Post: RE: Error with email class in CI 3.1.8

Paradinight Wrote: (04-04-2018, 12:14 PM) -- $this->email is a string not an object. Have you something like $this->email = "string" in the controller? or an attribute $email = "string" ? -- i am ...
14,752 Views
23 Replies
04-04-2018, 05:56 PM
ardavan
    Thread: Error with email class in CI 3.1.8
Post: RE: Error with email class in CI 3.1.8

php_rocs Wrote: (04-04-2018, 04:49 AM) -- @ardavan, What is the value for $this->config->item('from') and $this->config->item('appName')? What I mean to say is where (in your code) is the value for...
14,752 Views
23 Replies
04-04-2018, 05:54 PM
ardavan
  Bug Thread: Error with email class in CI 3.1.8
Post: Error with email class in CI 3.1.8

Hey everybody. I'm trying to use email class as usual. I have loaded the email library in the autoload.php and made an email.php file in my config folder and in my controller trying to send() the em...
14,752 Views
23 Replies
04-04-2018, 12:57 AM
ardavan
    Thread: how to share SESSION with WP
Post: RE: use CI session on microsite like wordpress

Hey Bob, thanks for your reply, So if you have done the opposite way, that means I can do another way around. basically, my microsite is a user management for the WordPress website and will generate s...
4,298 Views
4 Replies
03-26-2018, 11:27 PM
ardavan
    Thread: how to share SESSION with WP
Post: RE: use CI session on microsite like wordpress

isn't possible to just check that session in header.php in WordPress? so if i must edut every WP file that used session, how can be possible? could you show some demo code?
4,298 Views
4 Replies
03-26-2018, 05:39 PM
ardavan
  Question Thread: how to share SESSION with WP
Post: how to share SESSION with WP

Hi, everybody, I'm working on a microsite in CI and this microsite will generate some session data. on the same Host & domain, we have another website with is WordPress. I would like to make u...
4,298 Views
4 Replies
03-26-2018, 02:19 AM
ardavan
    Thread: getting non-object error only in log file
Post: RE: getting non-object error only in log file

Weird fact: When i type this in the controller, i DO NOT get any ERROR in the Log file PHP Code: -- var_dump($data['theForm']); -- But if I remove/comment the code above, The ERROR will appear...
4,364 Views
9 Replies
09-11-2017, 08:00 PM
ardavan
    Thread: getting non-object error only in log file
Post: RE: getting non-object error only in log file

InsiteFX Wrote: (09-11-2017, 03:04 AM) -- // should be $this->db->get_where($tablename, $cond->result_array()); [/php] -- I've never seen such thing as this ^ That's not gonna work... The $cond is ...
4,364 Views
9 Replies
09-11-2017, 07:47 PM
ardavan
    Thread: getting non-object error only in log file
Post: RE: getting non-object error only in log file

Something is wrong! I just realized it! even with this activerecord, PHP Code: -- $this->db->get_where($tablename, $cond)->result(); -- supposed to get the result in an array, but still is an object...
4,364 Views
9 Replies
09-10-2017, 07:24 PM
ardavan
    Thread: getting non-object error only in log file
Post: RE: getting non-object error only in log file

InsiteFX Wrote: (09-10-2017, 11:42 AM) -- Your $data is an associate array and your trying to assign an object to it. -- It shows another error Code: -- ERROR - 2017-09-11 10:01:57 --> Severity: Wa...
4,364 Views
9 Replies
09-10-2017, 06:36 PM
ardavan
    Thread: getting non-object error only in log file
Post: getting non-object error only in log file

hi, I'm trying to get my record from DB in an object and echo in the view page. I did this before and worked but this time I'm getting a weird error only in the log file NOT on the view page. also, ...
4,364 Views
9 Replies
09-09-2017, 09:16 PM
ardavan
    Thread: Problems with extending CI_Form_validation
Post: RE: Problems with extending CI_Form_validation

Martin7483 Wrote: (07-31-2017, 02:38 AM) -- Try using the subclass_prefix MY_ -- if I set the prefix, then I should change my Model and core Controller which I made by myself. which I don't want th...
10,618 Views
15 Replies
08-05-2017, 07:52 PM
ardavan
    Thread: Problems with extending CI_Form_validation
Post: RE: Problems with extending CI_Form_validation

Martin7483 Wrote: (07-31-2017, 12:32 AM) -- How are you loading the validation library? -- PHP Code: -- $autoload['libraries'] = array( 'database', 'email', 'session', 'form_validation'...
10,618 Views
15 Replies
07-31-2017, 02:23 AM
ardavan
    Thread: Problems with extending CI_Form_validation
Post: RE: Problems with extending CI_Form_validation

Martin7483 Wrote: (07-30-2017, 04:03 AM) -- Rename your class AdvancedValidation to Form_validation Rename the file from AdvancedValidation.php to Form_validation.php When loading CI_Form_validation...
10,618 Views
15 Replies
07-30-2017, 07:10 PM
ardavan

Theme © iAndrew 2016 - Forum software by © MyBB