Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: using APPPATH
Post: RE: using APPPATH

Thanks. But it seems that my ROOTPATH is not being set correctly. Here is the error: require(/var/www/../assets/MyReport.php): failed to open stream: No such file or directory it should be /var/w...
3,982 Views
4 Replies
07-04-2023, 11:45 AM
richb201
  Wink Thread: using APPPATH
Post: using APPPATH

I am moving code over from a Ci3 app to Ci4. I understand the APPPATH needs to be set in index.php. The reason I need it is that I have the following lines in my main Controller. require APPPATH."../...
3,982 Views
4 Replies
07-04-2023, 08:15 AM
richb201
    Thread: Sunset?
Post: RE: Sunset?

I got the same problem. My working app is in CI3. Switching to CI4 is not a walk in the park.
5,374 Views
5 Replies
06-28-2023, 12:55 PM
richb201
    Thread: modifying BaseController.php for libraries
Post: modifying BaseController.php for libraries

I am trying to autoload libraries in BaseController.php. Is DoNotEditThisLine really just a comment? public function initController(RequestInterface $request, ResponseInterface $response, LoggerI...
1,164 Views
2 Replies
06-22-2023, 07:51 AM
richb201
    Thread: Moving to ci4
Post: RE: Moving to ci4

Thanks Insite. It has been awhile. I am trying to setup BaseController. I am on the helpers section: protected $helpers = []; So I tried this: helper(array('form', 'url', 'file', 'arr...
2,330 Views
9 Replies
06-21-2023, 04:45 AM
richb201
    Thread: Moving to ci4
Post: RE: Moving to ci4

Thanks. With some help I managed to get ci4 and a debugger running under phpstorm. I am going to try to roughly get my ci3 app running under ci4. My app uses GroceryCrud heavily. My main controlle...
2,330 Views
9 Replies
06-20-2023, 03:20 PM
richb201
    Thread: Moving to ci4
Post: RE: Moving to ci4

Thx. Can you point at an example? I already know php slightly. What is namespace priority? Where can I review that? What documentation are you referring to?
2,330 Views
9 Replies
06-17-2023, 09:10 AM
richb201
    Thread: Moving to ci4
Post: Moving to ci4

It has been a number of years but I am ready to move my app from ci3 to ci4. I realize this will be a rewrite.  But first I need to learn ci4.  Can anyone recommend a way to learn CI4? Is reading t...
2,330 Views
9 Replies
06-17-2023, 07:50 AM
richb201
    Thread: using grocery crud?
Post: RE: using grocery crud?

I don't want to break it. Been there done that. My software is a tool for generating a certain US corporate tax credit. As new court cases are decided, I have been modifying my code to make sure it an...
1,771 Views
4 Replies
03-11-2023, 08:10 AM
richb201
    Thread: using grocery crud?
Post: RE: using grocery crud?

Thanks for your comment. I have thought about that. I have limited time these days. I was planning on upgrading to CI4 and grocerycrud 3. Why? Because there seems to be no support unless I do. I...
1,771 Views
4 Replies
03-11-2023, 06:02 AM
richb201
    Thread: using grocery crud?
Post: using grocery crud?

I have been using grocery crud for a few years. I am actually starting to "button up" my app. Are they still actively supporting? If not, what crud is recommended with CI3?  Also, I am trying to use:...
1,771 Views
4 Replies
03-10-2023, 10:26 AM
richb201
  Wink Thread: what is the implied path?
Post: what is the implied path?

I am getting this error in my code. What is the implied path to ???/assets/grocery-crud/languages/english.php?  I am not sure if the file doesn't really exist or my code just cannot see it?  Severity...
1,213 Views
2 Replies
03-08-2023, 09:17 AM
richb201
    Thread: moving from CI3 to CI4
Post: moving from CI3 to CI4

Is there any document covering steps to take, gotchas, warnings, etc? I will also want to upgrade my Grocery Crud from 1.0 to 2.0.1 Enterprise. Any know problem with CI4 and GC 2.0.1?
1,009 Views
1 Replies
03-01-2023, 02:12 PM
richb201
    Thread: PHP error. Why?
Post: PHP error. Why?

This bit of code is causing a PHP error (actually a notice) at line 3460: Trying to access array offset on value of type null.  Any idea why this is happening?  for ($i = 0; $i < $iCount; $i++) { ...
1,035 Views
2 Replies
12-16-2022, 09:35 AM
richb201
    Thread: CodeIgniter.php went into a hard loop
Post: RE: CodeIgniter.php went into a hard loop

Just as quickly as it showed up, it is gone. I was using a maintenance utility for wordpress and i assume something went wrong with it on 12/1/22? Anyway. please disregard my above query.
1,168 Views
2 Replies
12-04-2022, 09:25 AM
richb201
    Thread: CodeIgniter.php went into a hard loop
Post: CodeIgniter.php went into a hard loop

Something happened on 12/1. My entire AWS site went down. Upon investigation it seems that Codeigniter.php is stuck while loading the bootstrap file in a loop so the UI never gets to initialize.  Did ...
1,168 Views
2 Replies
12-04-2022, 07:01 AM
richb201
    Thread: issue with logging on CI3
Post: RE: issue with logging on CI3

turned out to be -> not => All solved!
1,573 Views
4 Replies
11-28-2022, 11:45 AM
richb201
    Thread: issue with logging on CI3
Post: RE: issue with logging on CI3

I was looking on the client rather than the server. Here is the error: Cannot use object of type stdClass as array here is the code that is creating it. $query=$this->db->query($sql, arr...
1,573 Views
4 Replies
11-28-2022, 09:48 AM
richb201
    Thread: writing to database is failing but why?
Post: writing to database is failing but why?

I am trying to update a field called fourparttest in the business_component table.  I am not getting an error,but the new data (which should be 4) doesn;t seem to update the database which is mysql on...
1,311 Views
1 Replies
11-22-2022, 08:36 AM
richb201
    Thread: Connecting to remote database
Post: RE: Connecting to remote database

Zakk, I connect to AWS RDS. I do this by setting the connection params in the database.php in the config dir. $db['default'] = array( 'dsn' => '', 'hostname' => 'database-2.ast-1.rds.ama...
2,930 Views
2 Replies
11-22-2022, 08:30 AM
richb201

Theme © iAndrew 2016 - Forum software by © MyBB