Basically, after each step I redirect back to the page and tell the script which step to do next with a Step=# in the querystring. On windows, despite the fact that I wasn't passing it in the querystring with the step number, it was retaining the PostBackAction variable as well, causing it to re-do the last step after it had just completed doing it. The solution was to pass a bogus PostBackAction with the Step in the querystring after each step finished processing. Then Windows picked up the new bogus step and didn't try to redo the last one.
Having a problem with Extensions, and I've checked permissions, etc. They show up in the list, but when I check the box to activate them and navigate away from the page, nothing happens, I go back, and they're unchecked again.... help?
EDIT: Nevermind. It was permissions. I for some reason thought selecting the folder the extensions were in, and changing the permissions on that would do the trick... nope. Had to edit each extensions files separately... weird.
@optikinescant: First of all, that is one damn hard name to type. Second of all, do this:
Open up /js/ajax.js and uncomment line 50 so it looks like this:
document.location = DataSource;
Then go back to your extension management screen and hard-refresh your browser so it gets the latest js files. Then enable an extension. It will redirect you to the ajax handler page where you can see any errors that are happening.
Any reason the 'Change stylesheet' link isn't showing up under the account section? I added the soulscape style... and can change it universally, but can't seem to do it for just a single user account.
It certainly used to be an extension i'm not sure if it's been made into the core. If it's not on the addons page i'm guessing it's just not made it there yet and all the extensions have disappeared off the trunk so i think all you can do is sit tight!
Here's a dummies guide to installing Vanilla Pre-Release 2 from scratch on OS X Tiger.... (I did mangage to fumble an installation a couple of weeks ago, but had forgotten already, so thought it might help if I wrote this down for any non-techies out there)
1. SETUP SVN ON YOUR MAC
The easiest way to install SVN is by browsing to the binary downloads page and scrolling down until you find MacOS X. You will want the second link, the one that does not rely on Fink. Grab the 1.3 (or whatever is the newest) binary from the Metissian page and install it.*
2. MODIFY YOUR BASH PROFILE
You need to add '/usr/local/bin' into your Bash profile, so you cou can run SVN from anywhere in the Terminal.
a) Open Terminal (Applications > Utilities > Terminal) b) Type "pico .bash_profile" to open your Bash profile file in the Pico editor c) You will now see a simple text editor, (probably) showing an empty document. Copy & paste in this:
d) Press Ctrl+X to exit, then press Y when prompted to 'save modified buffer', and finally ENTER when asked for a file name, as you are saving to the existing '.bash_profile' file.
3. DOWNLOAD VANILLA
a) In Terminal, type "cd desktop" to navigate to your Desktop (To execute a command in Terminal, remember to press Enter) b) Now run "mkdir vanilla" to create a folder called 'vanilla' on your desktop c) Then "cd vanilla" to move to this folder d) Copy & paste "svn export http://lussumo.com/svn/vanilla/trunk" into Terminal, and press Enter e) Lots of text will now whizz by in Terminal as the files you need are downloaded to your desktop/vanilla folder f) Upload the contents of your desktop/vanilla/trunk folder by FTP and continue installation as normal (see readme.html for instructions)
Nice tutorial 3stripe. I'll add that if you aren't comfortable with terminal (for some reason) you can also try smartSVN.
http://www.syntevo.com/smartsvn/download.jsp
I just saw that pop up on my macupdate rss yesterday, so I gave it a try. It works fine, but I still prefer the terminal.
I felt I had to try and use Terminal becomes it just seemed like a black art up until recently, and knowing how to use it seems essential if you want to do anything complicated on a Mac... Kinda reminds me of the dos prompt though!
I think you'd need to build that in to an extension with a ton of other stuff, op...ant, really its probably worth waiting till the stylesheet extension gets updated and released.
Comments
i had created my db previously - i'm assuming that vanilla was trying to created the same db as i had previously made?
i'm wreckless though, i had a fewcouple5 beers - otherwise i would have documented the error better.
seems to be working fine after a small amount of testing, looking forward to styling it this weekend
Windows was doing this wierd thing ...
Basically, after each step I redirect back to the page and tell the script which step to do next with a Step=# in the querystring. On windows, despite the fact that I wasn't passing it in the querystring with the step number, it was retaining the PostBackAction variable as well, causing it to re-do the last step after it had just completed doing it. The solution was to pass a bogus PostBackAction with the Step in the querystring after each step finished processing. Then Windows picked up the new bogus step and didn't try to redo the last one.
*shakes head*
Open up /js/ajax.js and uncomment line 50 so it looks like this:
document.location = DataSource;
Then go back to your extension management screen and hard-refresh your browser so it gets the latest js files. Then enable an extension. It will redirect you to the ajax handler page where you can see any errors that are happening.
1. SETUP SVN ON YOUR MAC
The easiest way to install SVN is by browsing to the binary downloads page and scrolling down until you find MacOS X. You will want the second link, the one that does not rely on Fink. Grab the 1.3 (or whatever is the newest) binary from the Metissian page and install it.*
2. MODIFY YOUR BASH PROFILE
You need to add '/usr/local/bin' into your Bash profile, so you cou can run SVN from anywhere in the Terminal.
a) Open Terminal (Applications > Utilities > Terminal)
b) Type "pico .bash_profile" to open your Bash profile file in the Pico editor
c) You will now see a simple text editor, (probably) showing an empty document. Copy & paste in this:
PATH="/usr/local/bin:/usr/local/subversion/bin:$PATH" export PATH
d) Press Ctrl+X to exit, then press Y when prompted to 'save modified buffer', and finally ENTER when asked for a file name, as you are saving to the existing '.bash_profile' file.
3. DOWNLOAD VANILLA
a) In Terminal, type "cd desktop" to navigate to your Desktop (To execute a command in Terminal, remember to press Enter)
b) Now run "mkdir vanilla" to create a folder called 'vanilla' on your desktop
c) Then "cd vanilla" to move to this folder
d) Copy & paste "svn export http://lussumo.com/svn/vanilla/trunk" into Terminal, and press Enter
e) Lots of text will now whizz by in Terminal as the files you need are downloaded to your desktop/vanilla folder
f) Upload the contents of your desktop/vanilla/trunk folder by FTP and continue installation as normal (see readme.html for instructions)
* Props to Chris Davis for this tip.