• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

Cicool - Page, Form, Rest API and CRUD Generator

Cicool - Page, Form, Rest API and CRUD Generator v.3.4.4

No permission to download
the up function is declared in applications/migrations/20230123113357_cicool.php . Should work now. The dev was missing an capital letter.... CodeIgniter sucks ;)
hey there, I have uploaded together with the 20230123113357_cicool.zip but it's still giving me The migration class "Migration_Cicool" is missing "up" method. Error. Have I missed something?
 
  • Like
Reactions: hellboy9211
@Babak

Really sad
I have been active in this forum for many years.
All my points were lost because the site had a problem
When returning the information, all my points were ignored.
In many parts of this site, I nulled scripts and mobile apps for my friends, but now when I want to download this file, I see that it has a password. And because I don't have enough points, I can't download it.
And unfortunately, I have to download from other sites🍆😡😤
 
  • Like
Reactions: debytoge
The script is not installed
It gives an error during the installation process
In the last step, it gives this message:


An uncaught Exception was encountered​

Type: mysqli_sql_exception Message: Incorrect table definition; there can be only one auto column and it must be defined as a key Filename: /opt/lampp/htdocs/rest2/system/database/drivers/mysqli/mysqli_driver.php Line Number: 305 Backtrace: File: /opt/lampp/htdocs/rest2/application/migrations/20230828192509_create_table_dashboard_slide.php Line: 41 Function: create_table File: /opt/lampp/htdocs/rest2/modules/wizzard/controllers/Wizzard.php Line: 228 Function: latest File: /opt/lampp/htdocs/rest2/index.php Line: 312 Function: require_once
 
Really sad
I have been active in this forum for many years.
All my points were lost because the site had a problem
When returning the information, all my points were ignored.
In many parts of this site, I nulled scripts and mobile apps for my friends, but now when I want to download this file, I see that it has a password. And because I don't have enough points, I can't download it.
And unfortunately, I have to download from other sites🍆😡😤
All you need is a resource shared with the community here.

The script is not installed
It gives an error during the installation process
In the last step, it gives this message:


An uncaught Exception was encountered​

Type: mysqli_sql_exception Message: Incorrect table definition; there can be only one auto column and it must be defined as a key Filename: /opt/lampp/htdocs/rest2/system/database/drivers/mysqli/mysqli_driver.php Line Number: 305 Backtrace: File: /opt/lampp/htdocs/rest2/application/migrations/20230828192509_create_table_dashboard_slide.php Line: 41 Function: create_table File: /opt/lampp/htdocs/rest2/modules/wizzard/controllers/Wizzard.php Line: 228 Function: latest File: /opt/lampp/htdocs/rest2/index.php Line: 312 Function: require_once
the up function is declared in applications/migrations/20230123113357_cicool.php . Should work now. The dev was missing an capital letter.... CodeIgniter sucks ;)
PLs be sure you add this to the migrationfile. The dev dont change it in further updates

Type: mysqli_sql_exception Message: Incorrect table definition; there can be only one auto column and it must be defined as a key Filename: /opt/lampp/htdocs/rest2/system/database/drivers/mysqli/mysqli_driver.php Line Number: 305

The answer is already declared in the error message !!!!11
 
  • Like
Reactions: kia1349
All you need is a resource shared with the community here.



PLs be sure you add this to the migrationfile. The dev dont change it in further updates

Type: mysqli_sql_exception Message: Incorrect table definition; there can be only one auto column and it must be defined as a key Filename: /opt/lampp/htdocs/rest2/system/database/drivers/mysqli/mysqli_driver.php Line Number: 305

The answer is already declared in the error message !!!!11
thanks bro

But this error is related to something else

In the file " 20230828192509_create_table_dashboard_slide.php " on the lines 22-23 I had to comment the "auto_increment" to create the complete database
This installed the script


here is new 20230828192509_create_table_dashboard_slide.php


PHP:
<?php

defined('BASEPATH') or exit('No direct script access allowed');

class Migration_create_table_dashboard_slide extends CI_Migration
{

    /**
     * Name of the table to be used in this migration!
     *
     * @var string
     */
    protected $_table_name = "dashboard_slide";

    public function up()
    {
        $this->dbforge->add_field(array(
            'id' => array(
                'type' => "INT",
                'constraint' => 11,
                'null' => TRUE,
                'unsigned' => TRUE//,
             //   'auto_increment' => TRUE
            ),
            'name' => array(
                'type' => "VARCHAR",
                'constraint' => 255,
                'null' => TRUE,
            ),
            'interval' => array(
                'type' => "DOUBLE",
                'null' => TRUE,
            ),
            'user_id' => array(
                'type' => "INT",
                'constraint' => 11,
                'null' => TRUE,
            ),
        ));

        $this->dbforge->create_table($this->_table_name);
    }

    public function down()
    {
        $this->dbforge->drop_table($this->_table_name, TRUE);
    }
}
 
  • Like
Reactions: Efacid
thanks bro

But this error is related to something else

In the file " 20230828192509_create_table_dashboard_slide.php " on the lines 22-23 I had to comment the "auto_increment" to create the complete database
This installed the script


here is new 20230828192509_create_table_dashboard_slide.php


PHP:
<?php

defined('BASEPATH') or exit('No direct script access allowed');

class Migration_create_table_dashboard_slide extends CI_Migration
{

    /**
     * Name of the table to be used in this migration!
     *
     * @var string
     */
    protected $_table_name = "dashboard_slide";

    public function up()
    {
        $this->dbforge->add_field(array(
            'id' => array(
                'type' => "INT",
                'constraint' => 11,
                'null' => TRUE,
                'unsigned' => TRUE//,
             //   'auto_increment' => TRUE
            ),
            'name' => array(
                'type' => "VARCHAR",
                'constraint' => 255,
                'null' => TRUE,
            ),
            'interval' => array(
                'type' => "DOUBLE",
                'null' => TRUE,
            ),
            'user_id' => array(
                'type' => "INT",
                'constraint' => 11,
                'null' => TRUE,
            ),
        ));

        $this->dbforge->create_table($this->_table_name);
    }

    public function down()
    {
        $this->dbforge->drop_table($this->_table_name, TRUE);
    }
}
thanks
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock