Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 13,538
» Latest member: olawale
» Forum threads: 69,383
» Forum posts: 431,186

Full Statistics

Latest Threads
problems in insert checkb...
Forum: General Help
32 minutes ago
» Replies: 7   » Views: 132
[Resolved] Email blocked
Forum: News & Discussion
3 hours ago
» Replies: 6   » Views: 3,693
How to create templates
Forum: General Help
10 hours ago
» Replies: 6   » Views: 278
Link veiws within a funct...
Forum: General Help
10 hours ago
» Replies: 1   » Views: 53
CI4 Validation - how use/...
Forum: CodeIgniter 4 Support
Yesterday, 11:06 PM
» Replies: 5   » Views: 194
Texts with accented chara...
Forum: General Help
Yesterday, 11:00 PM
» Replies: 0   » Views: 35
Suggested hosting
Forum: Lounge
Yesterday, 03:18 PM
» Replies: 3   » Views: 91
User Profile Creation
Forum: General Help
Yesterday, 01:08 PM
» Replies: 2   » Views: 83
SSL for my localhost
Forum: General Help
Yesterday, 09:15 AM
» Replies: 1   » Views: 85
When will be Codeigniter ...
Forum: CodeIgniter 4 Discussion
Yesterday, 08:09 AM
» Replies: 3   » Views: 211

 
  Link veiws within a function
Posted by: Mekaboo - Yesterday, 11:50 PM - Forum: General Help - Replies (1)

Hello all!

I have a login page that has a register button. Issue is that when I cant link the register button to my register_page.php. I keep getting 404 PAGE NOT FOUND when I have the page in my view folder. This is my code:

    public function index()
    {
        $this->load->view('welcome_message');
    
    }
    public function hello()
    {
        $this->load->view('header');
      $this->load->view("login");
          $this->load->view('footer');
    }    
    public function register()
    {
        $this->load->view('header');
      $this->load->view("register_page");
          $this->load->view('footer');
    }    

    
   
Do I have to have multiple functions or just have one? Do I use an anchor? Ive tried a different controller(Register.php) but that didnt work either. Thanks for the help.



Heart Heart ,
Mekaboo


  Texts with accented characters being saved as NULL with PHP-FPM and MySQL
Posted by: fschuindt - Yesterday, 11:00 PM - Forum: General Help - No Replies

Hi there, folks.

I'm facing this issue for more than a week without any clue what to do. I've posted it on Stack Overflow and also spent sometime discussing it on #php at irc.freenode.net. I was advised to seek for more CI specialized support, so here I am.

I'm going to leave the URL for the Stack Overflow question, is that ok? I think this way you folks can read what I was asked about.

Here is it:
https://stackoverflow.com/questions/5575...-and-mysql

Any tip?

Thanks a lot!


  Suggested hosting
Posted by: MarkWS7M - Yesterday, 09:54 AM - Forum: Lounge - Replies (3)

Hi all,

Having done some CI sites before, I've decided for this current project to use CI again.

This new project will potentially have a lot of users of various kinds.  Not all of course will be online at the time time.  In addition the site will need to support document uploads and downloads of scanned documents.  It will be a web app that we sell to users the services it provides.

There will be need for the site to run some automatic utilities such as scanning a table and sending out "update" emails to expired users.  There will be some date related stuff where a scan will occur and if something has been been done by a date then emails are sent etc.

At first, since this thing has not been sold yet we are probably going to host with a smaller typical host like SiteGround or something fairly inexpensive.

However if this thing goes where we hope it goes we will need much more.   I have little experience in the "much more" category.  I know that we can fire up either VM or static hosts on things like Amazon, but what else is there for high speed, high demand sites?

It seems you go from "shared" to dedicated type hosting.   Are there any great deals, things to stay away from? etc?

The principles of this project are not webadmins and I don't want to do that job either so if this grows we will likely hire a webadmin but I'm hoping we can find a site with some reasonable services built right in.   

Any suggestions, thoughts, ideas?

For the start, the low-end, anyone have any recommendations?  SiteGround ok?

thanks in advance!


  SSL for my localhost
Posted by: richb201 - Yesterday, 08:08 AM - Forum: General Help - Replies (1)

I use google oauth2 in my app. I have my site secured by RapidSSL. It works fine. I am also trying to develop on my localhost. The error I get on my localhost is "OAuth2 request failed: Service responded with error:". I think that oauth2 requires a host to be ssl. Has anyone run across this? Where can I get a quick, cheap, ssl cert to use on my local Apache on localhost?


  When will be Codeigniter 4 Stable Release Date??
Posted by: abhishek.tailor_darteweb.com - Yesterday, 12:04 AM - Forum: CodeIgniter 4 Discussion - Replies (3)

When will be release codeigniter 4 stable version?


  User Profile Creation
Posted by: Mekaboo - 04-18-2019, 11:29 PM - Forum: General Help - Replies (2)

Hello Heart 

I wanted to see if anyone knew of a good template to use for creating user profiles(a la social network). I have login/register made and found a cool admin management repo via github that I will be looking to implement and adjust. I just need to user profile to compliment it. Are there any out there? Ive been searching for some already made and I can just tweak to fit what I want but can do from scratch as well. Thank you so very much!!

Heart  Heart ,
Mekaboo


  Clear Codeigniter libraries
Posted by: jqr91 - 04-18-2019, 09:36 AM - Forum: Installation & Setup - Replies (5)

Hello, i have to remove a libraries under system directory as "Image_Lib" Javascript folder because i must have a clear Codeigniter for Fortify scan. Smile

It's possible remove ?

thanks


  codeigniter 3.1.10 index.php code is not concise
Posted by: hap2000 - 04-18-2019, 05:29 AM - Forum: CodeIgniter 3.x - Replies (1)

codeigniter 3.1.10 index.php code is not concise,duplicate code in many.
$application_folder = strtr(
rtrim($application_folder, '/\\'),
'/\\',
DIRECTORY_SEPARATOR.DIRECTORY_SEPARATOR
);
Why not deal with it in one place?
for example:
arr=[dir1,dir2,dir3];
foreach($arr as $k=>$v) {
$arr[$k]= strtr(
rtrim($v, '/\\'),
'/\\',
DIRECTORY_SEPARATOR.DIRECTORY_SEPARATOR
}


  csrf_exclude_uris with regex
Posted by: culkus - 04-18-2019, 05:12 AM - Forum: General Help - Replies (1)

Hi Guys,

Looking for a bit of help with getting wild cards into the csrf_exclude_uris.

I want to exclude all urls that are like the following /(anything)/page/view

I tried the following \/*\/page\/view but no dice.

Many thanks for any help

Thanks

Colin


  Uncaught ReferenceError: $ is not defined - Datepicker - Codeigniter 3
Posted by: Porto - 04-18-2019, 03:28 AM - Forum: Model-View-Controller - Replies (3)

Hello Guys, Greetings!

First of all, thank you so much for the help!

Scenario:

1° I use codeigniter

2° I added this very simple script in my VIEW FILE.
(https://jqueryui.com/datepicker/#default)

3° This is the error message that i receive in the browser:

Code:
Uncaught ReferenceError: $ is not defined at VM113 info:21
(anonymous) @ VM113 info:21

This my controller method:



Code:
public function info()
{
   $data['pagetitle'] = 'general use';

   $this->load->view('theme/header1');
   $this->load->view('multiform/register2',$data);
   $this->load->view('theme/footer');
}


This my Header VIEW file: header1



Code:
<!DOCTYPE html>
<html lang="en">
<head>  
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>Teste</title>

<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/testelib/jquery-ui.min.css">  

<script type="text/javascript" defer src="<?php echo base_url(); ?>assets/testelib/jquery-3.3.1.min.js"></script>

<script type="text/javascript" defer src="<?php echo base_url(); ?>assets/testelib/jquery-ui.js"></script>

<script>

   $( "#datepicker" ).datepicker({
   inline: true
   });
</script>

This my VIEW file: register2


Code:
<p>Date: <input type="text" id="datepicker"></p>

PS: If i try this example with "all files in the same folder", the script works normally.

Just because the .js and .css Links of the Jquery Libraries are in separeted files, i got this conflict.

What should i do please?

Is that even possible to call the Jquery Script when the HTML-Attributenode is in another file??

Jquery Script - Header File
Code:
<script>

   $( "#datepicker" ).datepicker({
   inline: true
   });
</script>

HTML-Attributenode - VIEW File

Code:
<p>Date: <input type="text" id="datepicker"></p>


I would be MEGA Thanksful if someone can help me with it.



  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.