Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 15 15:08
    mshevtsov opened #10
  • Aug 13 17:01

    dracony on master

    Added support for persistent co… Fixed issue with multiple serve… Added fix for memc options sett… and 3 more (compare)

  • Aug 13 17:01
    dracony closed #5
  • Jul 11 23:32

    dracony on master

    Set up CI with Azure Pipelines … (compare)

  • Jun 10 14:29
    dorantor synchronize #5
  • Jun 10 13:55
    dorantor synchronize #5
  • Jun 04 13:19
    dorantor edited #5
  • Jun 04 13:17
    dorantor commented #5
  • Jun 04 13:16
    dorantor synchronize #5
  • Jun 04 11:26
    dorantor synchronize #5
  • Jun 03 08:17
    dorantor opened #5
  • Mar 31 12:21
    Linfuby closed #2
  • Jan 21 12:27
    rez1dent3 closed #34
  • Nov 07 2018 11:00
    ZonD80 commented #3
  • Sep 26 2018 12:17
    visavi commented #35
  • Sep 26 2018 12:05
    visavi edited #35
  • Sep 26 2018 11:58
    visavi edited #35
  • Sep 26 2018 11:57
    visavi opened #35
  • Sep 19 2018 07:51
    visavi closed #3
  • Sep 19 2018 07:51
    visavi commented #3
Alexander Rios
@saRca
formulario-validacion.jpg
validando-formulario.jpg
is there something I'm missing?
Kushelbek
@net_star_twitter
Hello all! Can i connect to ms sql db ?
Alexandr Antonov
@Raccoon22_gitlab

Hello, everybody! I getting started to learn PHPixie by official tutorial (https://phpixie.com/quickstart.html) and faced problem.
I did all steps in section (ORM relationships and pagination). But i get error

Undefined offset: 1
/var/www/projects/phpixie/vendor/phpixie/orm/src/PHPixie/ORM/Relationships/Relationship/Implementation/Preloader/Result.php:27
public function getEntity($id)
{
$this->ensureMapped();
return $this->loader->getByOffset($this->idOffsets[$id]);
}
public function loadProperty($property)

Paradoxor
@Paradoxor
Good morning, I just took over a project that is using phpixie and I have a Problem with the File upload. Everything is working fine until I upload an image with more than 2MB in file size. That I get following Error finfo::file(): Empty filename or path
We already increased post_max_size = 20M
upload_max_filesize = 20M in the php.ini. Has anyone encountered this problem or has anyone some hints for me where to find a solution
Maxi Di Rienzo
@maxidirienzo
@Paradoxor run a script with a php_info(); and check if your settings are effectively being applied, some hosts do not allow overriding these settings from php.ini and you need to do it from the control panel or ask the provider.
Paradoxor
@Paradoxor
Hey @maxidirienzo thanks for the hint looks like it is fixed now
Roman Tsiupa
@dracony
@kip260384 For next 15 years? JS or Java I guess
@net_star_twitter it can connect to ms sql but the ORM doesn't have a driver for it
@Raccoon22_gitlab can you paste your orm config please?
melo dramatic
@melod
phpixie is doen again i think. i need the tutorial related to mongodb
ZonD Eighty
@ZonD80
Hello everyone!
I'm trying to find answer - is it possible to orderBy relationship parameter?
Fee Zocher
@fee_zocher_twitter
hi all!
just started with phpixie some minutes ago. I would like to start all over with the installation because of some error messages. is it enough to rm -r the intall directory?
Alexander Grigorev
@visavi
Hello everyone, does anyone know how to make a polymorphic relationship?
Roman Tsiupa
@dracony
@ZonD80 sure
do you have a specific issue? otherwise it's in the doc
@fee_zocher_twitter sure
@visavi in general? or in ORM?
Alexander Grigorev
@visavi
@dracony yes in ORM

I have a comment table, in which there are records from news from articles, etc.

I need to get, for example, all comments on a specific article. through communication

as well as in laravel there are links morphMany

Roman Tsiupa
@dracony
right
so the easiest way to achieve this is to have tables e.g.:
news, articles, pictures, comments
and relationship tables:
news_comments, articles_comments, pictures_comments etc.

you can also keep them all in one table items_comments with layout like:

comment_id, news_id, article_id, picture_id

and then define relationships like:

 array(
            // mandatory options
            'type'  => 'manyToMany',
            'left'  => 'article',
            'right' => 'comment',


            'pivot' => 'items_comments',


            'pivotOptions' => array(
                'leftKey'  => 'articleId',
                'rightKey' => 'commentId',
            )
        )
this way you can keep all comment relationships in one table
but that is if you want a manyToMany Relationship
which probably you dont
since a comment is either on an article or on a picture
Roman Tsiupa
@dracony
for oneToMany just create in your comments table fields like
article_id, picture_id, news_id etc.
and define relationships on those
Alexander Grigorev
@visavi
Спасибо за вариант, но если честно не очень хорошее решение, избыточность БД
Ghost
@ghost~5ceee3a2d73408ce4fc1b0d1
Hi!
Ghost
@ghost~5ceee3a2d73408ce4fc1b0d1
I looked through the PHPixie on Github. Last commit was on 16 Feb 2018. I want ask, PHPixie is living yet? Should I start a new project with it?
Ghost
@ghost~5ceee3a2d73408ce4fc1b0d1
Is here anybody?
Anton Kolenkov
@dorantor
@ghost~5ceee3a2d73408ce4fc1b0d1 Sometimes :)
Hi @dracony! I've added PR to Cache component. It will allow to use persistent connections for memcached driver.
Anton Kolenkov
@dorantor
PHPixie officially -dead- not supported? :)
sobolevna
@sobolevna
@dorantor I'm afraid yes :-)
Anton Kolenkov
@dorantor
@sobolevna I see. Thanks. I think it would be better to make it official.
Samuel Sampaio
@SamuelEds
I'm pretty lost with PHPixie, I want to work with it, but I'm getting it wrong, could anyone help me?
Roman Tsiupa
@dracony
Hi :)
It's not officially dead, but I
did not sadly work on any new features for a while
@dorantor will take a look
looks good, merged !
Thanks for helping out!