joomlaboat / custom-tables

The Custom Tables extension allows you to create, manage, and display custom data on your Joomla site. It is helpful if you need to display data that is not part of the standard Joomla content structure. For example, you could use this extension to create a custom table for product information, customer data, or any other type of data that you need to display on your site. The Custom Tables is the CRUD solution for Joomla 3.x and 4.x - CREATE, READ, UPDATE and DELETE. You can add tables, fields, and layouts to create catalogs, forms, or details pages. It has 40 Field Types: Integer (numbers), Decimal, Text String, Time, Email, Color, Image, File, User, Language, etc.
https://joomlaboat.com/custom-tables
GNU General Public License v2.0
35 stars 11 forks source link

Error creating a menu entry #85

Closed CyrisID closed 4 months ago

CyrisID commented 4 months ago

Describe the bug After successfully installing the plugin, I attempted to create a menu entry. Unfortunately, this failed with an error. Testing on a separate, second Joomla installation yielded the same result.

To Reproduce Steps to reproduce the behavior:

  1. Go to the Administrator Control Panel
  2. Click on the left side on Menu, then on Main Menu
  3. Click Add (top Left)
  4. Chose Custom Tables an then "Add/Edit Record"
  5. See error: _An error has occurred. 0 Undefined constant "CUSTOMTABLES_LIBRARIESPATH"

Screenshots If applicable, add screenshots to help explain your problem. JoomlaError

Desktop (please complete the following information): Database Type mysql Database Version 11.1.2-MariaDB Database Collation utf8mb4_general_ci Database Connection Collation utf8mb4_general_ci Database Connection Encryption None Database Server Supports Connection Encryption No PHP Version 8.2.12 Web Server Microsoft-IIS/10.0 Joomla! 4.4.3 Stable [ Pamoja ] 20-February-2024 16:00 GMT Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36

Additional context Add any other context about the problem here.

jsmoothsalsa commented 4 months ago

Hi I have the same problem also. Just installed to test this out on 3/29/24 with same results.

joomlaboat commented 4 months ago

Hello everyone.

Its fixed. Please download the update from the git hub:

https://github.com/joomlaboat/custom-tables

jsmoothsalsa commented 4 months ago

Not sure if it's related but I received this error when trying to vide the menu item. I'm using Gantry 5 on the website that has the error:

Symfony\Component\ErrorHandler\Error\FatalError thrown with message "Compile Error: Declaration of Gantry\Component\Twig\TwigExtension::getGlobals() must be compatible with Twig\Extension\GlobalsInterface::getGlobals(): array"

Stacktrace:

0 Symfony\Component\ErrorHandler\Error\FatalError in /home2/hellobac/public_html/libraries/gantry5/src/classes/Gantry/Component/Twig/TwigExtension.php:53

3-1-2024 11-28-24 AM

joomlaboat commented 4 months ago

There is a conflict with the Gantry template.

Please disable Twig Load.

image

jsmoothsalsa commented 4 months ago

Resolved thank you very much for your help.

joomlaboat commented 4 months ago

Glad to hear that. You are welcome.