Coder Social home page Coder Social logo

Installation error about rssfetcher HOT 8 CLOSED

adrenth avatar adrenth commented on June 26, 2024
Installation error

from rssfetcher.

Comments (8)

adrenth avatar adrenth commented on June 26, 2024

I've pushed an update. Cannot reproduce, need some more details.

Can you tell me:

  • which MySQL version you are using?
  • if you have tried php artisan plugin:refresh Adrenth.RssFetcher (CAUTION: this will probably delete some plugin data).
  • Is the MySQL InnoDB driver installed/present?

~ Alwin

from rssfetcher.

Denoder avatar Denoder commented on June 26, 2024

Maria DB 10.0
Yes ive tried and it still gives the same error
yes InnoDB is installed

from rssfetcher.

adrenth avatar adrenth commented on June 26, 2024

Hey, thanks for pasting those exceptions, that makes a lot of sense to me. This should be an easy fix :-) My database configuration allows me to have longer keynames. I have modified the length of the keys, so this issue should be resolved.

Make sure you have installed version 1.0.14.

And please if you like this plugin, give me some feedback by rating this plugin on octobercms.com. Thanks.

from rssfetcher.

Denoder avatar Denoder commented on June 26, 2024

issue still occrs for me :(

from rssfetcher.

adrenth avatar adrenth commented on June 26, 2024

The build of version 1.0.14 was not triggered by OctoberCMS' Marketplace. It should be released by now. Please install 1.0.14 which addresses this issue.

from rssfetcher.

Denoder avatar Denoder commented on June 26, 2024

im still getting:

SQLSTATE[HY000]: General error: 1709 Index column size too large. The maximum column size is 767 bytes. (SQL: alter table `adrenth_rssfetcher_items` add unique `item_id_unique`(`item_id`))

from rssfetcher.

adrenth avatar adrenth commented on June 26, 2024

The index which the migration file is trying to create is named item_id_unique for the column item_id.

This is basic SQL and this is correct:

alter table `adrenth_rssfetcher_items` add unique `item_id_unique`(`item_id`))

This is de PHP code from the migration file:

$table->string('item_id')->unique('item_id_unique'); // VARCHAR(255)

The cause of this issue is that you are using a different collation type on your database than the common utf8. I think you have created the database with a utf8mb4 (4-bytes character size). With utf8 the database uses 3 bytes per character (2553 = 765 bytes). With utf8mb4 collation each character takes up to 4 bytes (2554 = 1020) which exceeds the setting of 767 bytes.

I have changed the length of the fields to 191 characters (4*191=764 bytes). Which should be fine.

This issue is addressed in release 1.0.15. Please let me know if this works for you.

Please rate my plugin if you like it on octobercms.com. Thanks!

from rssfetcher.

Denoder avatar Denoder commented on June 26, 2024

still getting:

"SQLSTATE[HY000]: General error: 1005 Can't create table `sata_database`.`#sql-ea6_331a` (errno: 150 "Foreign key constraint is incorrectly formed") (SQL: alter table `adrenth_rssfetcher_items` add constraint items_source_id_foreign foreign key (`source_id`) references `adrenth_rssfetcher_sources` (`id`) on delete cascade)" on line 666 of 

from rssfetcher.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.