Hi Michelle,
Noting that your excellent Advanced Profile module takes a few extra set-up steps than most contributed modules when initially uploading to one's server, I was wondering what steps I need to take to get your latest dev version up and running on my server. Basically, I see you have a newer 5.x-1.x-dev version dated 2008-Jan-24, but I'm hesitant to upload it over the older dev version until I know what special steps, if any, are needed to get the newer dev version up and running.
Looking particularly at your tutorial's "Configuring Advanced Profile" section, other than the first step, "1. Copy the entire advanced_profile module directory into your normal directory for modules, usually sites/all/modules", are there any other steps from your tutorial that I need to repeat?
For example, under "Configuring Advanced Profile", do I need to repeat the second step, "2. Inside the advanced_profile directory is a subdirectory named "advprofile". Copy this entire advprofile subdirectory into your theme's directory."?
Or will I from now on simply need to repeat step 1 and only step 1 under "Configuring Advanced Profile"?
I think that if you add a section to the end of your tutorial named something like "Upgrading Advanced Profile From One Version to Another" (or something similar) and then you added a sentence or two on any necessary steps, that would be helpful to future users. :)
Thanks!
Walt
Comments
Comment #1
michelleThe problem is that, right now, there aren't any versions. It's all unstable dev code. I just need to get a bit more time to give it a good test and clean up and I'll release an alpha. That will make it easier because then people aren't getting "versions" that are auto generated from the latest code I've tossed up there.
If you haven't modified the panel at all, delete the advanced_profile module directory and untar the new version in its place. Delete the advprofile directory out of your theme directory and put the new one in its place. Go to the list pages of your panel pages and mini panels and double check that they dont' say "overridden". If they do, then you've modified them and it's not using the module code anymore. You can revert them to use the module code or keep what you have if you like it better.
Unfortunately, this module is theme-like in that once you modify it upgrading is difficult.
If I can get some computer time this weekend I'll do an alpha. Otherwise it will be some time next week.
Michelle
Comment #2
thomasmuirhead commentedHi Michelle and Walt,
On this point I installed an earlier version of AdvProfile then couldn't get it to work so deleted it again. Now I'm trying to install the new dev and followed the instructions again. On enabling the module, I get this error message:
Fatal error: Cannot redeclare advanced_profile_default_panel_minis() (previously declared in /home/maybeor/www/www/modules/advanced_profile/advanced_profile.module:232) in /home/maybeor/www/www/modules/advanced_profile/includes/advprofile_panels.inc on line 177
which I think is tied to the fact that I may have attempted to edit/change the panels the first time, or just the very fact that I had it installed earlier means it's unable to 'redeclare'.
Any thoughts on how to get by this?
thanks
thomas
Comment #3
michelleLooks like you somehow got the new .module file and the old .inc file. I checked to make sure I hadn't screwed up CVS again and the correct file is up there. Try deleting the advanced_profile directory and recreating it from the latest tarball.
Michelle
Comment #4
thomasmuirhead commentedThanks Michelle...I'm sure I did that the first time. Sorry, and thank you again.
It looks like we're on the way.
If your curious, we think it might be because when you delete the advanced profile directory it somehow knows to delete the advprofile folder from the themes directory too. We didn't notice that the first time, and then readded that folder later...it might be because of that.
Anyhow it seems to be there. Now, to seeing what we can make it do.
thomas
Comment #5
Walt Esquivel commented@Michelle - Excellent instructions. Thanks, worked like a charm.
@Thomas - I'm closing this but feel free to reopen it if you have further issues regarding the re-installation of Adv Pro dev versions, particularly the documentation thereof.