I had GC Beta 3 installed and am having some issues when i try to start my app. The instructions say to configure config.php. Just to clarify, my app already uses a customized version of application/config/config.php. Should I be replacing this version in in my application with the config.php which is in /examples/config.php?
post by richb201 on Mar 5, 2023
post by johnny on Mar 7, 2023
Hello @richb201,
No, you should rename the config.php to grocerycrud.php since you are already at the app/config folder so no need to have a generic filename.
What framework are you using? I guess this is Codeigniter 3 right? If so maybe the older documentation Codeigniter 3 Installation | Grocery CRUD that is specific for Codeigniter 3 may help you a little more. Mainly to where the files will live and how the syntax of your Controller will be.
Regards
Johnny
post by richb201 on Mar 8, 2023
I was told by my installed to include
include(APPPATH.‘libraries/GroceryCrudEnterprise/autoload.php’);
use GroceryCrud\Core\GroceryCrud;
in my main controller. I was trying to install without composer. When i run it with those two lines included I get a note that composer needs php 8.0. I am running 7.4. I am starting to get the feeling that my install was effed up.
post by johnny on Mar 12, 2023
Hello @richb201 ,
I can’t reproduce the issue that you are referring to. Yes, newer version composer may require PHP 8.0 but having it as an include didn’t throw an error. I’ve tried it with PHP 7.4.
Can you please send me the error that you are getting?
Regards
Johnny
post by johnny on Mar 13, 2023
Hello @richb201 ,
Ok, I was able to reproduce it locally. The error is:
Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.0". You are running 7.4.33.
I will investigate and let you know.
Regards
Johnny
post by johnny on Mar 18, 2023
Hello @richb201 ,
I’ve fixed the issue with the PHP version and you can download the latest version from User’s page: User's Page Login
Regards
Johnny
New & Unread Topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Use callbackColumn() but keep inline edit functionality |
|
3 | 657 | Apr 12 |
| callbackColumn() has not effect in v3.2.6 Enterprise |
|
2 | 699 | Dec 2025 |
| Inline edit has problems if the column width is set |
|
2 | 848 | Feb 28 |
| PRINT date format not consistent |
|
6 | 363 | Sep 7 |
| “Ooooops, something went wrong! If you can see this message, this is probably a misconfiguration in Grocery CRUD Enterprise!” |
|
6 | 268 | 9d |