Comments (8)
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.
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.
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.
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.
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.
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.
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.
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)
- Show better error when no Database tables exist HOT 1
- Add Docker instructions to Readme HOT 6
- Close tag list when adding "quick tag" from Most-used and Recently-used tag list
- Importing HTML / Unmark export redirects to a white page HOT 5
- Page not displayed correctly HOT 3
- Search Archive when on Archive
- $config['unmark_version'] update in config.php? HOT 4
- How to use PHP for simple scaffolding?
- Wrong release uploaded HOT 1
- The exported file contains deleted marks HOT 6
- Loading more marks does not work properly HOT 2
- Support importing marks with tags HOT 1
- Offical backup and restore script HOT 3
- Make Unmark available on Docker Hub HOT 2
- setup ? HOT 7
- A Database Error Occurred Error Number: 1146
- Default branch link
- openssl error when adding url
- Project status HOT 4
- Update CI to 3.1.13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unmark.