Port to Drupal 6
briskday - July 24, 2008 - 23:10
| Project: | Ubercart Addresses |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | freixas |
| Status: | needs review |
Jump to:
Description
I tried to update the module for 6 with the coder module and documentation pages, seems like it's almost there...I get this error when I enable it.
Parse error: syntax error, unexpected T_STRING, expecting ')' in /html/sites/all/modules/uc_addresses/uc_addresses.install on line 28
| Attachment | Size |
|---|---|
| uc_addresses.zip | 22.8 KB |

#1
Is there an Ubercart port for D6 out already? In what environment are you testing this module?
#2
not an official release but a development mod 6.x-2.x-dev
#3
This is an issue that should be posted in the issue queue for the coder module - not here. The coder module evidently made a mistake and used a double quote instead of a single quote on line 28. Make a bug report for coder, post the D5 uc_addresses.install file and the faulty D6 output to show what you started with and what coder did wrong.
I personally wouldn't rely on just the coder module to port code, although it can save time to start with coder then finish by hand.
#4
Sounds good to me. Can I close this?
#5
It's not a problem with code it is a problem with my lack of syntax knowledge. I though someone could look at what I had done and see what the problem was. If there is no interest in making this module available for 6 that's fine I will try to find another solution. Sorry for the bother, close it up.
#6
Sorry that should have read "not a problem with Coder module..."
#7
Actually, I am interested in making this module available for D6. I've just been working from morning to night recently and haven't had a lot of time to deal with some of the module problems. I do intend to have a D6 release.
I thought the comment from TR included the fix (change double-quote to single-quote) and that you could proceed from there. As TR said, the bug should be for the Coder module.
If what you meant was that you used the Coder module, got as far as you could with it and wanted someone to finish the port, then that's a different request. As I said, I'll work on one as soon as I have time. If you can develop one independently, that's great. If you need my help, you'll have to wait a bit. If someone else wants to jump in, they are welcome.
I'll leave this open for the moment. Let me whether you can proceed with the D6 port or need further help.
#8
Hello, any info about the porting? This module sounds amazing (I hope it will be included in Ubercart core) If the port in first thread is working could anyone confirm it? I had some bad experiences with installing/uninstalling things for Ubercart in D6 and I don't want a total mess once more... Thanks!
#9
I'll port it to D6 once the D6 version of Ubercart is ready.
#10
??? ubercart for D6 is ready (I'm using it and I have nearly no problems) maybe not totally finished and perfectly polished but is ready and working. The main features and structure are finished and just 2 optional modules need to be ported.
#11
Port is underway. Hang tight!
#12
I'd be very interested in a D6 version, and happy to bug test whatever is available.
#13
Status report:
I've got the My Account portion working for D6, but I haven't fully tested every action.
I haven't tested the checkout portion because my D6 environment doesn't currently have a single product. I just need to create one and start testing.
The biggest hangup, though, is that I have a major project with tight deadlines for an important client. Anyone that wants to help out with what is really an alpha build—send me an e-mail (start by using my contact form) and I'll send you a ZIP file. Believe it or not, that's easier than checking something into CVS, since I always have to think about exactly which branch to check it in.
I expect there will be lots of bugs, so obviously this wouldn't be for production. It would just help me gather up all the problems. Bug reports would be informally through e-mail.
Programming help would be even better :-)
#14
OK, I've released a 6.x-1.x-dev version of uc_addresses. Most things are working, but I'm sure there are problems and I will be doing some code refactoring once I get all the problems fixed.
DaniORama and PatrickHarris: you both promised to test out the D6 version. As soon as the system generates the dev version (takes a few hours), you should have something to try out.
I tested with the late October version of Ubercart 6.x-2.x-dev.
#15
Thanks! I'll have a look at it tomorrow.
#16
Thanks for the work on this port. I've used it in some of my Drupal 5 installs and I'll most likely want it for my Drupal 6 versions.
Much thanks,
Jordan
#17
#18
Hi, how's the status and intended schedule regarding the portation to D6?
Will the 6 version be compatible with the "views integration" patch?
I am also open for a sponsorship. Specially when it will work with views.
Please let me know what you would need.
#19
The 6.x-1.x-dev version has been out since April. There is a know bug regarding the way the zone field fails to update properly when the country is changed (during checkout only). The main Ubercart authors were unable to help solve the problem and neither was I. Until such time as the problem is resolved, there will only be a developer release.
The stats show more sites now using version 6 than version 5. If you have no international requirements, it seems to work well enough.
View enhancements will be added (only) to version 6 of the module.
I'm not sure what you mean by being open to a sponsorship. If you mean that you would be willing to fund the development efforts for uc_addresses, that would be nice. It would seem to make more sense to fund the effort in order to speed adding Views support, rather than wait until after Views support is added. What specific features are you interesting in funding?
Development work on uc_addresses is near the bottom of my list right now. Funding would move it to the top.
#20
Thank you for your feedback!
And yes, you got me right regarding the sponsorship.
I will check the 6.x-1.x-dev release and get back to you.
#21
Hi,
Any news on on a full release?
Cheers
Zap
#22
There is one major bug left (that I know about): During checkout, trying to change the country will result in a warning the first time. Repeat and it will work. The code I use works for all the forms I create, but the checkout form is a form I alter.
I won't release 6.x-1.0 until this bug is fixed. I tried several times to fix it and didn't get anywhere. I asked the Ubercart folks about this, and they were unable to help. I am not currently working on the problem. Until someone provides a fix, there will not be an 6.x-1.0 release.
If you don't sell internationally, the current dev version is probably fine.
#23
+1
#24
+1
#25
subscribing