donjakobo/A3M

which version to use?

Opened this issue · 11 comments

I am starting a new project based on A3M today. Which version should I use? the master branch (2.x) or the ci3-beta branch? Will the 2.x be deprecated in near future? There is also a forked A3M (https://github.com/AdwinTrave/A3M) whose description says that it is a CI 3.x package. Any leads on which of these to use?

v2 is the CI3 version and is nearing completion, here in a branch called ci3-beta. My repository is where most of the code for v2 is merged from as I work on it. The current v1.x is getting quickly outdated (in terms of social providers compatibility) and at least I don't plan any updates for it. If you are starting I would recommend going with v2 as it used CI3, but both the framework and A3M are still in development so you have to look up for updates.

Thanks, AdwinTrave!

I understand that you are recommending the master branch of https://github.com/donjakobo/A3M/ . I installed it a few days ago and Google and Twitter connects were not working (giving errors). Will they be fixed soon?

The master branch is the v1.x which at least I'm no longer updating. You will have to ask @donjakobo about that.

OK, thanks!

@AdwinTrave I started using ci3-beta but it has issues (see the Issues page). Is your ci3 branch (https://github.com/AdwinTrave/A3M/tree/CI3) in better shape?

Only by a few commits at best. I think the issues is caused by some missing files.

But who has the missing files?

@AdwinTrave, I see that https://github.com/AdwinTrave/A3M/tree/CI3 has a lot of recent activity but ci3-beta branch of this repo was last updated Aug 19th. When are you planning to update ci3-beta?

Is it safe to follow https://github.com/AdwinTrave/A3M/tree/CI3 instead ci3-beta? I mean, which one will likely have long term support?

And lastly, what's the difference between AdwinTrave/A3M/tree/CI3 and AdwinTrave/A3M/tree/master?

Thanks and keep up the good work!

Depends on what you are planning. My CI3 branch contains the recent changes, when I merge things to ci3-beta it usually is a pack of things that I think that are now ready to be shared and for the next level of testing. So follow my branch for the newest and latest, but also more unstable.

No luck. Your CI3 branch gives errors out of the box:

Error Number: 1054

Unknown column 'user_data' in 'field list'

INSERT INTO ci_sessions (user_data, session_id, ip_address, user_agent, last_activity) VALUES (..... [deleted] ....

Filename: libraries/Session/drivers/Session_cookie.php

Line Number: 512

Sorry for the delay, it has been an issue caused by CI3. Now with new sessions implemented it should be fixed. You will need to replace the MySql table with the new structure that will be updated in the sql file as well.