Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Booking doesn't working on multisite childs #10

Closed
tinboyko opened this issue Jul 26, 2018 · 3 comments
Closed

Booking doesn't working on multisite childs #10

tinboyko opened this issue Jul 26, 2018 · 3 comments

Comments

@tinboyko
Copy link

On main site it's ok.
After clicking 'book now' it redirecting me to listing page

@benitolopez
Copy link
Member

benitolopez commented Jul 26, 2018

Tried right how on a subsite and all is working correctly. Is your website configured correctly?

This is what I have:

  • A newtork multisite. Easy WP Hotelier is installed there and it is "Network Activate"
  • On my subsite, I have the Hotelier pages configured correctly (in Hotelier > Settings > Hotelier pages)

@tinboyko
Copy link
Author

tinboyko commented Jul 27, 2018

I have same config, tried with twenty seventeen - same problem. I think the problem with putting cart content into session. Putting in the cart returns cart item key properly, but after redirect to the booking cart getting empty content from session.

my multisite config:

define( 'WP_ALLOW_MULTISITE', true );
define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL', false );
$base = '/';
define( 'DOMAIN_CURRENT_SITE', 'hotel.loc' );
define( 'PATH_CURRENT_SITE', '/' );
define( 'SITE_ID_CURRENT_SITE', 1 );
define( 'BLOG_ID_CURRENT_SITE', 1 );

@tinboyko
Copy link
Author

There is was issue with database - missing plugin tables on subsites. Reinstall plugin didn't help me. Solution was to launch HTL_Install::install() directly on init

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants