We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Grid Field missing in New Field Type

How Do I?

sufclegends9's avatar
sufclegends9
4 posts
one year ago
sufclegends9's avatar sufclegends9

Hi,

So I recently downloaded the latest ExpressionEngine and got it all running and set up correctly, however, when I want to create a new Field, I notice that the “Grid” type is missing. All other Field Types are shown, and when I look in the database at “exp_fieldtypes” table, grid is shown there.

What has happened here?

Hope you can help.

       
Robin Sowell's avatar
Robin Sowell
13,255 posts
one year ago
Robin Sowell's avatar Robin Sowell

That’s just odd- is file_grid in the exp_fieldtypes as well?

I attached mine- any difference?

       
Robin Sowell's avatar
Robin Sowell
13,255 posts
one year ago
Robin Sowell's avatar Robin Sowell

Oh- and where did you download from- repo or EE site?

       
sufclegends9's avatar
sufclegends9
4 posts
one year ago
sufclegends9's avatar sufclegends9

Thank you for your reply. I’ve attached my “exp_fieldtypes” table.

I downloaded the zip from the EE site.

       
Robin Sowell's avatar
Robin Sowell
13,255 posts
one year ago
Robin Sowell's avatar Robin Sowell

So… I’m baffled. Try one thing- go in and delete system/user/cache/ folder and we’ll that rebuild itself.

If no difference? Is it a site I can login to as superadmin and take a look? You can hit me on [email protected].

FWIW, I did just grab a fresh install off the EE site and install- and grid is showing up for me. It’s just super odd!

       
sufclegends9's avatar
sufclegends9
4 posts
one year ago
sufclegends9's avatar sufclegends9

This still did not fix the issue. I should add I’m using a Docker container for development purposes on a Mac M1 with the following setup:

Docker Compose

services:
    php:
        build: ./php
        container_name: ee_test_web
        restart: always
        volumes:
            - ./expressionengine:/var/www/html
        networks:
            - ee-network

    mysql:
        image: mysql:8.4.2
        platform: linux/amd64
        container_name: ee_test_web_db
        restart: always
        command: --max_allowed_packet=32505856
        environment:
            MYSQL_ROOT_PASSWORD: rootpassword
            MYSQL_DATABASE: expressionengine
            MYSQL_USER: eeuser
            MYSQL_PASSWORD: eepassword
        ports:
            - 3313:3306
        volumes:
            - ./mysql_data:/var/lib/mysql
        networks:
            - ee-network

    nginx:
        image: nginx:latest
        container_name: ee_test_web_nginx
        restart: always
        volumes:
            - ./expressionengine:/var/www/html
            - ./nginx/default.conf:/etc/nginx/conf.d/default.conf
        ports:
            - 8085:80
        depends_on:
            - php
        networks:
            - ee-network

networks:
    ee-network:

PHP Dockerfile

FROM php:8.2-fpm

# Install necessary packages and PHP extensions
RUN apt-get update && apt-get install -y \
    libpng-dev \
    libjpeg62-turbo-dev \
    libfreetype6-dev \
    libxml2-dev \
    libonig-dev \
    libzip-dev \
    zip \
    unzip \
    && docker-php-ext-install pdo_mysql mbstring exif pcntl bcmath gd zip

WORKDIR /var/www/html

Nginx Conf

server {
    listen 80;
    server_name localhost;

    root /var/www/html;

    index index.php index.html;

    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }

    location ~ \.php$ {
        include fastcgi_params;
        fastcgi_pass php:9000;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_param PATH_INFO $fastcgi_path_info;
    }

    location ~ /\.ht {
        deny all;
    }
}

Directory Structure

expressionengine-docker/
│
├── docker-compose.yml
├── expressionengine
├── mysql_data
├── nginx/
│   └── default.conf
└── php/
    └── Dockerfile
       
sufclegends9's avatar
sufclegends9
4 posts
one year ago
sufclegends9's avatar sufclegends9

Just installed a fresh copy of 6.4.17 using my Docker environment as above, and the “Grid” Field Type shows.

Not sure why it isn’t working for version 7!

       
Logan Gregory's avatar
Logan Gregory
2 posts
11 months ago
Logan Gregory's avatar Logan Gregory

I appreciate you taking the time to discuss this topic; I not only have strong feelings about it but also like expanding my knowledge on this subject. Would it be feasible for you to update your blog with further information as you get more experience if that seems possible? It gives me a lot of assistance. gaseous happy wheels

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.