Giter VIP home page Giter VIP logo

Comments (8)

phpfunk avatar phpfunk commented on July 22, 2024

Thanks for the info. We haven't tested on any 32bit systems so this is good to know. The reason we are using this instead of sequential is because of collisions with migrations in core application with someone that has downloaded the application and is creating custom migrations.

Simple sequential iterations would/could cause collisions. Will look into some other options to try and support 32 bit systems with migration file names while still not reverting back to sequential.

Again, thanks for the info. Very much appreciated. Until we can support this I will update docs to say migrations only support 64-bit versions.

-Jeff

from unmark.

sudoer avatar sudoer commented on July 22, 2024

Instead of just saying "64-bit only", give them a work-around.

I changed the application/config/migration.php to include this:
$config['migration_version'] = 11;
$config['migration_type'] = 'sequential';

And then I went to application/migrations and symlinked
ln -s 20140228091723_label_sort.php 011_label_sort.php

That was enough to get me up and running. I understand that I
might have some problems with platform upgrades later... but
this is enough to let me try the system out.

Alan

from unmark.

sudoer avatar sudoer commented on July 22, 2024

I replied to the bug on github, but I am not sure if you'll get
a notice because it is already closed... so I will copy you
via email.

So far, it looks like a nice tool!

Alan

Instead of just saying "64-bit only", give them a work-around.

I changed the application/config/migration.php to include this:
$config['migration_version'] = 11;
$config['migration_type'] = 'sequential';

And then I went to application/migrations and symlinked
ln -s 20140228091723_label_sort.php 011_label_sort.php

That was enough to get me up and running. I understand that I
might have some problems with platform upgrades later... but
this is enough to let me try the system out.

Alan

On 2014-03-13 17:03, Jeff Johns wrote:

Thanks for the info. We haven't tested on any 32bit systems so this
is
good to know. The reason we are using this instead of sequential is
because of collisions with migrations in core application with
someone
that has downloaded the application and is creating custom
migrations.

Simple sequential iterations would/could cause collisions. Will look
into some other options to try and support 32 bit systems with
migration file names while still not reverting back to sequential.

Again, thanks for the info. Very much appreciated. Until we can
support this I will update docs to say migrations only support 64-bit
versions.

-Jeff

Reply to this email directly or view it on GitHub [1].

Links:

[1]
#27 (comment)

from unmark.

doublehelix avatar doublehelix commented on July 22, 2024

Whoops - just encountered the same issue on Windows(x64).
Even with the 64-bit version of PHP on Windows, Integers are still limited to 32-bit due to an incredibly complex (read: having to re-write the numbers core of PHP) reason.
(see: http://marc.info/?l=php-internals&m=137002754604365&w=2)

Perhaps, instead of using the yyyymmddhhmmss format, we could simply use a timestamp value (which would remain within the 32-bit range).

Regards,
James.

from unmark.

phpfunk avatar phpfunk commented on July 22, 2024

James,

I have thought about this as well. I have it on my docket to look at. I have to test the timestamp vs. the current format to see if it will mess anything up with current installs. Coming soon.

-Jeff

from unmark.

durden avatar durden commented on July 22, 2024

Is there any update on this? I see it's closed, but I'm running into this issue still with the 1.2.5 release. Should I try the HEAD of master branch, the above work-around, or just wait for a new release/specific commit?

from unmark.

kip9 avatar kip9 commented on July 22, 2024

It should be fixed in todays release https://github.com/plainmade/unmark/releases/tag/1.5.0 - from this version on everything should work fine on 32-bit systems. Please let us know if the issue is fixed with latest release for you.

from unmark.

durden avatar durden commented on July 22, 2024

Thanks for the update @kip9. I verified the 1.5.0 release works now on the same box that was previously failing.

from unmark.

Related Issues (20)

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.