Aethon
Forum Replies Created
-
OK… I upgraded and it’s back to the original complaint… woocommerce and the other plugins are not in the wp-admin folder (which is the one that’s protected) so why does this password request come up when the checkout page arrives?
OK.. this is getting to be absurd. I DID NOT update to WooCommerce 3 however, now the product pages are showing up all wonky and without their images.
What is going on? Why did the plugin just give up all of a sudden?
And to compare, I have the same version of WooCommerce (2.6.14) with the same theme on another site and there is no problem.
There was no plugin recently added… nothing to account for this.
Someone please help!
So strange.. I’m getting an error :
https://websitedomain.com/cart/ 500 (Internal Server Error) (index):1
It seems like the plugin just decided to fall apart ??
I have one last idea… why don’t I add in an htaccess to allow everything inside the Woocommerce folder? Would that work? and how would I write that?
Nope… the carts not even showing up. This is a bit beyond me at the moment. I hope you guys can offer me some hope!
Would it be “form-login.php”? in /checkout/? I guess I’ll try it and see…
I have further pinpointed when it tries to call a protected file—it’s when it has to do with signing up or logging in as an existing customer.
I wonder if that’s one file or many.. I’ll take a look but if you guys know what’s going on, I’d appreciate you telling me what you can since we are in a bit of a mess here because of the commerce system not working and waiting around for me to fumble through it isn’t ideal ??
Thanks guys!
I was told that for WordPress to work, it requires access to admin-ajax.php. The code in my htaccess is the following :
ErrorDocument 401 default
AuthType Basic
AuthName “Administration”
AuthUserFile “/home/zzzzzzzzzzzz/.htpasswds/public_html/wp-admin/passwd”
require valid-user
<Files admin-ajax.php>
Order allow,deny
Allow from all
Satisfy any
</Files>And everything was working fine.. .apart from the Checkout page… and really, only people using the admin should be asked to enter the directory username and password.. so what’s going on?
Thanks!
Thanks… I was hoping for a simpler, quicker solution but you’re right ??
OK… I found where to change it finally.
It’s in events calendar>src>functions>template-tags>general.php
if(ICL_LANGUAGE_CODE=='fr'){ $inner .= tribe_get_start_date( $event, false, 'j F' ) . ( $time ? $datetime_separator . tribe_get_start_date( $event, false, $time_format ) : '' ); } else { $inner .= tribe_get_start_date( $event, false, 'F j' ) . ( $time ? $datetime_separator . tribe_get_start_date( $event, false, $time_format ) : '' ); }
Finally…. thanks anyway.
Here’s where I tried to make changes using if(ICL_LANGUAGE_CODE==’fr’) and none of them had any effect.
events calendar>src>admin-views>tribe-options-display.php
events calendar>vendor>tickets>common>src>Tribe>Date_Utils.php
events calendar>common>src>functions>template-tags>general.phpAnyone? I know there are maybe a couple places. I tried already in general.php to add this :
function tribe_get_date_format( $with_year = false ) { if ( $with_year ) { $format = tribe_get_date_option( 'dateWithYearFormat', get_option( 'date_format' ) ); } else { if(ICL_LANGUAGE_CODE=='fr'){ $format = tribe_get_date_option( 'dateWithoutYearFormat', 'j F' ); } else { $format = tribe_get_date_option( 'dateWithoutYearFormat', 'F j' ); } }
But it didn’t work. So please… just point me to where I can manually do this and let me wrap this up once and for all! ??
- This reply was modified 8 years, 1 month ago by Aethon.
OK.. I have a simpler idea.. because this is taking much too long for my timetable.
Can you please tell me where in the code, on which page, that the date is output? I will manually add my own php code there. It seems the quickest way.
Please let me know. Thanks!
It worked for a few minutes.. no longer. No idea why it’s no longer working. ??
Well, I’ll keep on looking for an answer.
OK SUCCESS! I cleared the cache and nothing changed. But after rebooting, it is finally showing up correctly. What a voyage!
Thanks for your help!