You are here:  » Cannot get any pages to display content, product, search results, etc..


Cannot get any pages to display content, product, search results, etc..

Submitted by j.whittlesea@bt... on Wed, 2020-04-22 16:29 in

Hi David,

Been using PTO with WordPress for sometime but setting up an additional website using latest PriceTapestry.org for WordPress 3.0 (BETA)and Latest 18 06A.
This is on latest WordPress but on PHP Version 5.6.40 !

Changing to PHP Version 7.3 stops all websites dead so like to get this one working first, then move all others to this latest config, then change the PHP vesrion and debug once to get them all working.

Support info:-
{code saved}

As you can see website show featured products on home page and pto shows details on {link saved} but /retailer, category, brand and product search do not display.

Wordpress debug now showing no errors, applied https://www.pricetapestry.org/node/563 to remove errors but no pages displayed.

Also, in pt/admin, site home takes one straight to the main home page.

Can you please suggest where I should look?

If you need further info, please ask.

Many thanks

Jeff

Submitted by support on Thu, 2020-04-23 07:16

Hello Jeff,

The only problem on the WordPress installation it seems is the virtual re-write rules not being applied - can you double check that rewrite has been set-up in WordPress correctly, with .htaccess in place and that permalink setting (wp-admin > Settings > Permalink) _not_ ending in "/" is selected ("Numeric" is recommended and still generates search engine friendly page titles)...

Regarding the /pt/admin/ Site Home link returning to the main home page, that sounds like $config_baseHREF in config.php is still set to the default of "/" - if that's the case change at line 6 as follows;

  $config_baseHREF = "/pt/";

Hope this helps!

Cheers,
David.
--
PriceTapestry.com

Submitted by j.whittlesea@bt... on Fri, 2020-04-24 10:04

$config_baseHREF in config.php changes and PT/ home and all functions using this fine. After another 5 hours, permalink setting is Numeric, and .htaccess both wordpress and /pt/ amended no end! Still no joy. Copied and replaced from other installations and Wordfence, caching deactivated, etc

WordPress is currently

{code saved}

and /PT/ .htaccess taken from v3 download .txt file and renamed.
with and without RewriteBase /pt/ or just /

{code saved}

any other suggestions please

Jeff

Submitted by support on Fri, 2020-04-24 10:40

Hello Jeff,

That all looks fine - as a test, or if you already have other WordPress pages than the container (/shopping) page configured, could you create a new page with the title "Testing" and it should be allocated the permalink

/testing

...having created that test page, are you able to successfully browse to the page via the permalink?

Thanks,
David.
--
PriceTapestry.com

Submitted by j.whittlesea@bt... on Fri, 2020-04-24 12:01

Hi

Yes, page testing is reachable at {link saved}

{link saved} is the [PTO} page and pricetapestry is set to /find

but when doing search, get
"404 Nothing Found
It seems we can’t find what you’re looking for. Perhaps searching can help."

but Merchant, Category and Brand filters all populated?

Jeff

Submitted by support on Fri, 2020-04-24 12:13

Hi Jeff,

Do you have any SEO plugins enabled?

I would be happy to take a look on the server if you would like to email me temporary access details if that would be convenient?

Cheers,
David.
--
PriceTapestry.com

Submitted by j.whittlesea@bt... on Sat, 2020-04-25 19:06

Many thanks for your help. Changed [PTO] page name to be more friendly without changing the slug "shopping" and found that the site stopped again. The Settings > PriceTapestry.org, first setting - "Page Title", is it the actual WordPress page title that is used?

Submitted by support on Mon, 2020-04-27 07:39

Hello Jeff,

Yes - the next in the first setting should be exactly the page title shown in WordPress. When the settings page is saved the plugin uses WordPress function get_page_by_title() to see if the page already exists; and if not creates it.

I'm wondering if things have become confused by revision history resulting in subtle differences by between page title and permalinks - what I would suggest is going to wp-admin > Pages and first deleting the existing "Shopping" page, and then removing all items from the bin to ensure everything is permanently removed.

Finally, return to wp-admin > Settings > PriceTapestry.org and click Save to invoke the code that will re-create the container page when it doesn't exist...

Hope this helps!

Cheers,
David.
--
PriceTapestry.com