Jump to content

Gideon So

Members
  • Posts

    468
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Gideon So

  1. 11 hours ago, homma said:

    Hello @Gideon So and @adrian,

    Thank you for sharing the github link. I quickly read the threads and noticed some people have the same concern.
    I wanted to test the modified core file, but the Dropbox link seems to expire now. Do you happen to have a copy?

    Yu

     

    Hi @homma,

    Yes. I do keep a copy here. It is for 3.0.42. I am not sure whether it works with the latest version.

    Gideon

    ProcessWireUploadDemo.zip

    • Like 1
  2. Hi Adrian,

    Thanks for the fast investigation into the problem. 

    This is from their document:

    Quote

    If you are writing code that uses an API key configured by your users, you may want to validate the API key before attempting to compress images.

    But I don't think it is not necessary to check the key every page load.

    Gideon

  3. 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

    • Like 1
  4. 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

    • Like 1
  5. 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

     

  6. 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

  7. 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

×
×
  • Create New...