5,407 questions
2 votes
1 answer
65 views
CodeIgniter 3 odbc affected rows
Running PHP 8. I have just upgraded CodeIgniter from 3.0.4 to 3.1.13. Before the upgrade, the affected_rows() worked fine and gave me the correct quantity. Now it just gives me a TypeError. This is a ...
1 vote
2 answers
112 views
Displaying about to expire items
I'm displaying Expired Items using this (codeigniter 3) $qs6="SELECT a.item_name,a.item_code,b.category_name,a.expire_date from db_items as a,db_category as b where b.id=a.category_id and a....
0 votes
0 answers
51 views
Codeigniter 3... Undefined Property $Ngetest
Models: Ngetest.phpp <?php defined('BASEPATH') or exit('No direct script access allowed'); class Ngetest extends CI_Model { public function showEcho() { return "naisu"; ...
-2 votes
2 answers
106 views
typeahead js is fetching invalid json data on live server
i used typeahead in my codeigniter 3 project and it worked well on localhost but when i ran it on live server it failed. i am unable to resolve it so help is required. My view input field is. <div ...
0 votes
0 answers
81 views
CodeIgniter 3 (HMVC) - 404 on route even though controller exists - MX_Controller issue?
Hi I'm facing an issue during a technical challenge for a PHP internship using PHP 8.1 and CodeIgniter 3 (with HMVC structure using MX_Controller). The company sent me the repository already set up — ...
1 vote
2 answers
90 views
mpdf manual integration issue
I manually downloaded mpdf 8 files to the application\third-party ..Also Psr\log downloaded in application\psr\log . I modified the path in Mpdf.php and i got this. An uncaught Exception was ...
0 votes
0 answers
22 views
Need help lazy loading pagination by using twitter typehead library
Scrolling down event the server side is sent data with page by page, received successfully and the data item is also combined by the previous page and next page data item, but Twitter typehead only ...
0 votes
1 answer
31 views
"File Upload Failed: The Upload Path Does Not Appear to Be Valid in CodeIgniter 3"
I'm working on a file upload feature in CodeIgniter 3, but I'm encountering the following error: File upload failed: The upload path does not appear to be valid. Here are the details of the issue: The ...
0 votes
1 answer
71 views
How to improve the speed of Hotelbeds hotel search result page by optimizing static content data?
I'm facing a performance issue in the Hotelbeds search page due to static content data. While the search responses are fast, collecting static data from different tables like hotel images, facilities, ...
1 vote
1 answer
223 views
Google OAuth Login in CodeIgniter 3 Redirects on localhost work on my machine but not my teammate
I'm implementing Google login in my CodeIgniter 3 web project. The functionality works perfectly on my local machine. However, when my teammate runs the exact same code on their machine, they ...
1 vote
2 answers
149 views
Why does my codeigniter 3 setup keep showing 404 error?
Using codeigniter 3 I have modified the following. config $config['base_url'] = 'http://demo.xyz.com/xyz/'; $config['log_threshold'] = 4 ; $config['index_page'] = ''; $config['uri_protocol'] = '...
1 vote
0 answers
35 views
create dynamic intro.js using php codeigniter
if (!sessionStorage.getItem('introSkipped')) { introJs() .setOptions({ steps: [ { element: document.querySelector('#test'...
0 votes
0 answers
53 views
fail in json response in codeigniter 3 controller method
in my codeigniter view page i have a form submission process; which in controller method i use following for this process: $FORM_KURALLARI = PROFIL_OLUSTURMA_FORM_KURALLARI(); $this->...
0 votes
1 answer
58 views
Insert product using shopify
I'm trying to add a curl product with rest api in shopify using node js with graphql.There is a problem related to the product description part. In this format I send the description, it also contains ...
0 votes
1 answer
35 views
How do I set a specific CSS stylesheet to load If a specific database id is set? [closed]
I am working on a project in Codeigniter 3.1.9 on PHP 8.2.12. My question is I have a lot of dynamic data that gets brought into a static view to create multiple pages. The issue I have is that ...