Jump to content

cstevensjr

PW-Moderators
  • Posts

    1,250
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by cstevensjr

  1. That's a hard subject to talk about, with many different opinions on the right thing to do. Here are a few resources that may help you out https://developer.yahoo.com/performance/rules.html https://developers.google.com/speed/docs/insights/rules http://blog.iweb.com/en/2012/12/server-hosting-location/11739.html http://blog.iweb.com/en/2014/02/understanding-analyzing-reducing-latency/13176.html https://moz.com/blog/15-tips-to-speed-up-your-website Hopefully, others with more knowledge of this subject will chime in and provide practical sound advice.
  2. I hope this is related to what you are talking about....anyway I'll take an initial stab at attempting to answer your question. An existing field can be reused under a different context at the template level. Instead of me trying to explain it, here are some references. https://processwire.com/videos/field-template-context/ https://processwire.com/talk/topic/6656-change-field-description-in-context-via-api/ https://processwire.com/blog/posts/making-efficient-use-of-fields-in-processwire/
  3. I had a similar situation a couple of months ago when I tried to upgrade my domains to PHP 5.6.x on my web host. I never resolved this issue and ended up reverting to PHP 5.5.x Note: The following is what I found out by using Goggle search. It may apply or not apply to your situation, however I hope that maybe it will cause others to chime in on possible solutions All encrypted client streams now enable peer verification by default. By default, this will use OpenSSL's default CA bundle to verify the peer certificate. In most cases, no changes will need to be made to communicate with servers with valid SSL certificates, as distributors generally configure OpenSSL to use known good CA bundles. - OpenSSL changes in PHP 5.6.x (PHP Manual) It appears that in PHP 5.6.0 (at least the version in Debian jessie, with openssl 1.0.1h-3), this function is now validating SSL certificates (in a variety of ways). First, it appears to fail for untrusted certificates (i.e. no matching CA trusted locally), and secondly, it appears to fail for mismatched hostnames in the request and certificate. "PHP 5.6 now verifies SSL certificates, the "fsockopen" function fails in the "ConnectToHost" method due to mismatched certificate CN (expects host name, but IP is given instead)." -Klemen (PHP 5.6 compatibility) The problem is that this change is resulting in an error on Email Class SMTP protocol: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed When you update to PHP 5.6+ the "CA Root" have to be set, or OpenSSL certificate verify don't work correctly. Step One: Install CA_Root (In my case, on FreeBSD 10, via Ports) /usr/ports/security/ca_root_nss After install, the Pem Cert will be located at: /usr/local/etc/ssl/cert.pem Step Two: Add to php.ini the openssl.cafile openssl.cafile = /usr/local/etc/ssl/cert.pem Restart your HTTP Server, and verify with phpinfo() References: http://stackoverflow.com/questions/27622427/codeigniter-2x-email-class-smtp-ssl-verification-bug-on-php-5-6 http://www.phpclasses.org/discuss/package/14/thread/78/ http://php.net/manual/en/migration56.openssl.php
  4. I know I am enjoying the recent changes to this module. Thanks for the new edit links.
  5. In ProcessWire 2.5 or 2.6 the minimum PHP version is 5.3.8. Running your installation at any version less than what is stated is certainly possible but not supported. FYI, PHP 5.2 End-Of-Life was 6 January 2011. PHP 5.3 End-Of-Life was 14 August 2014. As the official PHP website states If you are using these releases, you are strongly urged to upgrade to a current version, as using older versions may expose you to security vulnerabilities and bugs that have been fixed in more recent versions of PHP.
  6. @Pete, Thanks, I'll make some time and take a look at Fredi.
  7. First, welcome to the ProcessWire Forum. I'm no expert with language support or module creation, however it would seem that you need to install LanguageSupport module before installing ProcessLanguage or ProcessLanguageTranslator. Failed module dependency: ProcessLanguage requires LanguageSupport Failed module dependency: ProcessLanguageTranslator requires LanguageSupport That's what I believe these two errors are telling you.
  8. A very nice website. Your "shortcut edit-links" really caught my eye in the screencast. Any additional information regarding those "shortcut edit-links" would be greatly appreciated.
  9. cstevensjr

    Lister

    Here are a few links that will hopefully help you: https://processwire.com/talk/topic/5835-lister/ https://processwire.com/videos/lister/ https://processwire-recipes.com/recipes/enable-any-role-to-use-lister/ https://processwire.com/talk/topic/6847-drupals-view-like-module/?p=66952
  10. Ok, is your summary field that you are using actually called "summary" or something else? If it's called something else, you need to modify the template to call whatever that field is. Is there a template file associated with your template? If so, Does your template file have this in it? include("./_main.php");
  11. You need to define in your template what will or won't display. That's totally left up to you. I normally have outputted information defined in the _main.php template.
  12. Thanks for working on this. I'm using this with a few of my internal websites (where I routinely keep my clients updated on their technical support, consulting or web development issues). The level of detail you have in this module is appropriate for this purpose and has been very helpful.
  13. Good Day, If I am understanding you correctly, you could have a text or textarea field that is only viewable by the Admin. From there you could use a Hanna Code to have a button "Send Email" that sends out the email. That's just one way to achieve this. i'm sure there are others that have a simpler, more streamlined or innovative solution to your problem. The great thing about PW is that there's multiple ways of getting things done. Good luck.
  14. Please check with the hosting provider to ensure the user has all permissions/privelages in MySQL.
  15. Try "dboxxxx'@'xxx.xxx.xxx.xxx:3306" or use the hostname of the MySql server instead of the IP address.
  16. Yup, I just relooked at the github code and it's there. I need to be more awake when responding to these topics
  17. I believe your logic is a bit flawed. A preliminary look at ProcessForgotPassword code didn't seem to show it using the class Wiremail or the function Wiremail(). However, I could be wrong (I'm not a coder).
  18. The only time I have seen this happen is when attempting to upload very large image files.
  19. Welcome to the PW Forum! It would help if you could provide some information regarding the errors you posted. Please be as descriptive as possible. Once you do that, then someone will be able to understand what your issue is and help you out.
  20. Try this: 1. Clear your cache and cookies in Chrome (both machines) while logged into Chrome. 2. Log out of Chrome on both machines 3. Clear your cache and cookies in Chrome (both machines) while logged out. 4. Log back into Chrome on both machines Are you still having the same issues?
  21. Please provide a little more information about your local and live setups (Operating System, Apache, MySQL, PHP, PW versions). Also some information about how you pushed (uploaded) the files from one place to the other. Thanks.
  22. In Bing Webmaster Tools, have you submitted a Sitemap for the website in question? If you are using at least PHP 5.3.8 you can use PW 2.5
  23. What is the code in your .htaccess file that references bingbot?
×
×
  • Create New...