Forum Replies Created
-
Author
-
FD
ParticipantHi,
We have already (as mentioned earlier) turned off all plugins, child theme, cleared all cache and disabled our CDN (We are using cloudfront, not cloudflare). THE ONLY THING THAT´S HELPING IS CHANGING FROM KLEO THEME INTO WORDPRESS DEFAULT (TWENTY SEVENTEEN). THEN IT´S ALL WORKING!
Cloud you just understand that we have tried all tings we could think off and now we need you to have a closer look and check what your theme does or crashes with.
Please provide us with you IP so we can put it on the whitelist so you can login via SFTP and have a closer look. Your WP-ADMIN access expires in 1 day.
Please help us find an solution.
Maybe @abe are able to help?
FD
ParticipantWe also get this error in out logs:
2017/10/30 15:55:31 [error] 5682#0: *13598 FastCGI sent in stderr: “PHP message: The WC_Cart::get_cart_url function is deprecated since version 2.5. Replace with wc_get_cart_url.
PHP message: The WC_Cart::get_cart_url function is deprecated since version 2.5. Replace with wc_get_cart_url” while reading response header from upstream, client: 172.31.35.64, server: http://www.fjelltid.no, request: “POST /?wc-ajax=get_refreshed_fragments HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “www.fjelltid.no”FD
ParticipantHi,
We have tried to deactivate our child theme just to be sure, but that did not solve anything. We have done some modifications, but not that much. So there must be something else.
Here are a new wp-admin link:
https://www.fjelltid.no/wp-admin/?wtlwp_token=7b3ddcd5d0d0d01732dceffde70585ffTo give you SFTP access we need an IP-address to put on the whitelist. Please provide us with that. 🙂
Thank you for your help!
FD
ParticipantHi,
I have tested with the default WP theme and then it all works like it should. After changing back to Kleo (4.2.12) it breaks. I have also disabled all plugins except WooCommerce and the error is still there when running Kleo theme (4.2.12), but not when running WP default theme.
We are running the lastes versions of all plugins and themes we are using.
We are running Kleo 4.2.12.I will send you an new login. Login from “wp-admin” is disabled due to security.
Use this link to get admin access (Valid in 24 hours):
https://www.fjelltid.no/wp-admin/?wtlwp_token=0c63b5caeb750b616f1c8fc70215e184We have checked the debug log. Nothing there. The only error we can find is this (from the php error log):
COPY CODEThe WC_Cart::get_cart_url function is deprecated since version 2.5. Replace with wc_get_cart_url. The "SyntaxError: Unexpected token < in JSON at position 0" real error is " {"result":"failure","messages":"<ul class=\"woocommerce-error\">\n\t\t\t<li>Vi klarte ikke \u00e5 behandle ordren din. Vennligst pr\u00f8v igjen.<\/li>\n\t<\/ul>\n","refresh":true,"reload":false}"You can reproduce it with this url: https://www.fjelltid.no/fjellbutikken/kasse/?wc-ajax=checkout
Thank you for your help!
FD
ParticipantHi,
You have to fill out all fields and add CC card info, then click “Send ordre”. After that you will get this error:
Error message:
SyntaxError: Unexpected token < in JSON at position 0Take a look at attached screenshot. When trying the same with the default WP theme it´s all working. If you could tell me when you are going to test it I will put the CC module in test mode.
November 30, 2016 at 18:39 in reply to: Fontello icons from kleo crashes with plugins using fontello #145688FD
ParticipantHi, @radu
There are no options for that in the plugin. I have looked into it and the problem seems to be that both Kleo and the plugin are using many of the same icons from fontello, but with different custom icon codes. Any suggestions on what to do?
Thanks for your help. 🙂
FD
ParticipantHi,
New uploads seems to work, but the old ones did not show. We did not find a solution so we started all over by deleting all the “ghost” images. Thank you for your help.
FD
ParticipantHi,
We had the same issue with the Sweetdate theme earlier. At that time @abe helped us with a fix for PMPro.
Ref: https://archived.seventhqueen.com/forums/topic/membership-restrictions-not-working/#post-10854We would like to know how to fix this issue with the Kleo theme as well.
@abe: Any suggestions on how to fix this?March 2, 2016 at 13:05 in reply to: Registration and messages are broken after upgrade to 2.9.1 #107985FD
ParticipantHi @andrei
We ended up changing hosting company.
Thank you so much for all your help. 🙂FD
ParticipantBy root profiles I mean an option in BP (That I have enabled) that put profiles in the root of the site (http://example.org/username/) instead of under a “users” folder (http://example.org/users/username/)
When this option is enabled the PMPro restrictions does not apply to the users profil.
That is the problem here. 🙂Ref: https://codex.buddypress.org/getting-started/customizing/changing-internal-configuration-settings/
FD
ParticipantWe are using this function to redirect the users away from the front page after login.
This function also “hides” the front page while the user is logged in.COPY CODEadd_action('wp', 'check_redirect_page'); function check_redirect_page() { if (is_user_logged_in() && is_page( REPLACE_WITH_FRONTPAGE_PAGE_ID )) { wp_redirect( get_permalink( REPLACE_WITH_PAGE_ID_OF_THE_PAGE_YOU_WANT_TO_BE_REDIRECTED_TO )); exit; } }January 19, 2016 at 16:52 in reply to: Registration and messages are broken after upgrade to 2.9.1 #99309FD
ParticipantHi @andrei
I will tell them that.:)
We have already tried to set our hosting environment to php 5.4+ and it does not make any difference.
January 6, 2016 at 15:15 in reply to: Registration and messages are broken after upgrade to 2.9.1 #96634FD
ParticipantJanuary 6, 2016 at 01:51 in reply to: Registration and messages are broken after upgrade to 2.9.1 #96535FD
ParticipantHi @andrei,
I will (once again) take this to my hosting company and hope for an fix.
Any suggestions to the js/jQuery problems?Thank you for you help so far.
January 5, 2016 at 12:15 in reply to: Registration and messages are broken after upgrade to 2.9.1 #96335FD
ParticipantHi @randu,
So why are these variables included in the “sweetdate/framework/helpers.php” file if their not needed?
I have re-uploaded all the theme files twice without any change.
All the problems are still present.
(JS problem, PHP – Undefined index problem, users cannot register (in regular way) on the site and messages does not work.)Any new thoughts on the js/jquery issue? I think this may be the main source to our problems.
Thank you for helping us fixing these issues.
December 30, 2015 at 03:28 in reply to: Registration and messages are broken after upgrade to 2.9.1 #95666FD
ParticipantHi,
This was the response from the hosting company:
–START RESPONSE–
Thank you for contacting our Help Desk!I checked your PHP scripts and it appears that most of the errors are generated from the following piece of PHP code in the /home/<username>/public_html/wp-content/themes/sweetdate/framework/helpers.php file:
Code:
function kleo_full_url()
{
$s = empty($_SERVER[“HTTPS”]) ? ” : ($_SERVER[“HTTPS”] == “on”) ? “s” : “”;
$protocol = substr(strtolower($_SERVER[“SERVER_PROTOCOL”]), 0, strpos(strtolower($_SERVER[“SERVER_PROTOCOL”]), “/”)) . $s;
$port = ($_SERVER[“SERVER_PORT”] == “80” || $_SERVER[“SERVER_PORT”] == “443”) ? “” : (“:”.$_SERVER[“SERVER_PORT”]);
$uri = $protocol . “://” . $_SERVER[‘SERVER_NAME’] . $port . $_SERVER[‘REQUEST_URI’];
$segments = explode(‘?’, $uri, 2);
$url = $segments[0];
$url = str_replace(“www.”,””,$url);
return $url;
}This appears to be a coding error in the theme of your WordPress website. Most likely this is caused by missing file inclusions of the PHP files where SERVER_NAME, SERVER_PROTOCOL and HTTP_HOST are defined.
–STOP RESPONSE–December 21, 2015 at 18:47 in reply to: Registration and messages are broken after upgrade to 2.9.1 #94624FD
ParticipantSince the uploading of pictures did not work you can look at the picture here: http://www.awesomescreenshot.com/image/854712/3c269e68b79c53de9f99f1ac79f04bf2
December 21, 2015 at 18:45 in reply to: Registration and messages are broken after upgrade to 2.9.1 #94623FD
ParticipantSecond try to attache the picture.
December 21, 2015 at 18:43 in reply to: Registration and messages are broken after upgrade to 2.9.1 #94622FD
ParticipantUPDATE: This error also appeared in debug console:
jQuery.browser is deprecated (Look at attached picture for details)
December 21, 2015 at 17:40 in reply to: Registration and messages are broken after upgrade to 2.9.1 #94588FD
ParticipantHi,
I have done that, but without any luck.
The only update to the case is these “new” notifications in my debug log that I found to day:
[21-Dec-2015 15:13:48 UTC] PHP Notice: Undefined index: position in /home/<username>/public_html/wp-content/plugins/buddypress/bp-core/bp-core-buddybar.php on line 353
[21-Dec-2015 15:13:48 UTC] PHP Notice: Undefined index: position in /home/<username>/public_html/wp-content/plugins/buddypress/bp-core/bp-core-buddybar.php on line 358
[21-Dec-2015 15:14:02 UTC] PHP Notice: Undefined index: HTTP_HOST in /home/<username>/public_html/wp-content/plugins/buddypress-media/app/services/RTMediaEncoding.php on line 52
[21-Dec-2015 15:14:02 UTC] PHP Notice: Undefined index: SERVER_PROTOCOL in /home/<username>/public_html/wp-content/themes/sweetdate/framework/helpers.php on line 282
[21-Dec-2015 15:14:02 UTC] PHP Notice: Undefined index: SERVER_PORT in /home/<username>/public_html/wp-content/themes/sweetdate/framework/helpers.php on line 283
[21-Dec-2015 15:14:02 UTC] PHP Notice: Undefined index: SERVER_NAME in /home/<username>/public_html/wp-content/themes/sweetdate/framework/helpers.php on line 284I dont´t understand why these are comming. My SERVER_NAME, SERVER_PROTOCOL and HTTP_HOST is defined.
How could any of these have anything to do with the errors?
FD
ParticipantHi again,
Could you talk to your developers and check if they could send me an offer on a job like this?
Please send the offer to tarjei@fjelldate.noThis is very important for us to get done really fast.
Thank you.
FD
ParticipantHi,
As this theme (Sweetdate) is an dating theme I think it´s strange that this is not an option within the theme. Many people on these kind of sites does not like that their full name is displayed. I really hope you understand this.
-
AuthorPosts