Jump to content

benbyf

Members
  • Posts

    802
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by benbyf

  1. YESSSS thank you, this did the trick. I ssh'ed into my server and added the fr_FR langs and now the warning has gone... ?
  2. Yep, and I have fr_FR.UTF-8 in the C field for french and en_EN.UTF-8 for the english and setlocale ( LC_ALL, "fr_FR.UTF-8"); set in my config but the warning persists.
  3. I get an internal server error complaining that the function doesnt exist if i do that ?
  4. Thanks, those seem like they would help but still getting the warning. I've set the two lang's to fr_FR.UTF-8 and en_EN.UTF-8 respectively in the admin, and added setlocale(LC_ALL, "fr_FR.UTF-8"); to the config, but doesnt seem to make a difference...?
  5. get this warning and am unsure even with the nice warning what to do here, the links dont seem to help - want to set eh site to FR and not the whole server as it is a shared server: https://www.dropbox.com/s/dxtfcrt1eyg9t7o/Screenshot 2019-01-15 11.40.53.png?dl=0 Warning: your server locale is undefined and may cause issues. Please translate the “C” locale setting for each language to the proper locale in /wire/modules/LanguageSupport/LanguageSupport.module (shortcuts provided below): • English • Française For example, the locale setting for US English might be: en_US.UTF-8
  6. Thanks for your help @flydev. The solution that worked you suggested was as follows: cd /srv/users/serverpilot/apps/chinaandco/public/ chmod 755 site/assets find site/assets -type d -exec chmod 755 {} \; find site/assets/ -type f -exec chmod 644 {} \; This sorted it out. Though still not sure how i got into that permissions mess to start with ?
  7. ubuntu 14, digital ocean droplet, serverpilot.com runs the sysadmin setup with nginx, PW 3.0.98. PHP 7.2
  8. not sure why but PW adds any uploads as permissions 600 (e.g. images wont load after upload unless i go in with the same server user and change permissions to 755 or similar). This ever happened to any one else?
  9. love it and think most little bits have been picked up. On the design side if possible restricting wide text sections like quotes on the homepage to a restricted width so that word count on each line is between 10-16 words will help people read it without getting lost on the jump to a new line. This both helps people read and looks nicer as it adds white space on wider screens breaking up the sections.
  10. thanks @wbmnfktr ! kinda a shame this is needed though
  11. running PW3.0.98 and simply cant find a way to default the lang to fr-FR on the front end. Hoped this module would do the magic but can only ever get en-EN on enter to the site in a private session. Guest user lang is fr. Something else I need to be doing?
  12. https://www.dropbox.com/s/tl5zgx9h7iormf8/Screenshot 2018-12-10 13.53.46.png?dl=0 Just seen this on the instagram developer portal. I had a quick play with the facebook API explorer but couldn't get it to work as wanted (just display another user's profile image). Think we'll need to get going with this as instagram is stopping support for it's own API ?
  13. @d'Hinnisdaël holy smokes, so shocking to me that their APi is so bad that we have to resort to this sort of thing ?
  14. What is the recommedned way of getting another user's recently images? Am I right in saying in sandbox mode only the dev user can display their content, so it's needed to use the profile's account to setup the dev tokens etc, or is there a way of adding another username to the sandbox so I can query their images... Bit confusing sorry, but I can only display my own images currently, no matter what I add to the module options.
  15. Will give that a go, thanks @flydev and @dragan. Sorry I realised I was commenting on the wrong thing... with template admin and process added it shows up, but I wanted to simply add a link to an edit page for a page with a non-process template so that I could quickly edit settings on a page with lots of fields without having to make a whole process module to enable it...
  16. For some unknown reason when you add an admin page as a child of one of the menu items e.g. Setup - the page doesn't appear in the Setup menu. I've had to do a hacker work around to make it work but was wondering what I needed to add to the module or page to make this happen, and what was the thinking behind this? As looking at the core code it looks as though this was done purposely. Thanks!
  17. Thanks both, think that'll do it!
  18. I always seem to get this warning on every new install of PW on my Ubuntu 14 box with Digital Ocean. The servers are usually based in the UK and I was wondering if I should be adding something other than the below in the config? Is there a UK based locale code? Quick Google didnt come up with much. Warning: your server locale is undefined and may cause issues. Please add this to /site/config.php file (adjust “en_US.UTF-8” as needed): setlocale(LC_ALL,'en_US.UTF-8'); Added to the config file: setlocale(LC_ALL,'en_US.UTF-8');
  19. Awesome! Glad you found one of my tutorials useful ☺️ also loving the map
  20. Anyone got any knowledge on this?
  21. Is there any update on this, doesn't look like many of the browsers have followed the google team by implementing. Love to have a simply solution for converting to webp in PW too if that might be available, even if its for opera and chrome users. something like image->size(1000,0,"webp"); or webp = image->convert("webp")
  22. Think that’s a great idea! Havent seen the file rename and replace before so not sure how that relates but wouldn’t be much work to get he module to work with specific permissions and give a default and permissions to hook into as options.
  23. Both valid. PW comes with Fontawesome in the default admin so thats why its the deafult far icons. If you want to purchase new icons versions and replaces the files in your copy then that shoul work. Will definitely change the description.
  24. THANKS! The module references the font awesome icons that are used internally by PW. So simply add the name of the icon you want. e.g. https://fontawesome.com/icons
×
×
  • Create New...