-
Posts
468 -
Joined
-
Last visited
-
Days Won
1
Posts posted by Gideon So
-
-
Hi,
I would ask the hosting admin enable mod_rewrite in their Apache conf.
Gideon
-
On 2017/8/13 at 11:18 AM, homma said:
Thank you @Gideon So!
I tested it and it worked quite well. I really hope this feature is realised in the core...
Yu
Hi @homma,
Glad that it works for you. Which version of ProcessWire you use??
Gideon
-
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
- 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
- 1
-
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
-
Hi,
We can better help you if you provide more info such as your code and your textarea field settings.
Gideon
- 1
-
Hi Adrian,
Thanks for the fast investigation into the problem.
This is from their document:
QuoteIf 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
-
-
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
-
Hi @dweeda,
Try <?=$config->urls->templates ?>styles/yourCSSfile.css.
This line output /site/templates/styles/yourCSSfile.css
Gideon
-
- 1
-
- 1
-
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
-
Hi ,
Do you miss 'mystyles:'?
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
- 1
-
- 1
-
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
- 1
-
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
-
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
-
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
-
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
-
Please check your mail log to check what are the reasons of those bounces.
Gideon
-
Looks very interesting and good.
Gideon
Change language segment in URL
in Getting Started
Posted
@helmut2509
Go to setup —> language and change the language label there.
Gideon