Jump to content

Gideon So

Members
  • Posts

    508
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Gideon So

  1. Hi @dweeda, Try <?=$config->urls->templates ?>styles/yourCSSfile.css. This line output /site/templates/styles/yourCSSfile.css Gideon
  2. Hi @adrian, It is TinyPNG Image Compression. Gideon
  3. Hi @dragan, Thanks for replying. Got it fixed by uninstall one of the modules. Gideon
  4. 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
  5. Hi , Do you miss 'mystyles:'? Gideon
  6. 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
  7. Hi @szabesz, Will get them and see what is the problem. Thanks for your help anyway. Gideon
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. Please check your mail log to check what are the reasons of those bounces. Gideon
  14. Looks very interesting and good. Gideon
  15. 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
  16. 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
  17. Take a look at the .htaccess file and look for the rewritebase directive. Read the comments there. You may find some light. Gideon
  18. Hi, This module is the best solution for user based access control. I highly recommend it. Gideon
  19. Hi, I don't think this is a good way to do it either. Seems other CMSs get a more simple way. Gideon
  20. 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
  21. Hi, @Robin S Learn something new today. Thanks. Gideon
  22. 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
  23. Hi @Neveroff, I started my journey with this one: Gideon
  24. Just replace the css file and js file and you have the latest bootstrap 4 version. Gideon
  25. I read Medium everyday but not a blog. Medium indeed is replacing blogs. Gideon
×
×
  • Create New...