Jump to content

Gideon So

Members
  • Posts

    512
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Gideon So

  1. 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
  2. Hi adrian, Here you are. https://github.com/BlowbackDesign/TinyPNG Gideon
  3. 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
  4. Hi @dweeda, Try <?=$config->urls->templates ?>styles/yourCSSfile.css. This line output /site/templates/styles/yourCSSfile.css Gideon
  5. Hi @adrian, It is TinyPNG Image Compression. Gideon
  6. Hi @dragan, Thanks for replying. Got it fixed by uninstall one of the modules. Gideon
  7. 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
  8. Hi , Do you miss 'mystyles:'? Gideon
  9. 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
  10. Hi @szabesz, Will get them and see what is the problem. Thanks for your help anyway. Gideon
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. Please check your mail log to check what are the reasons of those bounces. Gideon
  17. Looks very interesting and good. Gideon
  18. 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
  19. 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
  20. Take a look at the .htaccess file and look for the rewritebase directive. Read the comments there. You may find some light. Gideon
  21. Hi, This module is the best solution for user based access control. I highly recommend it. Gideon
  22. Hi, I don't think this is a good way to do it either. Seems other CMSs get a more simple way. Gideon
  23. Hi Adrian, I found a 5000- word list and copy all the characters to the config.php and don't forget copy them to the .htaccess file too. But from time to time I need to add more. Gideon
  24. Hi, @Robin S Learn something new today. Thanks. Gideon
  25. Hi @xxxlogiatxxx, There is no $page->find(). You may want to find all pages which use template "item". The syntax should be: $fields = $pages->find("template=item, sort=item_type"); Gideon
×
×
  • Create New...