ssj_costy
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Firefox can't open PDF links from WordPress multi-siteAnd I used a File Browser plugin to move the files.
Forum: Networking WordPress
In reply to: Firefox can't open PDF links from WordPress multi-siteI ended up following your advice and got rid of ms-files. Followed the tutorial you mentioned (https://halfelf.org/2012/dumping-ms-files/), spent quite a while making sure I replaced all kinds of filepath strings in the DB and it all ended up working perfectly!
Thanks a lot for the help guys ??
Forum: Networking WordPress
In reply to: Firefox can't open PDF links from WordPress multi-siteIt’s not easy for me to drop “ms-files”, because of some issues… The client’s hosting plan doesn’t allow ftp access to the files created by WordPress for some reason, so it will be really hard to move them. And the other thing is that we already have thousands of files (images and pdfs).
I’m still searching for some kind of workaround.
Forum: Networking WordPress
In reply to: Firefox can't open PDF links from WordPress multi-siteI wonder why that is, since both urls point to the exact same file.
Forum: Networking WordPress
In reply to: Firefox can't open PDF links from WordPress multi-siteWell ok, I will do some research on the response headers, maybe I can patch it up somehow. I will post back the solution if I find it.
Forum: Networking WordPress
In reply to: Firefox can't open PDF links from WordPress multi-siteThis doesn’t get opened in the browser:
https://wp.a-h-b.dk/files/2013/05/test_vinkort_2013_sep_dk_www.pdfThis does:
https://wp.a-h-b.dk/wp-content/blogs.dir/3/files/2013/05/test_vinkort_2013_sep_dk_www.pdfAnd it is the same file, the only difference is that for the 1st I am using the rewritten URL.
Forum: Networking WordPress
In reply to: Firefox can't open PDF links from WordPress multi-siteIsn’t there a way to maybe change some WordPress settings so that PHP will parse it differently? Because I can’t really change the links at this point.
Forum: Plugins
In reply to: [Redirection] WPML conflictI have figured it out. There was actually a conflict with the Woocommerce Multilingual plugin, it had a filter for ‘woocommerce_redirect’ which was redirecting to my main domain.
Forum: Plugins
In reply to: [Safe Redirect Manager] Conflicts with WMPL domains per languageI have figured it out. There was actually a conflict with the Woocommerce Multilingual plugin, it had a filter for ‘woocommerce_redirect’ which was redirecting to my main domain.
Forum: Plugins
In reply to: [Redirection] WPML conflictFor example, let’s say I have 2 domains for WPML:
testsite.dk
testsite.seI have this redirection set up:
from: /dk/restauranter/aalborg/
to: https://testsite.dk/aalborg/When I go to testsite.dk/dk/restauranter/aalborg/ it redirects just fine. But if I go to testsite.se/dk/restauranter/aalborg/ it redirects me to https://testsite.se/aalborg/
Why is this happening?
Forum: Plugins
In reply to: [WooCommerce] A random post gets added to the cartI have figured out what the problem is, but I don’t know how to solve it.
I have a multi-site with 3 sites, and WooCommerce is installed on each site.WooCommerce saves a user’s cart in the wp_usermeta table, which is global for all sites. If on site A I add the product with id X, on site B I have a different type of post with id X, so WooCommerce looks in the common usermeta table and loads that post.
Is there any way to fix this problem? I really need the shop on all sites.
Forum: Plugins
In reply to: [WooCommerce] A random post gets added to the cartIt doesn’t solve the problem. I have no duplicate IDs, but sometimes other posts still get added.
This is a print_r of $woocommerce->cart->get_cart() right now. You can see I have 2 posts and a product in the cart…[27-May-2013 01:53:03] get_cart: Array ( [6195f47dcff14b8f242aa333cdb2703e] => Array ( [product_id] => 4143 [variation_id] => [variation] => [quantity] => 1 [data] => WC_Product_Simple Object ( [id] => 4143 [post] => WP_Post Object ( [ID] => 4143 [post_author] => 3 [post_date] => 2013-01-18 02:31:47 [post_date_gmt] => 2013-01-18 01:31:47 [post_content] => [post_title] => Carpaccio [post_excerpt] => [post_status] => inherit [comment_status] => open [ping_status] => closed [post_password] => [post_name] => 1435-revision-3 [to_ping] => [pinged] => [post_modified] => 2013-01-18 02:31:47 [post_modified_gmt] => 2013-01-18 01:31:47 [post_content_filtered] => [post_parent] => 1435 [guid] => https://wp.a-h-b.dk/1435-revision-3/ [menu_order] => 0 [post_type] => revision [post_mime_type] => [comment_count] => 0 [filter] => raw ) [product_type] => simple ) [line_total] => 0 [line_tax] => 0 [line_subtotal] => 0 [line_subtotal_tax] => 0 ) [1543843a4723ed2ab08e18053ae6dc5b] => Array ( [product_id] => 395 [variation_id] => [variation] => [quantity] => 2 [data] => WC_Product_Simple Object ( [id] => 395 [post] => WP_Post Object ( [ID] => 395 [post_author] => 3 [post_date] => 2012-11-08 21:37:08 [post_date_gmt] => 2012-11-08 20:37:08 [post_content] => <p>Kan indl?ses i Bryggeriet og p? A Hereford Beefstouw-restauranterne. (Dog ikke i Australien)</p> [post_title] => 500kr Gavem?nt [post_excerpt] => <p>Designet af Janis Strupulis.?M?nterne et individuelt nummerede.</p> [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => messing [to_ping] => [pinged] => [post_modified] => 2013-05-16 08:58:03 [post_modified_gmt] => 2013-05-16 07:58:03 [post_content_filtered] => [post_parent] => 0 [guid] => https://wp.a-h-b.dk/?post_type=product&p=395 [menu_order] => 1 [post_type] => product [post_mime_type] => [comment_count] => 0 [filter] => raw ) [product_type] => simple ) [line_total] => 1000 [line_tax] => 0 [line_subtotal] => 1000 [line_subtotal_tax] => 0 ) [d80b7040b773199015de6d3b4293c8ff] => Array ( [product_id] => 4956 [variation_id] => [variation] => [quantity] => 1 [data] => WC_Product_Simple Object ( [id] => 4956 [post] => WP_Post Object ( [ID] => 4956 [post_author] => 3 [post_date] => 2013-04-08 09:40:31 [post_date_gmt] => 2013-04-08 08:40:31 [post_content] => [post_title] => Test [post_excerpt] => [post_status] => publish [comment_status] => open [ping_status] => closed [post_password] => [post_name] => test [to_ping] => [pinged] => [post_modified] => 2013-04-08 09:40:31 [post_modified_gmt] => 2013-04-08 08:40:31 [post_content_filtered] => [post_parent] => 0 [guid] => https://wp.a-h-b.dk/?post_type=product&p=4956 [menu_order] => 3 [post_type] => product [post_mime_type] => [comment_count] => 0 [filter] => raw ) [product_type] => simple ) [line_total] => 80 [line_tax] => 20 [line_subtotal] => 80 [line_subtotal_tax] => 20 ) )
[Please use the code buttons]Forum: Fixing WordPress
In reply to: Virus – Redkit Exploit KitWow, thanks for the reply! I will go through those links.
Forum: Plugins
In reply to: [WooCommerce] Infinite loop on any Woocommerce pageFixed it, it was a mistake on my part. In the woocommerce.php in the theme I had woocommerce_content() inside the loop.
I also stumbled on the same problem. I’m actually trying to make another permalink filter in my theme’s functions.php, to add the language code.
But I would like to know if this is going to be addressed.Thanks,
Costin