I just upgraded from 2.0.2 (I think) to 2.3.1 because I had had problems getting google analytics working - I should have just been able to paste the Analytics code into the page template IMHO, but that didn't work, and the Google Analytics Silverstripe module had failed to work - it didn't show up in the "Show Reports" dropdown as it apparently should. Anyway I followed the upgrade instructions, and it appeared to upgrade successfully, but now I see that Google Analytics still doesn't show up in the "Show Reports" dropdown, and worse the contact us page's form has disappeared! In fact the "Form" page type is note listed under the page types drop down!
I did backup both the db and the site files, but it would be preferable to solve these problems if they are not too time consuming please!
All help greatly appreciated! Many thanks in advance.
The contents of the page I got when I used the dev/build/?flush=1 is attached as a text file (unicode)
9 April 2009 at 5:06am
(Last edited: 9 April 2009 5:06am),
The form problem is because they've separated that functionality out into it's own module.
The analytics problem was caused by the module download file on one of the servers being just the language files and not the actual module itself, which I found by downloading it from another location and seeing a whole lot more files compared to the file I had originally downloaded (and yes the download was complete and not corrupt)... so both problems caused by human error on the development side I guess, but easy to do!
So now I have it all working nicely except that my analytics reports that it is gathering data but isn't actually doing so - the stats are 0 hits everyday. Looking at the source code that is generated I got confused as to why it wasn't in any way like the code that Google Analytics supplies? It seems like the easiest thing would be to just insert a bit of code into a website, but using Silverstripe it has so far taken up a whole day and a half, compared to, say, 30 seconds of copy and paste using Cake... but Silverstripe is what we've used and now I just want to get Analytics working... so please, does anyone have any hints, or can anyone report that it is working for them (in case it's not just me!)