Jump to content

Gideon So

Members
  • Posts

    516
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Gideon So

  1. Hi @homma, Someone posted a solution in github. I tested it and it works fine. The downside is that you have to modify the core of ProcessWire which mean you have to do it again every time you upgrade your core. https://github.com/processwire/processwire-requests/issues/56#issuecomment-263669255 Gideon
  2. Hi Zeka, Take a look of this amazing module which does the job for you. http://modules.processwire.com/modules/admin-restrict-branch/ Gideon
  3. Hi, ProcessWire doesn't support non alpha numberic file name. I have made a feature request in within and waiting Ryan implement it but seems that he has no plan to do it in the near future. Gideon
  4. Hi, We can better help you if you provide more info such as your code and your textarea field settings. Gideon
  5. Hi Adrian, Thanks for the fast investigation into the problem. This is from their document: But I don't think it is not necessary to check the key every page load. Gideon
  6. Hi adrian, Here you are. https://github.com/BlowbackDesign/TinyPNG Gideon
  7. Hi @adrian, It slows down every page load even I made a blank page doing nothing. I found that this module increases the ProcessWire boot time by increasing boot.autoload time. Gideon
  8. Hi @dweeda, Try <?=$config->urls->templates ?>styles/yourCSSfile.css. This line output /site/templates/styles/yourCSSfile.css Gideon
  9. Hi @adrian, It is TinyPNG Image Compression. Gideon
  10. Hi @dragan, Thanks for replying. Got it fixed by uninstall one of the modules. Gideon
  11. Hi, One of our site gets high TTFB. it is about 1400ms. And I check processwire boot time. it is 1311 ms. The sites seems not very responsive. Any reason causes this?? Gideon
  12. Hi , Do you miss 'mystyles:'? Gideon
  13. Hi @szabesz, After some more research and investigation. You are right. It is directory permission problem. I though it is suphp'ed but it isn't. And I didn't set the templates directory and assets directory to 755. Therefore no css files and js files served. After made the permission right the site runs fine. Gideon
  14. Hi @szabesz, Will get them and see what is the problem. Thanks for your help anyway. Gideon
  15. Hi @szabesz, All the file permission is fine. The only thing I find in the log is this line: Permission denied: /path/to/public_html/add-on-domain/site/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable. It is strange that the web server looks for .htaccess file in the site/ directory. Gideon
  16. Hi @szabesz, Thanks for your reply. Your post is about how to install processwire into sub-directory as the main domain. But I am trying to install it into a sub-directory as a addon domain. Is there any difference? I followed your post and seems that all css and js files are still blocked. Gideon
  17. Hi, I have a addon domain in hostgator but can't make the site work cause all js files and css files are block and show 403 forbidden error. I check the error log there is many lines like this: Permission denied: /path/to/public_html/add-on-domain/site/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable. I wonder why the web server search for the .htaccess file in the site directory. Any hints are welcome Gideon
  18. This module seems not compatible with the latest Facebook policy. If you want to post something through a Facebook app, you need to apply for the permission. Otherwise, it ask for login every time just as your case. Gideon
  19. Hi @adrianmak, This is indeed a much better way to white list all the Chinese characters. And seems that it is feasible to implement into the core. Gideon
  20. Please check your mail log to check what are the reasons of those bounces. Gideon
  21. Looks very interesting and good. Gideon
  22. Simply edit your web server config file to point yourdomain.com to the directory that your subdomain.yourdomain.com reside. Then edit the config.php file in the sub-domain directory to change config.httpHost to yourdomain.com. Restart your web server. Done. Hope this helps. Gideon So
  23. Hi, Do you mean that you want to merge two site into one? If yes, take a look on ProcessWire multi-instances support which enable you to load content from one site to the other. https://processwire.com/blog/posts/multi-instance-pw3/ Gideon So
  24. Take a look at the .htaccess file and look for the rewritebase directive. Read the comments there. You may find some light. Gideon
  25. Hi, This module is the best solution for user based access control. I highly recommend it. Gideon
×
×
  • Create New...