Code

Discussion on PHP CRUD Generator - Advanced Database Admin Panel Builder

Discussion on PHP CRUD Generator - Advanced Database Admin Panel Builder

By
Cart 1,714 sales

migli supports this item

Supported

This author's response time can be up to 1 business day.

794 comments found.

Buenas tardes! Estoy necesitando conectar php crud generator a sqlsrv (Sql server) me podría indicar que driver utilizar y si tengo que configurar algo en especial.

muchas gracias!!

Hi,

Thanks for purchase.

Sql server uses the PHP PDO_SQLSRV driver, which is not currently implemented with PHP CRUD Generator. I can only suggest you to migrate your database to another DB Engine, got no other solution for you, except if I make this development for you but it might be a bit expensive …

Gilles

Hello Support, Is there a log tracking user actions such as additions and deletions of data?

Hello,

No there’s not. You can setup your own but this is not a built-in feature.

We had installed your software in: It works fine until a few days ago but now login don’t work How can I fix it?

Can I see error logs somewhere?

Hi,

Thanks for purchase.

You can turn php display_errrors On in your php configuration (php.ini) but I’m not sure it’ll help.

You should try to change your password:
  1. Open conf/user-conf.json in your code editor
  2. set “admin_locked” to false
  3. You can then open your admin in your browser at admin/home, go to your user list and change your password.
  4. Then revert “admin_locked” to true and see if it works.

If you need anything else you’re welcome,

Gilles

It works! Thks

Perfect, thanks for your feedback

How restricted users to just create or delete? in the backoffice it is not possible to dissociate these 2 actions

Hi,

In admin\secure\class\secure\Secure.php testUser(), from L.185 the user data is stored in the PHP SESSION.

You can user these data to test the connected user and display your data accordingly. For instance, in a TWIG template:
{% if session.secure_user_profiles_name == 'admin' %}
// do stuff
{% endif %}

If you need more details feel free to ask,

Gilles

i want to know if it possible to separate action “create/delete phpcg_store” by “create phpcg_store” and “delete phpcg_store” ? in your app these two action are one !

This is not a built-in feature, but like I explained before you can customize the code.

This sait, it’s logical to tie the create & delete rights between each other. If someone creates a record with errors he’ll need at least to be able to delete it.

Sure, here is the translation:

Hello,

I have a question regarding the CRUD program, specifically about the way passwords are stored in the database. In our application, we have a database field for a password, which we use as an attribute in the user table. Currently, CRUD stores the passwords with some sort of salted hashing. We need the passwords to be encoded using the SHA-1 algorithm.

Could you please provide information on how we can change the password encoding algorithm in the CRUD program? This is not an admin password but an attribute for the application.

Thank you in advance for your assistance.

Best regards, Tomas Margold please, reply on email Tomas.margold@q2.cz

Hi Tomas,

The form to add users to the admin is in /admin/inc/forms/users-create.php

When you add a user the password is encrypted in calling Secure::encrypt($_POST['password']), which is located in admin\secure\class\secure\Secure.php

The pass is encrypted using the php password_hash() function – https://www.php.net/manual/en/function.password-hash.php

I let you look deeper in these functions & hope you’ll find your way

Hi. Great tool, but it’s not working on my MySQL database for some reason. It connects, reads tables and relationships, but when I go to the form it created for that table I’m getting a 404 Error. I have created a video to show you the error as well as the setup i’m using for the server, etc.

https://www.youtube.com/watch?v=eQg16A9KEBU&ab_channel=JoshBoddiford

Appreciate any help you can provide!

Hi Josh,

Thanks for purchase.

PHP CRUD Generator uses URL rewriting to have clean nice-looking URLs in the admin.

The rewriting is managed by the admin/.htaccess on Apache servers, but as you are on Nginx you have to edit your configuration (nginx.conf) and add the following rules:

location /admin/ {
    try_files $uri /admin/index.php;
}

This is explained here: https://www.phpcrudgenerator.com/tutorials/install-phpcg-on-nginx-and-microsoft-iis-server

Also if you want more information about the files generated by the CRUD Generator, here’s the admin logic & structure: https://www.phpcrudgenerator.com/tutorials/admin-panel-tree-structure-files-and-logic

The main generated files are in admin/class/crud and admin /inc/forms

If you need anything else you’re welcome,

Gilles

Hi, I installed everything, but I have few errors popping up.

On generator/generator.php Authentication module Tab, when I click INTSALL THE USER AUTHENTICATION MODULE I get an error: Fatal error admin\secure\install\do-install.php229

And on the Admin page I get: Sorry (404 error)

We looked everywhere but couldn’t find the page you’re looking for.

Perhaps you are trying to access a list or form that you have not yet created? Or you have created the form but not the list? (to open the forms the associated list must be created)

Hi,

Thanks for purchase.

It seems that you’re trying to install the authentication module but you didn’t add any table list to your admin dashboard. And the admin 404 error seems to be the same kind of problem. You should be able to open /admin/home. I’d need more information to help you more. Feel free to email me your FTP access & other details if you need.

Gilles

Hi,

Loving the package so far. But I’m having a problem during the generation. It will show up on admin/ but admin/home does not show up.

I have installed in subdomain and made changes to .htaccess files. Can you assist.

Subdomain is: https://nomad.valiasolution.com/admin/

Hi,

Thanks for purchase.

You probably have a problem with url rewriting on your server. Did you check your apache configuration? – https://www.phpcrudgenerator.com/help-center#error-404

I’d be happy to help you but I’d need your server access with access to the apache conf.

You can email me if you want me to have a look.

Gilles

Thank you very much. Been able to sort it out. If the .404 error still occurs, get the entire directory for it to work. Thanks

Thanks for your feedback

Hi, I’m interessed to buy this wondeful script! I have one question there is the chance to generate report, pdf invoice with nice format?

Thanks Best regards Shahzad

Hi Shahzad,

This is not a built-in feature but PHP CRUD Generator is designed with clear, organised and accessible code for PHP developers.

You can generate your reports and invoices with PHP PDF Libraries like MPDF https://mpdf.github.io/, or TCPDF, or even DOMPDT.

I won’t program it for you but I can lead you on the right track.

If you need anything else you’re welcome,

Gilles

In some the tables i’m unable to see external relations part with other tables, infact relation is defined in the tables and its showing in crud relationship view also. how to solve this.

Hi,

Thanks for purchase.

I cannot answer without access to the generator & your admin, I need to see your tables, relations and how you configured the whole.
If you want you can email me your FTP access, then I’ll have a look.

Gilles

Lets say i have table users and its showing full list of it. Now its linked to message table. so in the users table, i want to show total message count of particular user as nested table, how can we do same i.e. count()

Hi,

You already have the count of the external relations records, for instance Rental “here”: https://www.phpcrudgenerator.com/admin/customer

You can edit your Users class, which should be admin/class/crud/Users.php and its template if you want to display anything differently.

The admin structure & logic is detailed here: https://www.phpcrudgenerator.com/tutorials/admin-panel-tree-structure-files-and-logic

Pre Sale Question 1. Can I use the license on Local Machine & Remote, or i’ve to buy 2 license. I want to first test on localhost and then if all gud shift to remote. 2. Is there anything i have to change in database, structure, column names for relational based queries.

Hi,

  1. Yes you can. That’s the reason why a single license allows 2 active installations. https://www.phpcrudgenerator.com/tutorials/how-to-use-phpcg-on-a-localhost-and-a-remote-server
  2. Your tables and fields must respect some basic standards: each table must have a primary key, etc. It’s explained here: https://www.phpcrudgenerator.com/documentation/index#requirements

If you need anything else you’re welcome,

Gilles

how to show total no. of counts or result both in regular result and nested result

Hi. Awesome work on the CRUD Generator. I used it for a project and when they finally got to launching it today I was at my 2 install limit due to changed dev machine. So I purchased a new license for the customer and now I have 2. I would like to clear the installs from my original license so I can use your CRUD Generator on another project in the future. Is there a way to clean the license from previous installs?

Hi,

Thanks for your message. Yes, you just have to open the installer and click “uninstall”: https://www.phpcrudgenerator.com/tutorials/how-to-uninstall-reinstall-php-crud-generator

If for some reason you can’t you can email me your purchase code and I can unregister for you.

Gilles

Thanks. I can’t do the uninstall any more so I’ll send you the key.

Hello i ve just bought that item. But some pages are giving 500 error. I didn’t installed system into public_html because i am using subdomain. And CentOS CP is creating subdomains’ directory into user root directory automatically.

Here is structure

./system.domain.com

./public_html

I can access system directly as https://system.domain.com

Would i change smt on .htaccess?

Hi,

Thanks for purchase.

The name of the root folder doesn’t matter, the 500 error is probably not due to that. You’ll need to find out what the error is from your error.log file, or activate display_errors in your php configuration to display the error on screen (which is recommended when you’re in the development phase).

If you need any further help, don’t hesitate to send me your access details (URL + FTP).

Gilles

Hi, unfortunately i stuck with the installation. Im on a wamp server, localhost, i dont know if thats the problem. I’ve tried to resolve an 500 internal server error, by what you described in the help: in admin/.htaccess file i should comment out the followsymlinks line, but cant move any further.

Apache allows override <VirtualHost *:80> ServerName eksys DocumentRoot “c:/wamp64/www/eksys” <Directory “c:/wamp64/www/eksys/”> #Options +Indexes +Includes +FollowSymLinks +MultiViews #AllowOverride All Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory> </VirtualHost>

But still cant get any further. Please help if you can!

Hi,

Thanks for purchase. The error 500 might be caused by something else, did hyou have a look to your server php logs? Or you can turn display_errors On, the error message will then be displayed on screen.

I hope it’ll help,

If you need anything else you’re welcome,

Gilles

Thanks, looks like i managed to sort it out by manipulating the admin\assets\.htaccess file.

Nice. Thanks for your feedback.

Hi, a pre sale question. In a list, can I have a column (not existing in the table) by example: in table field PRICE and in “dinamic colum” autocomplete with PRICE*0.10 Thank You !

Hi,

The generator will not build this, but it’s easy to code. If you buy and send me your FTP I can make it for you.

Gilles

cannot install on IGETU.com after a failed installation I followed the ‘delete everything’ instruction.

Install page says

Unfortunately, installation failed because of this reason: The maximum number of allowed PHP CRUD Generator installations (2 installation(s) total) reached

How do I reset and get it installed ?

Hi,

I found your installations and removed them from the system, so you can reinstall now, but why do you say the installation fails? any error message?

For more help you can If you want you can email me your FTP access and others details I might need, then I’ll have a look.

Gilles

This discussion is public, anyone can connect if you publish your FTP access here! it’s risky!

I’ll flag your comment and the Codecanyon team will remove this information.

This said, I opened the generator (/generator/generator.php) and it doesn’t show any table: it looks like your database is empty. You have first to create your tables, add fields and relationships, then click the “Refresh” button. You can then start to add your content to the admin panel.

The admin URL is /admin/home. I opened it, everything looks fine, except that you have no content, for the same reason as above.

So if you add some content to your database, then generate the admin using the generator everything will be fine.

If you need anything else you’re welcome,

Gilles

Hi i install crud generator but i cant fix the issue this is url https://autozone.cloudkara.com/

Hi,

Thanks for purchase.

I opened your generator and the admin in my browser, everything is ok, except that your database is empty, the admin only shows the users table. I’d be happy to help you but found no issue.

Hello! Is it possible to create CRUD to manage products with images and categories through the admin panel on a bootstrap site like this? https://industry.dexignzone.com/xhtml/shop-sidebar.html

Hi,

Yes, it’s perfectly well-adapted.

Migli, I’ve bought a computer after losing my computer a year and half ago. I have version 1.29. I see there is version 2 available now. I paid for 6 months of support a few moments ago. I am having a difficult time understanding how to update the software, after reading the documentation. I read that support does not include installation. What do you charge for installation service?

Best Regards, Andrew Trefethen

Hi Andrew,

It’s worth moving to the version 2, there’s many improvements, but you’ll have to rebuild your admin from scratch, you cannot update from v1.x to v2.

You just have to download it, then upload to any host and run the installer.

On localhost you have to install a local server like MAMP or Laragon.

For more help please email me.

Gilles

thank you!

you’re welciome

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey