Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: What do I do to view a problematic SQL code?
Post: RE: What do I do to view a problematic SQL code?

The problem is that I was using the return value of Code: -- getLastQuery() -- which is an object (a query object) and assuming it is the SQL code. To get the SQL code, we must cast it to a string...
471 Views
2 Replies
10-09-2023, 09:00 AM
owino
    Thread: What do I do to view a problematic SQL code?
Post: What do I do to view a problematic SQL code?

Back in the days of CI3 and even some early versions of CI4.x, whenever an SQL code is not working as I expect it to, I would have a look at it (on the browser) using 'echo' right where the SQL code i...
471 Views
2 Replies
10-09-2023, 07:50 AM
owino
    Thread: How do I Migrate from 4.3.x to 4.4.x?
Post: How do I Migrate from 4.3.x to 4.4.x?

Migrating from 3.x to 4.x required me to practically rewrite most of the code in my project because it was almost like changing languages. It seems this may be is the case for moving to 4.4.x from 4.3...
894 Views
6 Replies
09-30-2023, 01:27 AM
owino
    Thread: Issue when combining Apache2, PHP 7.4 FPM and DomPDF
Post: RE: Issue when combining Apache2, PHP 7.4 FPM and ...

mi_ov Wrote: (03-19-2021, 03:17 PM) -- Wow, thanks for the quick replies guys. I tried both options and both options worked. Which one is more recommended? The only thing that didn't actually w...
4,715 Views
4 Replies
12-04-2022, 12:39 AM
owino
    Thread: Integrating dompdf
Post: RE: Integrating dompdf

I had similar problem... see my experience and solution. (https://stackoverflow.com/questions/67136567/requirevendor-autoload-php-failed-to-open-stream-no-such-file-or-directory)
9,633 Views
4 Replies
04-17-2021, 11:53 PM
owino
    Thread: Undefined property: stdClass::$userNAME and Undefined index: userNAME
Post: RE: Undefined property: stdClass::$userNAME and Un...

For the time being, I am making do with @$Object['userNAME']['full'] which is working. I hope to investigate this later.
2,440 Views
2 Replies
03-25-2020, 02:00 AM
owino
    Thread: Undefined property: stdClass::$userNAME and Undefined index: userNAME
Post: Undefined property: stdClass::$userNAME and Undefi...

I am pulling information from a database that arrive with one field named userNAME. I am using $query->getResultObject()[see https://codeigniter4.github.io/userguide/database/results.html#result-array...
2,440 Views
2 Replies
03-23-2020, 02:33 AM
owino
    Thread: Multiple instances of CI4 and removal of public/index.php/ from url
Post: RE: Multiple instances of CI4 and removal of publi...

mjamilasfihani Wrote: (03-18-2020, 03:54 AM) -- You can change the root directory from your server. Example : before www/dirname/ change to www/dirname/public/ Or you can place your CI asset in a...
4,786 Views
5 Replies
03-20-2020, 04:31 AM
owino
    Thread: Multiple instances of CI4 and removal of public/index.php/ from url
Post: Multiple instances of CI4 and removal of public/in...

I am working on a project that will solve multiple problems but a user may potentially use more than one of these solutions. So I have an instance of CI4 handling users (logins, passwords etc) with...
4,786 Views
5 Replies
03-17-2020, 05:21 PM
owino
    Thread: Debug inserting a <script> element into my view file
Post: RE: Debug inserting a <script> element into my vie...

includebeer Wrote: (03-16-2020, 09:59 AM) -- That’s the Debug toolbar (https://codeigniter4.github.io/userguide/testing/debugging.html#the-debug-toolbar). It can be disabled completely in the filter ...
3,479 Views
2 Replies
03-17-2020, 08:53 AM
owino
    Thread: Debug inserting a <script> element into my view file
Post: Debug inserting a <script> element into my view fi...

The following alien element appears in my page source file after rendering by the browser. I don't know why. I followed the instruction at https://forum.codeigniter.com/thread-74553.html (https...
3,479 Views
2 Replies
03-16-2020, 09:31 AM
owino
    Thread: Kint
Post: RE: Kint

bivanbi Wrote: (03-12-2020, 11:59 AM) -- If you have not yet already done so, try this: https://forum.codeigniter.com/thread-75621.html -- Thank you so much. That is the solution to my problem.
2,270 Views
2 Replies
03-16-2020, 08:50 AM
owino
    Thread: Kint
Post: Kint

I am trying to move from CI3 to CI4. Before I do so, I decided to faithfully go the tutorial on the documentation to https://codeigniter4.github.io/userguide/tutorial/index.html (https://codeigniter4....
2,270 Views
2 Replies
03-12-2020, 07:09 AM
owino
    Thread: Fatal Memory Error in version 3.1.6+
Post: RE: Fatal Memory Error in version 3.1.6+

jreklund Wrote: (10-08-2019, 10:40 AM) -- @owino Does it happen if you just tries to load just one library? Have you tried loading different libraries to see if all are failing or just one? If you h...
7,261 Views
8 Replies
10-14-2019, 01:09 AM
owino
    Thread: Fatal Memory Error in version 3.1.6+
Post: RE: Fatal Memory Error in version 3.1.6+

I am not a comfortable with editing third party code. The culprit must be those few lines that were introduced at 3.1.6. As I wait to eventually migrate to version 4 when it is ripe (I hope migr...
7,261 Views
8 Replies
10-08-2019, 08:12 AM
owino
    Thread: Fatal Memory Error in version 3.1.6+
Post: RE: Fatal Memory Error in version 3.1.6+

You are right! The problem is something to with loading of library. I commented off each line that loads a library and the error went away. So how should I load a library? This is how I have been l...
7,261 Views
8 Replies
10-08-2019, 01:23 AM
owino
    Thread: Fatal Memory Error in version 3.1.6+
Post: Fatal Memory Error in version 3.1.6+

I have never been able to migrate from 3.1.5 to 3.1.6 because of the following error ================== Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) ...
7,261 Views
8 Replies
10-07-2019, 01:23 AM
owino
    Thread: Upgrading from 3.1.5 to 3.1.6
Post: Upgrading from 3.1.5 to 3.1.6

Hallo everyone, I am Owino from Kenya, East Africa. I have been using CI for a while now, but I am still stuck at version 3.1.5. I am sure I have never understood the step 2 at https://www.codei...
2,906 Views
1 Replies
01-27-2019, 11:47 PM
owino

Theme © iAndrew 2016 - Forum software by © MyBB