How Do I Install the 3.18 Upgrade?

Discussion in 'Installation' started by ionsaliu, May 27, 2009.

  1. ionsaliu

    ionsaliu Member

    Joined:
    Aug 10, 2007
    Messages:
    33
  2. mglmstr1

    mglmstr1 New Member

    Joined:
    May 7, 2009
    Messages:
    12
    While I know some tech, I'm an idiot when it comes to PHP and website stuff. I too was worried about upgrading to this new update, but it really is pretty simple. There's a guide right above where you download it with about 4-5 steps.

    1. Download old amember folder for backup.
    2. Backup mysql through amemeber. Gives you a zip file or something to download. (Won't need it though, but best to have it if something does go wrong for a support ticket.)
    3. Upload new files to amember folder with FTP client. Overwriting what it wants to overwrite, etc.
    4. Run some script that it talks about in the guide to get your msql database stuff transfered over.
    5. Done. Took me about 5 minutes and that's with downloading amember folder on website for backup, etc.

    I suppose if you've customized a bunch of your php pages ect, that it's more involved, but if you can already do that, upgrading shouldn't be an issue in the first place.

    GL,
    -B
  3. codeispoetry

    codeispoetry aMember Pro Customer

    Joined:
    Jan 12, 2009
    Messages:
    336
    Hey Ion,

    For Upgrades, download your upgrade file using the dropdown menu:
    "Upgrade from vX.XX"

    Instead of the entire v3.1.8 zip file (this is for new installations).

    Lee
  4. paul_ruf1

    paul_ruf1 aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    11
    Couldn't agree more with the first poster. Get a good English translator NOT a straight literal translation. It makes for very confusing info.

    Anyway I'm also feeling a little worried about doing the upgrade.
    Basically if this goes wrong I could lose my main income, simple as that.

    Do all the files go into the amember folder? nothing into sub folders?

    What customizations will be lost?
    There is a grey area for me as I'm not entirely sure what is a customization and what is just a preference on amember.


    I bet no one keeps a list of all the stuff they've changed which is why we need a checklist of some sort so we'll know what we're gonna lose after the upgrade.

    This is the biggest fear for most I'm sure.

    Will all customer records remain, including all payment history?
    Will all custom fields on the signup form remain?

    Will all products remain the same?

    Will all custom backgrounds remain?

    How about affiliate records, commissions, clicks and also the banners?
    And additional fields and coupons?

    I can see this being nothing but straightforward. And probably cant get amember to do it now as they'll be too busy.

    The annoying thing is, and I'm not sure this is a sensible thing to say, but I'd happily pay 4 or 5 times the money just to get better and faster service.
  5. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    I am sorry for bad English.

    However, link to upgrade instructions is located near the download link in the members area.
    http://www.amember.com/amember/upgrade_info.html

    In short, upgrade kit contains only those files that was changed between versions, so not all your customizations will be lost after upgrade.

    After backup (first and most important step!) and uploading changed files, you have to run http://www.yoursite.com/amember/admin/upgrade_db.php - it will automatically alter database structure to match new version.
    That is all!

    NO DATABASE INFORMATION WILL BE CHANGED OR DELETED. It is upgrade only.
    Templates and PHP code customizations really may be broken after upgrade.

    Regarding the better service - right now all staff is very busy answering tickets, so answers are really not quickest. However, you can contact one from programmers in this thread:
    http://www.amember.com/forum/forumdisplay.php?f=24
    and I believe you will be able to get personal service.
  6. paul_ruf1

    paul_ruf1 aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    11
    Thanks Alex,
    I must say that I you have always been responsive and helped me with my problems so I am happy with your service.

    I will have a go at this now, but its just statements like "Templates and PHP code customizations really may be broken after upgrade. " that I'm not sure about.

    I think you mean "rarely"?

    I am still not sure what I have customized on my site though.
    I'll back it up and then I guess I'll just have to see what I'm missing after the upgrade.
  7. ionsaliu

    ionsaliu Member

    Joined:
    Aug 10, 2007
    Messages:
    33
    Sorry for my tone yesterday. I really freaked out. I was working as the admin in my aMember account. I had no idea about the warning. I had work to do, not sit in my email inbox all the time!

    There must be a jinx on me. Anytime this kind of situations occur, a number of members and would-be members get hurt! I hear really bad things from some! Apparently, it's contagious.
    Anyway, looks like I succeeded to fix the worst of the problems.

    I still believe a Setup.exe is a good idea (instead of decompressing and uploading a bunch of folders and files).

    Best of luck to all!

    Ion Saliu
  8. jackgordon

    jackgordon aMember Pro Customer

    Joined:
    Mar 23, 2009
    Messages:
    269
    For what it's worth, I followed the steps and finished in about 5 minutes. The only customization I lost (as far as I can tell) was one I had done to the coupon batch page, and it was easy to re-implement.
  9. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Ion, I agree with you. Did you see any examples of PHP scripts that are distributed as .exe files? I would like to implement it but to be honest I have no idea how to make it more useful than a typical FTP client.
  10. deafdavid

    deafdavid Member

    Joined:
    Aug 28, 2006
    Messages:
    153
    Alex, I hope you didn't pull all-nighter to answer all emails and coming on this Forum. Hope you're in bed by now :) You deserve it -- after doing a quick job developing an update release.

    Sleep well my friend.
    Dave
  11. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Dave, thank you very much! I am really going to bed right now. Fortunately, I am not alone here in CGI-Central Support :)
  12. paul_ruf1

    paul_ruf1 aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    11
    Performed the upgrade and it went all ok as far as I can tell, following the instructions given. :)
    I would say that it is far from idiot proof though and a little daunting for us technophobes.
    But I suppose us business owners aren't generally idiots which is a god thing;)

    I have posted a possible project in the 3rd party seciton as I want to integrate text messaging into my system.:eek:
  13. eleven

    eleven aMember Pro Customer

    Joined:
    Jan 28, 2006
    Messages:
    38
    Alex rules.

    Nuff said. I'm a HUGE supporter of all things aMember.
    Alex should be charging for support IMO. But please dont :)
  14. miso

    miso aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    543
    If you don't know what you're doing, it might be a little daunting... that's why we're here ;)

    speaking of this 3.1.8 upgrade - I've been swamped with requests, especially from people who had customizations already applied and need to preserve those with the new version... jesus, what a busy day.

    "Thanks, Alex"!

    :D :D
  15. payne

    payne New Member

    Joined:
    Dec 22, 2008
    Messages:
    4
    Please clarify:

    I rec'd this message in my aMember/CP page:

    "...XSS Security problem found in your version of aMember Pro. Please visit aMember Website for details right now BEFORE YOU CLICK ANY OTHER LINKS YOUR AMEMBER CP."

    The security note found at http://www.amember.com/p/Main/SecurityNote06 explains how to manually fix the problem....OR you can upgrade aMember.

    (The manual fix requires editing several file so I decide on the upgrade route...)

    I go to my aMember/members area and download my versions upgrade. (I have version 3.1.4, so I select version 3.1.4 to upgrade)

    I follow the instructions found in the "read more..." link in the Upgrade section...

    The upgrade worked fine...however, I looked at the amember/admin/login.inc.php, as identified in the security note mentioned above, and noticed that it DID NOT have the code found in the manual fix instructions:

    "To stop most possible XSS attacks in future, please edit file amember/admin/login.inc.php
    Immediately after opending <?php in this file, please insert the following code:
    $badWords = array('script', 'onabort', 'onactivate',................."

    My long winded question is: does the upgrade also fix the code found in login.inc.php or is this code missing from the 3.1.4 upgrade?

    Thanks in advance,
    Payne
  16. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Payne,
    It seems that upgrade was not done right and you didn't overwrote that file.
    /amember/admin/login.inc.php file in 3.1.4 upgrade package have code mentioned in SecurityNote06 for sure.
  17. everbatim

    everbatim Member

    Joined:
    Dec 19, 2007
    Messages:
    65
    Alex,

    You couldn't make this any easier. Literal translations aside, if you use the left side of your brain you can do it.

    1. Open Zip
    2. Decompress zip preserving paths
    3. Upload to server

    Come the hell on, how hard is that people? Ion, I NEVER see you being anything but trouble. Did you actually decompress the zip and preserve the folders or did you just dump the files out. Let me guess, not a WinRAR user are you.

    Don't bang support over the head for your own stupidity. If you run a website, you should have enough common sense to figure this stuff out on your own!
  18. awa_la

    awa_la New Member

    Joined:
    May 8, 2009
    Messages:
    19
    I have some questions - I'm upgrading 3.08 to 3.1.8
    1. I don't see the above mentioned link to upgrade instructions anywhere. are they included in the manual, or is it as simple as everbatum says?

    2. I'm mopping up after a guy who didn't leave any documentation and didn't delete old orphaned files and old versions of the site - he left a big confusing mess - so I don't know how much customization he has done, besides of course, the template files. I only have the modification dates of files to clue me in. If things are broken after the upgrade can I just delete the amember directory and replace it with my backup?

    I ask (everbatum), because another user on the previous page mentioned running script to update the database or transfer data. Sure it Looks like a simple copy-the-new-files-over-the-old-ones procedure, but work in computers has taught me to assume nothing.

    Thanks!
    -----------------------
    PS: OK - I found a link describing the script here - https://www.amember.com/amember/upgrade_info.html . Then I tried the link to instructions (UNDER the Upgrade button, not Above as was described elsewhere) a second time and it worked - the first time it took me to an empty forum page, which is how I ended up here. It isn't quite as simple as everbatum says.

    Can I get a copy of 3.0.8 files so I can run a diff and find out which files have been customized? Thanks Again.
  19. thehpmc

    thehpmc Member

    Joined:
    Aug 24, 2006
    Messages:
    901
    I have a copy of 3 0 7 as full version and upgrade pack from that to 308 I am certain if they are any use.

Share This Page