792 comments found.
Is your server down? There is an error with the license:
Can’t connect to licensing server
Hi,
Not at all, the server has no issue. Please could you email me the details ? Your url, and if possible your FTP ?
Ok. I will do it in few hours. Thanks
You’re welcome. I’ll do my best to fix your problem quickly.
sorry for delay. just sent! let me know if you received thanks
I got your email, will answer it in a few minutes
I know that you respond me but I lost the email, it was deleted. Can you give indicate me the next steps to fix the issue please? Write me an email. Thanks
I guess you found it back, I got your answer.
hi the script support latest php 8.5 and mysql 9.5.0?
Hi,
It hasn’t been tested with these versions, PHPCG works with PDO, so you shouldn’t have any problem with Mysql 9.5 but I can’t guarantee.
I’d recommend you to try it, then if you encounter any issue try to downgrade your php version.
In such a case I’ll accept refund if you really have a problem with the php/mysql versions you use.
Hi, can we make multiple similar forms from a single database table?
Hi,
The CRUD Generator will generate the 3 forms you need for your table (insert/update/delete). If you need something else you can customize the class and the template to link to thoers custom forms. I might work for you if you ask (freelance work for customization).
Gilles
Hello, I have this problem on idtslstion
Database error 2059: Database Connection Error (phpformbuilder\database\DB::__construct): SQLSTATEHY000 Plugin https could not be loaded: /usr/lib64/mysql/plugin/https.so: cannot open shared object file: No such file or directory
Hi,
The problem comes from your server (local I guess). The message means that MySQL/MariaDB is configured to use the https plugin (likely for secure connections), but the required shared library (https.so) is missing or not found at the specified path.
https://chat.mistral.ai/chat/e72a8970-d8f2-4169-9377-90c0a371621fJust purchase phpcrudgenerator. got it working with mysql database for testing. Ultimately will want to use it with DB2 on IBM i (as400) Does it support connecting to DB2 on IBM i?
Not yet. If you want a custom development I might work on it but especially for you, as freelancer.
P.S. I helped you this morning (morning for me in France), suddenly you leaved the chat (I guessed the issue with your local server was solved). A “bye, thanks” would have been apprciated.
Sorry about that. Our power went out and I lost Internet for a few hours. It wa midnight here so I called it a night. I was able to get the fix in that you suggested lastnight. Thanks for the help. to use an ODBC database in the db connection test php where do you specify the dSN name. Host, port, user, password, database, table]
Oh I understand, sorry for my remark.
When you install you choose your database driver from the dropdown list in the installer.
To change the driver open `class\phpformbuilder\database\db-connect.php` and set your driver here with the PDO_DRIVER constant.
If you need anything else you’re welcome,
Gilles
Hi, I like using your script, but I need a little help on how can to format the id column of a table, so that it displays in the Read List a prefix (like ABCD), some leading zeros, and also a point in the middle of each 3 digits. Example: ABCD.000.001 for the 1st record, ABCD.000.100 for the 100th record, and ABCD.025.001 for the 25001st record. Can you please help?
Hi,
Thanks for purchase.
Here’s how to proceed: 1. Open the table class file (admin/class/crud/YourTable.php
2. Add a new property “public $id_Formatted = array();”
3. Find the code that loops into the fetched records (“while ($row = $db->fetch()) { ... }” and add a new value : ”$this->id_formatted[] = FormatId($row->id)
4. in the template (admin/templates/yourtable.html), replace “object.id[ loop.index0 ]” with “object.id_formatted[ loop.index0 ]”
That’s the idea. If you want you can email me your FTP and Admin access, then I can make it for you.
Thank you! I will try it. And thank you for your fast answer!
Thanks to you
Just to say that I sent an email to Migli to access to my cPanel and make the changes and he was very fast in making this changes! I am very pleased with this script and with the support!
Bonjour, après installation du CRUD Generator je suis bloqué par un problème d’affichage qui m’empêche beaucoup d’action. https://koamotte.app/generator/generator.php Durand l’installation l’affichage était aussi déformé mais les formulaire restait fonctionnel . avez vous une idée de ce que j’ai pu faire de mal ? merci d’avance de l’aide que vous pouvez m’apporter . je peu vous fournir un accès sftp si cela peut vous aider
Bonjour,
Le certificat du domaine koamotte.app n’est pas valide. Ce qui provoque une erreur de sécurité, empêche le chargement de la page, et des dépendances (css/js).
De plus le http est redirigé vers https, donc on ne peut pas charger en simple http non-sécurisé non plus.
Il faudrait corriger ce problème de certificat, ensuite tout devrait aller bien.
Pour plus d’aide n’hésite pas à m’envoyer des infos par email depuis https://www.miglisoft.com#contact.
Gilles
I do not see an option for Oracle under the Select Database Driver dropdown under PHPCG Installation – Step 2 / 4.
The only option is for sqlite.
Please advise.
Hi,
Thanks for purchase.
The installer calls `\PDO::getAvailableDrivers()` to check the available PDO drivers on your server and offer the appropriate options.
If you don’t see Oracle (OCI) it means that it’s not available in your php configuration, you have to install the extension.
If you need anything else you’re welcome,
Gilles
for development, is there way to use a localhost db with PCG installed remotely?
since the application configures auto-configures when installing, does the database have to be installed on the same server as the application?
PHPCG must be able to connect to your database wherever it is. You just have to enter your connection settings during the installation. Your database can be on any server but of course it must allow the access.
The installer write these settings in php-crud-generator\class\phpformbuilder\database\db-connect.php.
If you know what you’re doing you can edit this file manually to set your database connection.
You’ll find here the standard recommendations on how to deal with development and production: https://www.phpcrudgenerator.com/tutorials/use-phpcg-on-a-localhost-and-a-remote-server
Trying to install and get message. We followed instructions to reinstall original config file but still cannot complete installation
Unfortunately, uninstaller failed because of this reason: License is not installed yet or corrupted.
Hi,
Please try this carefully: https://www.phpcrudgenerator.com/tutorials/uninstall-reinstall-php-crud-generator#clean-up-your-installation
Then if you still need my help please email me your FTP access, your purchase code and your server manager access (I need access to your phpmyadmin), then I’ll make it work.
Gilles
we managed to get the install completed but one question remains. Our table has 75 fields and we only need to control 10 of these fields. Is there a way to limit the field list to just these 10 before loading the table rather than loading all 75 fields and having to then remove the unneeded fields one at a time ?
Hi,
In the generator you have a “Do not show in the list” radio button on each field.
With the forms you have no way to completely exclude the fields ; my advice would be to choose “hidden” and no validation for all the fields you don’t want to see. Then you can remove them manually from the forms if you want, but there’s no hudge impact if you let them.
If you need anything else you’re welcome,
Gilles
Hello migli, What path do I need to specify for an image upload? (ROOT_PATH / ROOT_URL?)
I have many images in a directory: https://xyz.com/media/test/images/5555.jpg
The file name is stored in the database. (from phpcrud v1)
It only shows me the upload form. No preview. And when I specify “media/test/images/” it says “Upload folder doesn’t exist or is not writable.” Permissions 777 are assigned.
Could you please help me?
Thanks, Florian
phpcrud is installed here: https://xyz.com/crud-cms/
i found a / the? solution: ”../media/test/images/”.
can you recheck it plz Gilles?
Thank you 
Hi,
Thanks for purchase.
You found the right solution, that’s fine. You have to enter the path/url relative to the project’s base folder. The CRUD (the project) is in your “crud-cms” folder, but the images are in a subfolder of the parent folder.
If you need anything else you’re welcome,
Gilles
Thank you Gilles and thanks for your great work.
Thanks to you!
Hello, I have some pre-sale questions: 1. Is it possible to customize the layout and design of the single item view? 2. Can I also customize the layout and design of the single item export (e.g. to XLSX or PDF format)? These customizations are needed only for one specific data table, not for all data tables. Thank you!
Hi,
1. Yes, everything is customizable with the TWIG templates, the php classes and css. If you give me more details I can lead you on the right track, or customize for you if you send me your FTP¨, for free or as Freelancer if it requires some more time.
2. Same answer as #1.
You can email me from my contact page here: https://www.miglisoft.com/#contact
Gilles
Hi, today we can not log in in our CRUD-Backend and also not in our Generator backend. What do I have to do to update the license and not destroy anything in the running CRUD? Currently running in live mode. That seems to work. Best regards, Johannes
The Error at login is: Can’t connect to licensing server.
Hi,
The licensing servcer is up & running, there’s no issue with it.
You can open conf/conf.php and set “generator_locked” and “admin_locked” to false temporarly, it’ll unlock everything (but don”t forget: anyone can access!)
If you need more help please email me your url, ftp and purchase code, I’ll check it.
Gilles
Your E-Mail-Form at: https://www.miglisoft.com/#contact does not work: captcha error
It works, but you have to refresh your browser cache.
Rebonjour, je viens d’acheter le produit et vous m’aviez dit qu’il supportait SSL:
Database error 3159: Database Connection Error (phpformbuilder\database\DB::__construct): SQLSTATEHY000 Connections using insecure transport are prohibited while—require_secure_transport=ON. mysql:host=mysql.irideso.net;port=24306;dbname=sitecopilot;charset=utf8
Toutes mes excuses, j’ai pensé que tu paralais simplement d’https.
Pour une connection SSL:
1. Ouvre le fichier /class/phpformbuilder/database/DB.php dans ton éditeur de code
2. Dans la fonction __construct(), tu trouveras le code suivant:
$this->pdo = new \PDO(
$dsn,
$username,
$password
);
Tu peux ici y ajouter les options pour une connection SSL:
$options = [
PDO::MYSQL_ATTR_SSL_CA => '/path/to/ca-cert.pem',
PDO::MYSQL_ATTR_SSL_CERT => '/path/to/client-cert.pem',
PDO::MYSQL_ATTR_SSL_KEY => '/path/to/client-key.pem'
];
$this->pdo = new \PDO(
$dsn,
$username,
$password,
$options
);
Can crud gen cope with generating a users age in the database queries for viewing data using ‘ TIMESTAMPDIFF ) AS age’ in the query and if so how please?
Hi,
Yes. If you know a little PHP you can do what you want.
In this particular case, you need to edit the PHP class attached to the table in question. Edit the auto-generated query to add the age, then save it as a variable. Then edit the TWIG template to add a column to the table with the age.
You can of course simply replace a date of birth with the age, or add the age in brackets for example.
I can help for such things if you can send me your URL and FTP.
If you need anything else you’re welcome,
Gilles
looking at members.php in admin/class/crud for the class and the template I would imagine would logically be in templates? Am I on the right track?
Sorry to bother you with this but I don’t see the ‘purchased’ badge, which should be there if you bought PHP CRUD Generator. Could you please ask your questions from the account you purchased with, or email me your request with your purchase code?
You can email me from here: https://www.miglisoft.com/#contact Or here: https://codecanyon.net/user/migli
Thanks for your understanding.
No bother I’ll mail you the code
Never received. Are you using an illegal copy? Take care of your server, with this kind of things you might someday wake up and have lost everything … who knows?
getting a captcha error if i try to mail you
No captcha here: https://codecanyon.net/user/migli (or try to refresh your browser cache at https://www.miglisoft.com/#contact) EDIT: I received your email, will answer soon. Thanks
I had the script running fine and then got this error and can no longer access the generator.
How can this be fixed?
Fatal error: Uncaught TypeError: Argument 2 passed to phpformbuilder\Form::addOption() must be of the type string, null given, called in /home/liquidw/public_html/grantready/generator/generator.php on line 461 and defined in /home/liquidw/public_html/grantready/class/phpformbuilder/traits/Elements.php:482 Stack trace: #0 /home/liquidw/public_html/grantready/generator/generator.php(461): phpformbuilder\Form->addOption(‘rp_default_sear…’, NULL, NULL) #1 {main} thrown in /home/liquidw/public_html/grantready/class/phpformbuilder/traits/Elements.php on line 482
Hi,
The error you have says that a database column name is null instead of being a string.
The generator cannot find the name of a column, so there’s something going wrong with your data.
I’d need access to your server to debug and find what happens. Maybe a corrupted file, or changes to your database structure that led to this error.
Could you please email me your FTP access, the URL of your project, and if possible your server manager access or phpmyadmin?
Thanks,
Gilles
I added fields to the database but did not change database name or db user name.
I will send you access to the server account. Thank you.
I didn’t receive yet, but maybe it’s normal?
Sent.
Sorry for the complications – I’m having a temporary problem with php versions between my domain and a tool I’ve just published (https://github.com/migliori/visual-diff-merge). I must update my page.
In the meantime could you please send your message from https://codecanyon.net/user/migli ?
Thanks for your understanding
I just resent the request. Can you look at it asap please.
If the problem is because I have changed DB fields then how can this be remedied in the future?
I just answered your email.
Still having limitation 2 setups?
I want to add an admin panel to an html template I have, how do I do this?
I don’t understand how to integrate this system into the theme I have and create an admin panel.
Hi,
PHP CRUD Generator is not conceived to be integrated into an external theme. It’s built with Bootstrap, the SASS sources are available in php-crud-generator\admin\assets\sass\ with the Bootswatch themes. If you want to customize them and compile into css I can provide you the gulpfile.
If you need anything else you’re welcome,
Gilles
I made a return request. The reason I bought the product was to dress it in any theme I wanted, but since there is no such thing, your product does not work for me. Please accept my return. The dollar exchange rate is very high in my country.
Done. But you should question before buying, I paid for your mistake.
I’m sorry and thank you very much.
how to separate Create/Delete Phpcg Users ? we want to create a profil for create only without delete
Hi Penseur9,
Most of the time, if a user can create, they must also be able to delete, as they may have created a record by mistake, for example.
User rights are managed by the PHP class r\admin\secure\class\secure\Secure.php. If you open this file you will find in the code comments the various functions available and an example of use.
To dissociate the Create/Delete Phpcg Users rights, here is how I would proceed:
- Create your profile, for instance named ‘create_only’ and allow it to create/delete phpcg_users.
- Open \admin\data-forms.php and edit the code this way:
/* Original code ===================================== */ // lock page if ($action == 'edit' && Secure::canUpdate($table) !== true && Secure::canUpdateRestricted($table) !== true) { Secure::logout(); } elseif (($action == 'create' || $action == 'delete') && (Secure::canCreate($table) !== true && Secure::canCreateRestricted($table) !== true)) { Secure::logout(); } /* replace with this ===================================== */ // lock page if ($action == 'edit' && Secure::canUpdate($table) !== true && Secure::canUpdateRestricted($table) !== true) { Secure::logout(); } elseif (($action == 'create' || $action == 'delete') && (Secure::canCreate($table) !== true && Secure::canCreateRestricted($table) !== true)) { Secure::logout(); } elseif ($action == 'delete' && $_SESSION['secure_user_profiles_name'] == 'create_only') { Secure::logout(); } - Open \admin\templates\phpcgusers.html and edit the code:
/* Original code ===================================== */ {% if object.can_create == true %} <a href="{{ constant('ADMIN_URL') }}{{ object.item }}/delete/{{ object.pk_url_params[loop.index0] }}" class="btn btn-sm btn-danger" data-bs-toggle="tooltip" data-bs-title="{{ constant('DELETE_CONST') }}" data-delay="500"><span class="{{ constant('ICON_DELETE') }} icon-md" /></a> {% endif %} /* replace with this ===================================== */ {% if object.can_create == true and session.secure_user_profiles_name != 'create_only' %} <a href="{{ constant('ADMIN_URL') }}{{ object.item }}/delete/{{ object.pk_url_params[loop.index0] }}" class="btn btn-sm btn-danger" data-bs-toggle="tooltip" data-bs-title="{{ constant('DELETE_CONST') }}" data-delay="500"><span class="{{ constant('ICON_DELETE') }} icon-md" /></a> {% endif %}
This way the “delete” button will be removed from the list and the delete form will be disallowed for the ‘create_only’ users.
Gilles
Hi, I have 2 licenses i don’t use due to the amount of bugs needed to fix everytime I do a fresh install and I have been waiting on promised bug fixes for quite some time. Seems you updated it just now and I looked around here and on the website but couldn’t find a changelog. Is there a change log we can read?
Hi,
The changelog is available here: https://www.phpcrudgenerator.com/documentation/index#changelog
due to the amount of bugs needed to fix everytimeI don’t like to hear users complaining about bugs. It happens, it’s unavoidable, but in that case I usually resolve them within a day or 2 at the most. So I’m surprised that you appear to have a lot of bugs. If you report them to me, I guarantee to resolve them quickly, as I’ve always done. To date there are no known bugs, so please help me if I forget something.
Thanks,
Gilles
https://www.miglisoft.com/#contactThank you for the changelog. You did fix bugs in my server when requested, but didn’t update the release files for many months. When I had to move from dev server to prod server, made a new install with the latest avaliable files and had all the bugs back..
Anyway, I see some of the bugs I faced were fixed in the September and November releases. Thumbs up for that!
Unfortunatelly these bugs were affecting the software for more than 8 months (time between releases!), while you claimed, just like you did now, “there are no known bugs, i’m too busy to update release files, give me ftp access and i’ll fix it”.
My apologies. Anyway, if you have any bugs to report, you’re welcome and I’ll do my best. A precise description and access to the server are always preferable if it concerns special cases/configurations.
I’m very glad to see these fixed and hoped try it again but I also recall being unable to do any action in my own servers, because the licensing server was down, and the software requires a successful call to your server for every single action even after installation. (undisclosed anywhere in https://www.phpcrudgenerator.com/tutorials/about-php-crud-generator-license)
I understand the licensing/pirating issue at hand, but this license solution kills the product potential as custom and independent solution.
I couldn’t add a row in my database, or do anything else, in my server, and there was nothing I could do to fix it although nothing wrong on my server.
Would likely try it again if it wasn’t for that.
There has indeed been a one-off problem with the licence server, the only one since it went live more than 10 years ago. I understand your concern, but I have no other choice. Many programs use the same protection (WP themes and plugins, etc.). The licence server, like all servers, is about 99% available. Everything is ready if I ever had to disable it, users would not be affected.
If you need anything else you’re welcome
I’m interested, let me ask a question.
From using the demo, does the language support Thai? In the example, there is no option to choose.
Thank you.
Hi,
- The package includes an “admin/i18n” folder (i18n = “internationalisation). Adding new languages is very easy:
- Duplicate an existing language file and name the file with your ISO country code. For instance duplicate
fr.phptoth.php - The language file is a set of key/value pairs. The values are the translations. Replace them with your language’s translations. AI can do this at a glance.
- From the generator’s configuration tab, scroll down to “Language settings”, choose “other” and enter the ISO code (“th”)
- Duplicate an existing language file and name the file with your ISO country code. For instance duplicate
- Yes, you can create users profiles, as many as you want, and define the authorizations for each, individually by table (can read, can add/edit, can delete). You can also restrict administrators to view only their own records: https://www.phpcrudgenerator.com/tutorials/user-profiles-and-rights
Can we set permissions, divided into user levels, such as
Login System
admin, user, supervisor for Key data, edit data, delete data
Yes, you can create users profiles, as many as you want, and define the authorizations for each, individually by table (can read, can add/edit, can delete). You can also restrict administrators to view only their own records: https://www.phpcrudgenerator.com/tutorials/user-profiles-and-rights
Okay, I will buy it. Thank you.
Great. I’m available for help of course.
I have a problem, please help me. I tested via localhost
1. I created only a database, no table yet. I want to have a login system. What kind of table do I need to create? What do I need?
2. When I first installed, I put my own logo but it didn’t show.
Thank you.
Hi,
-
For the login system you don’t have to create any table, the CRUD Generator will do it for you, but the logic is first to add your tables, then install and enable the authentication module at the end.
The authentication module will create 2 tables: “project_users” and “project_users_profiles” where “project” is a prefix you can set as you wish. The module has to know the tables of your project to let you assign view/edit/delete rights to each profile. Please read this then tell me if you have more questions:
https://www.phpcrudgenerator.com/documentation/index#admin-user-authentication-module
https://www.phpcrudgenerator.com/tutorials/user-profiles-and-rights - In
conf/user-conf.jsonyou should see your filename ("admin_logo"). The image file should be in theadmin/assets/images/folder.