Quantcast
Channel: CodeIgniter Forums - All Forums
Browsing all 14343 articles
Browse latest View live

Problem when creating new pages

When adding a new page gives error. version codeigniter 1.7.2 An Error Was Encountered Unable to load the requested file: admin/pages/add_view.php please help.

View Article


Codeigniter Transactions Does Not Let Me Return Insert ID

Hello I am using codeigniter database transactions when I inset a new post it does not let me return $this->db->insert_id() How can I use db transactions and still be able to return the id of new...

View Article


[split] Not finding model

(06-24-2016, 04:29 PM)I am facing a big problem with codeigniter 4 Wrote: namespace App\Controllers; use CodeIgniter\Controller; use App\Models\NewsModel; class News extends Controller{   public...

View Article

[help] Unable to locate the specified class:Config

Hello, I get an error when I try to install CI. Can you help me ? Quote:Unable to locate the specified class: Config.php

View Article

Form validation not working

I trying many things to do form validation but it still not working and also documentation is not proper or correct, can you please give a proper example with a code. otherwise i thing i am wasting my...

View Article


Image may be NSFW.
Clik here to view.

Zip library - Large file processing

Hi, I am trying to create a zip file of various images. This works fine when there are a few images (size wise) but when the size of the total images exceeds a certain amount I get "Memory Allocation"...

View Article

CRM CodeIgniter

Hello! My name is Catalin. This is my first post / topic on this forum so I apology if I posed in the wrong place. I need a browser based solution for CRM + HRM + Finance + Billing + Project...

View Article

elimination of the index.php

Hello, I followed not badly of tutorial for the configuration but in my URL I always have the index.php present. here my file .htacess PHP Code: RewriteEngine OnRewriteCond %{REQUEST_FILENAME}...

View Article


What happened to Active Record ar_select?

Hello; I am upgrading a site from CI 2.0 to CI 3.1.3 and have come upon some code that accesses the CI AR internals called ar_select, ar_from, ar_join etc.  These seem to be completely gone in CI 3....

View Article


Have user id as part of file name

Hello, I am thinking about doing something similar to mybb attach file on the forum that I am creating codeigniter project I notice mybb when uploads file it addeds user id plus a hash...

View Article

Routing URI

Hello I would like to modify URI http://127.0.0.1/homepage/curriculum in http://127.0.0.1/curriculum is this possible? and how can one make? Thank you for your assistance

View Article

How can we improve CI 3 sessions?

Hi guys. How can we improve CI sessions. When we put it on the live server it only works with setting the path to a specific directory: sess_save_path = APPPATH . "/someDirectory" However, this fills...

View Article

Open pdf document

Normally I open a pdf document directly from a link but suppose I want to add conditionality so that eg the pdf would open before 12.00 but not after 12.00. In that case I would like the link to go to...

View Article


How do you guys go about developing great websites?

Hi guys, How do you go about developing great looking websites? Do you just dive straight into the coding (IMO should never do) Or do you create a Photoshop template, meticulously planning the colour...

View Article

Image may be NSFW.
Clik here to view.

Download file only when click on link in foreach loop

When I click on my preview button it downloads my file But I only want to be able to force download when I click on the path link in the foreach loop on view. Question how can I force download when I...

View Article


File Upload - success but 0 bytes

I am uploading a text file and there doesn't appear to be any error message but afterwards, the uploaded file is empty - 0 bytes. Here is the code I'm using. Any ideas. I've got other features that...

View Article

Devel Ver 3 worked - CI3 broken on live host

I have a site that's been running quite happily with CI for years, first on CI2 and for the last 2 years with CI3 development version.  Now that CI3 is officially out I thought I'd go through the...

View Article


2 databases, 1 transaction?

Hi all! My question is simple may be- Can I do the following: $this->db->trans_start() add(edit, delete) a record in database#1, load database#2, change $active_group, add(edit, delete) a record...

View Article

Community Auth - no grant for TRIGGER

Attempting to set up an application that can be used on any standard web hosting system. Most don't allow TRIGGER as a grant access to mysql. Is there a work around for this statement? delimiter $$...

View Article

Cookies makes Ajax ASync treat like Sync

Hello, I moved an existing project into the CodeIgniter Framework.  If I try to click on a link during JQuery Ajax Request which is still loading, I can't do anything on the page, meaning I can not...

View Article
Browsing all 14343 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>