Questions tagged [CodeIgniter] (308)

2
answers

How to implement a mechanism to ban and delete a user session?

Arose the need to have for the admins the ability to ban user on the website. He implemented the ban, but it is necessary that if there is a session (user is online) - she was purged or deleted immediately after pressing the button "ban", display the appropriate message. The first thing that comes to mind, using the table o...
Kacey38 asked April 19th 20 at 12:05
1
answer

The website does not run problem with the database,what's the problem?

Hello,I filled in the finished script on the host,bought the domain,made like all correctly in dB but when I run website- Database error. Unable to select specified database: database name Filename: core/MY_Controller.php Line Number: 4 what could be the reason?
jared_Zboncak asked April 18th 20 at 12:53
2
answers

Code igniter removes the styles from the line in textarea or input-a?

Good afternoon, typing in a textarea or input a text <p>aa<span style="background-color:#e74c3c">aaaa</span></p> and get <p>aa<span >aaaa</span></p> how to fix?
devon_Wiza asked April 16th 20 at 10:04
1
answer

Ckeditor truncates the text formatting?

Good day, screwed ckeditor in code igniter, but when I send to the server all tags are cut off in addition to the text, which was not formatted. Also tightened ckeditor naked project, but everything is working fine formatting of the text is not clipped. What's the problem?
austen_Gibson asked April 9th 20 at 10:38
1
answer

How to connect ckeditor to code igniter?

Good day, trying to connect in the usual way in the view <script src="<?=base_url();?>/application/libraries/ckeditor/ckeditor.js" type="text/javascript"></script> but it does not work, does not see
josianne asked April 9th 20 at 10:27
1
answer

Whether to use CodeIgniter 4?

Is it worth to use this framework after the big update?
Katelyn_Zula asked April 8th 20 at 02:58
0
answer

Part of the error in codeigniter form_validation not translated how to fix?

In the form of process parameters, the first parameter required is transferred, and min_length[8] no, checked all form_validation only the first parameter is translated, the subsequent go for the English. What is my mistake? Where to dig? $this->form_validation->set_rules( 'new-password' 'password', 'trim|required|min...
Myles_Cronin asked April 7th 20 at 16:31
1
answer

How to limit the number of uploaded avatars to the server user?

How to limit the number of uploaded avatars to the server user? For example one uploaded, if you still try, the picture will be canceled and not again loaded. b.d. It turns out I like: the user uploads a picture. The picture to the folder on the server images. From the database get the name and insert it into the img tag ...
christa_Baumba asked April 7th 20 at 11:44
0
answer

How to display success add a comment above the form when adding?

There are 2 method in the posts controller, 1 view method Method 2 comments In method 1, the logic to output publications and reviews to her In the 2nd method, add a comment (load a new view, where they write that review added) I need to withdraw that comment is not added in a new form, and in the same where I created the r...
lisandro68 asked April 7th 20 at 11:35
0
answer

Confused with set_flashdata?

Problem: After successfully adding comments to bring the message flashdata Adding comments through the method Comment() In the Posts controller Comment() { <?php $this->session->set_flashdata('message', 'Comment added successfully'); ?> } introduction: <?php echo $this->session->flashdata('message'); ...
kris_Rohan asked April 7th 20 at 11:33