793 comments found.
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.
would i need to add webhook / api functionality separately?
Hi,
Could you please tell me more? please explain what you want to do.
I purchased your app some time ago with plans to utilize it for mini-apps. I want to use it mostly to integrate with platforms like zapier/make.com or other to create api connections so that I can either add users to the database/create user accounts from other apps. or—if user signs up on the front end, to take the email/other profile info and add it to my marketing tool via api/webhook. Otherwise the process will be manual.
Thanks for these clarifications. Yes, you have to make your own process.
please reset my licences to 0, thx…
Pre-sale question.
Can this script connect to multiple databases under 1 admin panel?
Thanks much.
Hi,
No, each generator is connected to a single database with its admin panel.
If you have several databases, each accessible with a different hostname (domain), you need a licence and an installation for each one (each licence allows local + production installation).
If you have several databases under the same hostname, this is an atypical case. You’ll need to give me some details so that I can advise you better.
Is it possible to contact you via email?
Interesting question. I just answered your email.
After installation I got message that This page is not working and my server log shows message as Sun Dec 22 18:41:15.264530 2024 pid 1551367 AH01071: Got error ‘PHP message: PHP Warning: mkdir(): No such file or directory in /var/www/clients/client1/web14/web/generator/class/generator/Generator.php on line 3217; PHP message: PHP Warning: Undefined array key 0 in /var/www/clients/client1/web14/web/generator/class/generator/Generator.php on line 403; PHP message: PHP Warning: Undefined array key 0 in /var/www/clients/client1/web14/web/generator/class/generator/Generator.php on line 404; PHP message: PHP Warning: Undefined array key 0 in /var/www/clients/client1/web14/web/generator/class/generator/Generator.php on line 405; PHP message: PHP Fatal error: Uncaught TypeError: phpformbuilder\\Form::addInput(): Argument #3 ($value) must be of type string, null given, called in /var/www/clients/client1/web14/web/generator/generator.php on line 82 and defined in /var/www/clients/client1/web14/web/class/phpformbuilder/traits/Elements.php:27\nStack trace:\n#0 /var/www/clients/client1/web14/web/generator/generator.php(82): phpformbuilder\\Form->addInput()\n#1 {main}\n thrown in /var/www/clients/client1/web14/web/class/phpformbuilder/traits/Elements.php on line 27
let me know how to debug and fix, also is it possible to connect you at your support channel
Hi In,dianic,
Thanks for purchase.
The problem is just that you have no table inside your database. Add one or more tables and it’ll be fine.
I already planned to add an explicit message when the database has no table to avoid this confusion. It’ll be published in the next release.
If you need anything else you’re welcome, you can email me here: https://www.miglisoft.com/#contact
Gilles
Hello, I need to reset a PHP CRUD Generator licensed domain registration so a newer version can be installed.
Please Help,
Clarence Coleman
Thank you Migli!
Hello, my installation checklist were all green as ok and I can access the admin page but I cannot access the hub.xxxxx.com/crudapp/generator/generator.php
Hi, is there a way to highlight a column in the list based on a value, for example all status of closed should be red, pending Green, and so on
Hi,
Yes, you have to edit the Twig template of the list and use Twig language. Here’s a sample code:<td class="{{ item.color == 'red' ? 'text-bg-danger' : (item.color == 'green' ? 'text-bg-success' : '') }}">
{{ item.color }}
</td>
Where do I find the Twig template of the list, and what is the naming convention and what kind of file type is it? HTML or PHP
Everything about the templates is explained here: https://www.phpcrudgenerator.com/tutorials/how-to-customize-the-bootstrap-admin-data-tables
TWIG is the Symphony PHP template engine and has its own syntax which allows to transmit & use PHP variables and basic functions.
The variables come from the item object, as explained in the link above.
Hi, is there a way to highlight a column in the list based on a value, for example all status of closed should be red, pending Green, and so on
Hi, I am facing an unknown error during re-installation. Could you please remove the license from your server so that I can re-install it ?
Thank you !
My past installation is blosked and i cannot use the PHPGENERATOR.
I have a new support so that this installation problem is solved.
I need an urgent replt
i vave sent an email on thelink for a support on number of licences 2 reached. My previous folder and database got corrupted. i cannot do any uninstall.HOwever i cannot also do anew fresh installtion locally..
the uninstallation process is too complicated . It does not work today saying 2 license reached .ALthought still using it locallt with . The code for unistalling shoud be straight forwards in a user intefrface.
Hi,
The uninstaller must run from the hostname where the product is installed. If it was not the case anyone with your purchase code could uninstall.
I received all your comments and emails, I removed your license and answered you. You can reinstall now.
Gilles
I will need more license for other web applications I am developing. How do I get more licenses. Say for up to 10-20.
Thanks
hi Gilles, I recently purchased this Admin Panel Builder, I am very satisfied with it. I have created a table of car types in my database, in which I want to pair N number of photos to each record. The photos are contained in a separate table (1:N).
1. In the Admin interface, in the autotypes view, could thepaired photos be displayed in thumbnails view? I could not find such an option https://ibb.co/3MwSMhc 2. Is it possible to upload more than one photo at a time (maybe drag&drop them here)? I have the photos in a separate table, with N number of photos. https://ibb.co/5M3KJGpThanks, Tom
Hi Tom,
Thanks for purchase.
If you’re comfortable with PHP, everything is possible by editing the code.
When you setup your “photo” table in the generator, choose “image” as field type and enable “Create thumbnails”.
If you want to be able to uploadd multiple images at one time you’ll have to edit the form code (admin/inc/forms/photo-create.php: find the uploader and allow multiple uploads, and loop through the uploaded files to add a record for each one after post and validation.
The uploader documentation is available here: https://www.phpformbuilder.pro/documentation/javascript-plugins.php#fileuploader
Replacing the file names with the real images (thumbnails) in the READ list is easy: open the READ list template (e.g.: admin/templates/car.html), find the code that shows the file name and replace it with the html image.
If you want I can help, just email me your FTP access, your URL and any detail I might need.
Gilles
Thanks, Tom
In the “Build Read List” tab => “Options from the paginated list”, you just have to check the “Allow bulk delete”.
Thanks for the reply, managed to set this up. - Tom
I have my primary domain as epitomesystem.com and I have a subdomain of laneclosure.epitomesystem.com do I need to purchase another license for the subdomain? It tells me my license is invalid when i modify the user_data table to reflect the subdomain url.
Hi,
You have to run the installer from your subdomain, and choose a different name for your user_data table.
I’m trying to reinstall my PHP CRUD Generator but I’m getting this error: “Unfortunately, uninstaller failed because of this reason: License is not installed yet or corrupted.”
Hi,
Please refer to the help here, it explains what to do in such case: https://www.phpcrudgenerator.com/help-center#license-is-not-installed-yet-or-corrupted
Hi, i have installer crud generator on a local server and I have the errors when trying to use the generator.php
Warning: Undefined array key 0 in D:\Developpement\laragon\www\crud\generator\class\generator\Generator.php on line 403
Warning: Undefined array key 0 in D:\Developpement\laragon\www\crud\generator\class\generator\Generator.php on line 404
Warning: Undefined array key 0 in D:\Developpement\laragon\www\crud\generator\class\generator\Generator.php on line 405
Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in D:\Developpement\laragon\www\crud\generator\class\generator\Generator.php on line 2236
Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in D:\Developpement\laragon\www\crud\admin\class\crud\ElementsUtilities.php on line 86
Fatal error: Uncaught TypeError: phpformbuilder\Form::addInput(): Argument #3 ($value) must be of type string, null given, called in D:\Developpement\laragon\www\crud\generator\generator.php on line 82 and defined in D:\Developpement\laragon\www\crud\class\phpformbuilder\traits\Elements.php:27 Stack trace: #0 D:\Developpement\laragon\www\crud\generator\generator.php(82): phpformbuilder\Form->addInput(‘hidden’, ‘table-to-reset’, NULL) #1 {main} thrown in D:\Developpement\laragon\www\crud\class\phpformbuilder\traits\Elements.php on line 27
PHP version 8.1.10
What is the problem ? Best regards
Hi Bruno,
Thanks for purchase.
The problem is just that you have no table inside your database. Add one or more tables and it’ll be fine.
If you need anything else you’re welcome,
Gilles
Is there any way to rebuild the user permissions form if you have, by mistake, have removed it in the generator?
Fortunately yes, you have 2 different ways:
1st way, regenerate the form:
Open the generator, load the _users_profiles table, open the “Build Create / Update Forms” tab, setup your form and validate
2nd way, Reinstall the authentication module:
Open the generator, go to the “Authentication module” tab, disable the authentication module if it’s enabled, then click the button to remove it and reinstall.
Unfortunately, method 1 doesn’t do the job. You get a form with numeric fields, not the original one. For the second, I would need to copy and restore everything again, I think
You can fill the numeric fields with these values: 0 = no access 1 = can access only the user’s own records 2 = full access
If you reinstall the authentication module you’ll have to set the permissions from the beginning.
Else if you know what you’re doing you can try this:
- Export your user_profiles data from PHPMyAdmin (Export All rows, Disable foreign key checks, Function to use when dumping data: UPDATE with fieldnames + values)
- Reinstall the authentication, module
- Reimport your records with the UPDATE you saved before
Hi, because of error 500 I made several installations with and without subdomain. The last try delivers “Unfortunately, installation failed because of this reason: The maximum number of allowed PHP CRUD Generator installations (2 installation(s) total) reached”, but I have no other installation.
Hi,
Thanks for purchase.
You have to unregister your previous installations, 2 active installations are allowed for each license.
If you can open the installation URL (install/do-install.php) you just have to enter your purchase code and click “unregister”.
Else please email me your purchase code and I’ll remove your installations.
If you encounter an error 500 you should turn PHP display_errors On to get information about the error. Then I can help you with this too.
Gilles
There is another thing that doesn’t work properly, the export. Data is not correct
You can even check in your demo: https://www.phpcrudgenerator.com/admin/rental
The exported staff column contains the customer name instead.
I have seen the main issue in my exports
Hi Santi,
I emailed you the fix and will publish it in the next release.
The error happened on external fields with the same name, e.g.: customer.first_name + customer.last_name and staff.first_name + staff.last_name
Hi again,
I re-installed it again on the production server.
Even though the checklist said all file permissions were okay I had to chmod 0777 everthing to get it going. I had that problem on my local PC also.
But anyway, so far so good.
Then I entered the database info (connection test okay) and the purchase code. Labels were missing from from the form fields, but got around that.
Then I disabled all Apache security (modsec etc..) and restarted.
The “Next” button takes me to
https://<mydomain>.org.au/generator/generator.phpThis page isn’t working <mydomain>.org.au is currently unable to handle this request. HTTP ERROR 500
The Apache error log says:
Wed Sep 25 00:50:42.885321 2024 pid 149680:tid 149680 PHP Parse error: syntax error, unexpected ’|’, expecting ’;’ or ‘{’ in /var/www/dba/class/phpformbuilder/FormExtended.php on line 710
I’m stumped.
Any clues on what to try next appreciated.
Regards, Mark
Hi,
“Even though the checklist said all file permissions were okay I had to chmod 0777 everthing to get it going”
The installer checks if file_exists and is_writable for each location where the program will have to write or create new files. Nobody complained about any trouble with this before, and it has not been changed recently. Would you tell me more?: Which files/folder caused the issue? how can I reproduce it?
“Parse error: syntax error, unexpected ’|’, expecting ’;’ or ‘{’ in /var/www/dba/class/phpformbuilder/FormExtended.php on line 710”
I’m aware of this issue, which is due to PHP 7.4 compatibility: https://codecanyon.net/item/php-crud-generator/22032357/comments#comment_30985964
I was about to publish the patch, just did it. Please make the replacement mentionned in the comment linked above, it’ll solve it.
Thanks Gilles. That change to line 710 fixed that parse error. My local machine uses PHP 8.2 and the production server is using 7.4
Regarding the file permissions. On both servers, the only way I could get it to install was to chmod 0777 the entire set of directories. The error message I was getting was saying it couldn’t write to a file (.css I think) that was a couple of levels down. Now that is running, I have reset all to 0755 and it seems okay.
Thanks again for your great support.
Thanks to you Mark