Jump to content

DaveP

Members
  • Posts

    868
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by DaveP

  1. SFTP takes longer than FTP. There may also be settings in your FTP client (Filezilla etc) to open more connections and transfer more files at once. (Or does that only work when downloading? )
  2. I tend to leave the PW config as-is, unless there are good reasons to change anything or add variables. ( I have a textformatter module that takes its config from config.php, for example.) SEO is always important , so I always install Pete's XML Sitemap module (http://modules.proce...up-sitemap-xml/) and, if it's a port of an existing site to PW then Antti's Redirect Module (http://modules.proce...cess-redirects/) saves loads of time. Then it's a matter of checking that all your <title> and meta description are all populated with appropriate info, and I also make sure that the html validates. A few small things add up to a significant advantage. Don't forget the Google Analytics code and to register your sitemap in Webmaster Tools. And, if you're in any doubt, a bit of user testing. A handful of users is enough to make a significant difference - http://www.useit.com...x/20000319.html.
  3. DaveP

    Windows 8 (or 7+)

    Sounds like something of a gamebreaker...
  4. Not a huge problem, but had me puzzled for a couple of minutes... Making a new site, I moved most pages from the standard template into Trash, if only temporarily. With a view to the client eventually doing some page editing etc, I limited the child templates allowed under 'Home' to 'basic-page' and 'info-page'. (Which caused the problem.) Tried to move 'Search' out of Trash in admin gui and an alert popped up saying I hadn't got permission to move the page. (Moi, le superuser?) Edited Search page to change its parent and got a much more helpful error message - Aaah, now I understand! So, tl;dr, the alert error message in this case should explain the issue a bit better.
  5. DaveP

    That Ryan Bloke.

    That's all there is - http://legacy-cdn.smosh.com/smosh-pit/092010/knit-beard-6.jpg
  6. DaveP

    That Ryan Bloke.

    And I've been raising a fish.
  7. @nik +1 for the idea of a module to show debug info within a front end template. This was one of the things I found particularly helpful in CodeIgniter. (It shows things like $_GET & $_POST, db queries etc.) Probably beyond my skills, but would be really welcome if someone has the time to put something together.
  8. I don't need all the 1million+ rows, just the ones that we have sites in, and any future sites in existing postcodes. That said there are 2000+ existing sites that I need to access the grid references for. Any new sites with brand new postcodes (very few indeed) can be looked up manually (probably here or here), but data input will be cleaner and with more consistent UX if it is part of PW. So TL;DR is it's a one-time import.
  9. @slkwrm max_execution_time is 360 (seconds) but that isn't relevant, as the CSV takes maybe 5 seconds to 'upload' (it's all happening on local WAMP) and the 'Step1' page reloads instantly after that. @sinnut memory_limit is set at 256M, so shouldn't be an issue. At the moment the data is in a separate table, but I couldn't come up with a sensible query to find PW pages and​ do mySQL point geometry calculations. (My lack of skill in mySQL, undoubtedly.) Plus it seemed 'cleaner' to have everything in PW (new postcodes are created as new buildings are built, so there is always maintenance to do in the db).
  10. I realise it's something of an edge case, but I'm struggling to import a CSV file containing 1,692,242 rows. Firstly, a bit of background - the CSV is generated by phpMyAdmin, and contains the full UK postcode list and grid references like thus "AB101AA","394251","806376" "AB101AB","394251","806376" "AB101AF","394181","806429" "AB101AG","394251","806376" "AB101AH","394371","806359" "AB101AJ","394181","806429" and so on. So while there are a lot of lines, not big ones - just 3 fields. They will be use to calculate the distance between 2 places (along the lines of a 'Store Locator' page). The input fails when clicking the 'Continue to Step 2' button, and just reloads Step 1. This happens on files > about 250,000 rows. (250,000 works, 500,000 fails) What I have tried/noticed No PW errors, on screen or in error log. No PHP errors ditto. I've increased upload_max_filesize in php.ini to a figure well over the CSV file size I will probably do the import in 250,000 line chunks (probably would have finished by now if I hadn't written this ), but if I'm doing something wrong or it's a known limitation or a bug, maybe we are as well knowing.
  11. Ryan, you're right, there is a 'Notes' field.
  12. Thanks, Ryan. I'll keep an eye open for a fix. If the two aren't related, I'll leave the Textformatter installed.
  13. When editing a page with one particular template, at the end of the edit form I'm getting this - The output is styled as if it is an input field note, but doesn't appear to be attached to a note. Any ideas? (Possibly related, possibly not - I created a TextFormatter module myself. Thinking that this might have some bearing, I tried to uninstall it, but it won't uninstall. Could the 2 be related?)
  14. I think it's quite telling that there isn't a tag for PW on Stack Overflow.
  15. My bad - from the Google Support page I linked above. turns out it's neither. (Although, and my expertise is limited here, you could use it for either, as well.)
  16. Pete, yes it does. I missed a bit in the original post, which I'll add now. (Forgot the bit about the JS snippet to allow them to do all the redirecting etc)
  17. Apologies in advance if this is old news, but for anyone who hasn't realised how trivially easy PW makes this, just give it a try. Google Analytics (GA) has a newish feature - 'Content Experiments' (multivariate testing if you want to be posh), and this is so easy to do with PW, it's almost unbelievable. What it boils down to is testing different variations of a page to see which performs (gets more sales, signups, leads, whatever) better, either between 2 versions (A/B testing) or more (multivariate testing). Say you have a page with a download link (or 'sign up for newsletter' or whatever), and you want to test size, colour, position or whatever of the download link - Install Ryan's Page Clone module Clone your page as many times as necessary, so you end up with /download-page/ (the original) /download-page-1/ /download-page-2/ etc [*]Edit page titles so they are the same as the original [*]Set the copies to hidden, so they don't appear in navigation, search, etc., but are still accessible by their URL [*]Change whatever in each copy (link colour, button size/colour) [*]Create a Goal in GA (I'm not a GA expert by any means, so you're on your own with that bit, but it is quite easy) [*]Create a new experiment under Content > Experiments and point it at your original and variations [*]GA gives you a bit of JS to add after the <head> tag of the original page, which allows them to redirect to the variations as necessary, so you need this in that page's template. [*]Sit back and bask in how easy it was and await GA doing the hard work Eventually, GA will detect which variation performs better, and you can end the experiment and dump the other page variants, replacing the original with the winner.
  18. I'd be inclined to mention site is mildly NSFW.
  19. Don't want to be picky, but not iron - lead. Hence 'leading' (ledding, not leeding). 8)
  20. Don't know what they should be, but just looking at a couple of live sites they are 644 on config.php and 755 on /site/assets/.
  21. http://www.mediawiki.org/wiki/Manual:Combating_vandalism
  22. Just found some more spam on the Wiki, which I can't revert because it's a new page (called CrouchBoring488 - didn't want to link to it.) I found it through the 'Random Page' link, so there could easily be others. Is there a plugin or something for MediaWiki to 'report' a page, or something similar?
×
×
  • Create New...