What's new

Welcome to xCrud Community - Data Management and extended PHP CRUD

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

XCrud error Verification Key

AppBuilder

New member
Joined
Feb 11, 2022
Messages
5
Reaction score
0
Points
1
Location
Germany
Hello XCrud Team & Community,

I've came across XCrud by chance and it looks like it is a very good solution.

Looked at and tested many other solutions before, all with Pros and Cons:

  • Scriptcase
  • PHPGrid
  • GridPHP
  • KoolPHP
  • Wappler
  • PDOCrud
  • JQWidget
  • Telerik
  • SmartHTML
There isn't really a good extension for Joomla 4.
Droptables looks nice, but does not support CRUD yet (planned).

I have purchased XCrud and implemented a simple table with Joomla 4.
I have checked the docs about the Verification Key and adjusted the config.

However, when I try some action like "Add", "Edit" or "Export", I still keep getting the error "Verification Key".
I am using joomla extension regularlabs sourcerer, which allows for plain PHP inside a Joomla Custom Module by adding tags around the PHP Code.
The grid will show and is beautiful, but I need to be able to process the data in the grid.

Why don't you have a link to this forum on your site?
I've came across this forum by chance as well.

Note:

Already contacted XCrud, but no answer so far.
Would really love to use XCrud solution on my site.
I could give devs access to the XCrud page on my server (running latest Joomla 4).
 

AppBuilder

New member
Joined
Feb 11, 2022
Messages
5
Reaction score
0
Points
1
Location
Germany
From what I understand: XCrud 1.7+ is being developed by a new dev? Therefore this Forum is only for XCrud 1.6. Correct?
 

DaDo

Administrator
Staff member
Joined
Dec 1, 2021
Messages
108
Reaction score
23
Points
18
From what I understand: XCrud 1.7+ is being developed by a new dev? Therefore this Forum is only for XCrud 1.6. Correct?
If you are using 1.6 you have the same issue ?
 

AppBuilder

New member
Joined
Feb 11, 2022
Messages
5
Reaction score
0
Points
1
Location
Germany
Haven't tried. Not sure where to find 1.6 for a test.

Besides, I will need some of the 1.7+ features like Advanced Search and Card Layout.

The current developer has answered and seems to be looking at the Verification Issue.
 

DaDo

Administrator
Staff member
Joined
Dec 1, 2021
Messages
108
Reaction score
23
Points
18
try this:

PHP:
<?php
//find on code xcrud.php
if (isset($_SESSION['lists']['xcrud_session'][$inst_name]['key']) && $_SESSION['lists']['xcrud_session'][$inst_name]['key'] ==
        $key)
        {

            
            self::$instance[$inst_name] = new self();
            self::$instance[$inst_name]->is_get = $is_get;
            self::$instance[$inst_name]->ajax_request = true;
            self::$instance[$inst_name]->instance_name = $inst_name;
            self::$instance[$inst_name]->import_vars($key);
            self::$instance[$inst_name]->inner_where();   
            
            return self::$instance[$inst_name]->render();
        }
        else
            self::error(Xcrud_config::$session_error_message);

?>
//replace to this
<?php
if (isset($_SESSION['lists']['xcrud_session'][$inst_name]['key']) && $_SESSION['lists']['xcrud_session'][$inst_name]['key'] ==
        $key)
        {

            
            self::$instance[$inst_name] = new self();
            self::$instance[$inst_name]->is_get = $is_get;
            self::$instance[$inst_name]->ajax_request = true;
            self::$instance[$inst_name]->instance_name = $inst_name;
            self::$instance[$inst_name]->import_vars($key);
            self::$instance[$inst_name]->inner_where();   
            
            return self::$instance[$inst_name]->render();
        }
        else
            self::$instance[$inst_name] = new self();
            self::$instance[$inst_name]->is_get = $is_get;
            self::$instance[$inst_name]->ajax_request = true;
            self::$instance[$inst_name]->instance_name = $inst_name;
            self::$instance[$inst_name]->import_vars($key);
            self::$instance[$inst_name]->inner_where();   
            
            return self::$instance[$inst_name]->render();
 

DaDo

Administrator
Staff member
Joined
Dec 1, 2021
Messages
108
Reaction score
23
Points
18
Error: Incorrect table name ''SHOW COLUMNS FROM ``
This problem from database incorrect table show me code... or enable debug like post on the forum
 

AppBuilder

New member
Joined
Feb 11, 2022
Messages
5
Reaction score
0
Points
1
Location
Germany
When I enable PHP debug with xcrud.php, I get:
syntax error, unexpected 'reporting' (T_STRING)

this is on page load...without any action triggered.
 

DaDo

Administrator
Staff member
Joined
Dec 1, 2021
Messages
108
Reaction score
23
Points
18
When I enable PHP debug with xcrud.php, I get:
syntax error, unexpected 'reporting' (T_STRING)

this is on page load...without any action triggered.
put screen or send on private url I will see
 

Quixote

New member
Joined
May 24, 2023
Messages
1
Reaction score
0
Points
1
Location
UK
Hi
Did this ever get resolved, I'm having identical problems both before and after the recomended fix.
Running Joomla 4.3.1 in PHP 8.1.19 and XCrud 1.7.17
Be nice to be able to use it.
 

Pantera

New member
Joined
Oct 3, 2024
Messages
1
Reaction score
0
Points
1
Location
Argentina
Error: I put the suggested code above and I have the following error "You must define your table before using the receive_post method" can you help me?
 
Top Bottom