Skip Navigation

[Resolved] the basics: getting to the point where I have a ‘view’ on the front-end

This thread is resolved. Here is a description of the problem and solution.

Problem:
The user's view is not generated on a new page.

Solution:
It was a server issue, the user fixed it by upgrading to PHP 7.3.

This support ticket is created 4 years, 12 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 19 replies, has 2 voices.

Last updated by gregoryJ 4 years, 11 months ago.

Assisted by: Jamal.

Author
Posts
#1674967
ToolSet Content Templates.png
ToolSet Dashboard.png
Front-end 'customer-portal' page.png
'View' in 'customer-portal' gutenberg page editer.png

Tell us what you are trying to do?

I am trying to learn toolset. I have purchased a new domain and have hosting with hostgator, I’ve loaded a fresh wordpress install and made sure the only plugins are really simple ssl, toolset blocks, types, forms and maps (no elementor pro etc.)
I’m literally interested in learning to use toolset to get to the point where I have a view displaying custom post type posts created by filling out a form. So far I’ve had to use a lot of trial and error as there appears to be many options available throughout the toolset plugin which are not covered in the tutorials, and many out of date tutorials (I’m aware of the current effort to solve this). It’s possible that I’m getting close to my current goal but hugely likely that I’m making at least one silly mistake or missing a vital step.
I’d be very grateful for any assistance as I’m keen to be able to use what appears to be a great product.

So far I have:
-Created a Custom Post Type in the toolset dashboard (called ‘JOBS’)
-Made a field group for the ‘JOBS’ CPT
-Created a form for ‘JOBS’ which includes all the custom fields and a post title
-Made a page (customer portal)
-Used the toolset form block to add this form to the page
-From an incognito window used this form to create 8 entries for the ‘JOBS’ CPT
-Created a template for jobs using the Gutenberg block editor, consisting of:
-Toolset container block containing:
-Columns block with two columns containing:
-Toolset heading block, dynamic content – post title
-Toolset Field and text blocks for each custom field of ‘JOBS’
-Attempted to make an Archive of ‘JOBS’, using the block editor
-Attempted to make a View of ‘JOBS’ using the toolset view block (underneath the form on the same page)
-Used the incognito window to establish my View doesn’t work yet on the front end

Things that might be relevant:
-I went from toolset dashboard > template for jobs > and saw my template containing the most recently input set of entries for the ‘JOBS’ CPT entered from the form on the front end (seems a good sign) clicked ‘view on front-end’ and the same wasn’t there. At this point I spent some time re-watching tutorial videos and reading/googling others questions & answers from the toolset forum, eventually I went into toolset content templates and in the ‘JOBS’ line picked out the jobs template I created and now when I go toolset dashboard > template for jobs > view on front-end I see my template with a set of entries from my form in it (woohoo!)
- I haven’t added any taxonomies to ‘JOBS’ CPT
- I haven’t delved into post relationships with ‘JOBS’ CPT
- I didn’t add the access plugin.
- I have attempted to include some conditional logic on my form and am still having issues with it, I’ve established that although there’s an option to include conditional logic when creating post field groups as well as an option to include it when making a form, it seems that the two clash in some way (what’s the purpose of two opportunities to include conditional logic?)
- I have established through trial and error that including conditional logic on a repeatable field group isn’t possible, which I can appreciate would be difficult to include as a feature (but would also be amazing!).
As I mentioned my current target is to successfully create a view of my ‘JOBS’ CPT which shows on the front end, I will move on to searches/query’s/pagination and post relationships with other custom post types afterwards but. But for now, if you could point out what I’m doing wrong or failing to do that would be brilliant. I am undergoing a ‘career transition’, and don’t have much experience in this field as such I won’t be perturbed if you explain the basics to me.

Thanks in advance.

Is there any documentation that you are following?

Most recently I have been focusing on your youtube tutorials from this year in the hope that the information is both upto date (sure it is), relevant to my cause (much of it seems to be) and conclusive without any important steps missing (perhaps my issue? am I failing at a very basic level?)

Is there a similar example that we can see?

For now, if i get to the point where I have a view on the front-end showing some of my 'JOBS' custom posts then i'll be very happy

What is the link to your site?
hidden link

#1675109

Hello and thank you for contacting the Toolset support.

I suspect that you have a wrong query filter on the view, or that all your JOBS posts are draft posts. By default, a view will query the "Published" and "Private" posts, if the post are still drafts they won't appear.

But, to better assist you with this, I would prefer to get access to your site admin area, I'll analyze how the view is built and will find out what's the issue. If you would agree, your next reply will be private to let you share credentials safely. ** Make a database backup before sharing credentials. **

It is also worth to mention some results of our last efforts in updating the documentation, check these lessons we published less than a week ago:
- https://toolset.com/course/
- https://toolset.com/course-lesson/

#1675217

Thank you for the access credentials. I checked the view and everything seems correct, but no results.
I also created another view to no avail. This issue will need further debugging. Would you allow me to take a Duplicator copy and investigate the issue locally?

#1675369

Yes please, really appreciated!
Thankyou in advance.

#1676525

Thank you!

I took a copy of your website and built it locally. It was working from the first hand. Check this screenshot hidden link Note that my copy does not have any images.
So, I suspect that something related to your server is causing this issue. It may be a caching plugin, or a server caching system(such as Varnish, Memcache or Redis.)

Can you deactivate the "Endurance Page Cache" must-use plugin by renaming the folder "/wp-content/mu-plugins" or by asking your hosting service to deactivate it temporarily until we make sure it's working with Toolset.

Looking forward to your reply.

#1676565

Hi Jamal,

Thanks again for looking into this!
I've spoken to my hosting provider (hostgator) and they have deactivated the "Endurance Page Cache" for mytreejob.co.uk

Greg

#1676597

Thank you, Greg, but that does not seem to fix the issue. I am pretty sure there is another level of caching or something within your server that is contributing to this issue.
To confirm/verify that, I have created a new installation on our platform and I hope you will follow the steps on my previous message(June 25, 2020 at 3:02 pm) to migrate your website there.
If the issue persists on our server, we'll find out why. If it does not, that will prove that something on your hosting/server is affecting Toolset and contributing to this issue.

#1676755

I have followed your instructions above and received the email saying the migration is complete.

It would make sense that the problem is with my hosting provider as i've had a similar experience with two domains hosted with them. I look forward to hearing your conclusion.
Thanks,
Greg

#1676761

Thank you Greg!

I do believe that the issue is within the hosting/server. Check the migrated site, it does not present the issue hidden link

Please reach to Hostgator for any help they can provide, it may be something that is also related to Toolset, but we'll need their help to figure it out.

#1676783

Thanks Jamal,

I'll get in touch with them and see what they say. I've been reading a bit about their hosting and it appears that they use a 'super cache plugin' on packages like the one I have with them.

Can we leave this thread open and I'll report back as to what they say either way (either resolving the issue entirely or having a suggestion).

Thanks very much indeed, really appreciate it!
Greg

#1676917

Hi Greg, Thank you!

I changed this ticket status. It should be kept open for 3 weeks. You will receive email notifications before the ticket is closed.

#1680399

Hello, Good Afternoon.

I've been in touch with my Hosting (hostgator.com) and the conclusion of the conversation was as follows:

2:19 pm J: Yes sure Greg. Thank you for all the information. I will check the details for you. Kindly stay online.
2:20 pm G: very much appreciated, thanks.
How are you getting on?
2:43 pm J: Yes almost there. We use varnish cache on our server which is a caching layer
2:44 pm J: I have now removed that caching layer.

I have cleared my browser cache, logged onto my wordpress dashboard for mytreejob.co.uk deleted the view, made another view and had a look in an incognito google chrome window and i'm still unable to see the view. I imagine that hostgator haven't quite managed to stop all the caching they are doing. Do you have any suggestions?

Is there anything else I should try as well/instead?

Thanks in advance,
Greg

#1680559

Hi,
As a new user there's plenty of room for me to learn, I've been reading about caching issues. It seems clear how cashing causes problems with the displaying of dynamic content. For the purpose of getting my 'view' to appear in the front-end, is it literally the case that I want all caching turned off?
Thanks again

#1680929

I have been fairly relentless in my search for undiscovered forms of caching to turn off today. My hosting provider have gone through the process of turning off caching at their end again ( I'm not sure they did it right on Friday when I asked them to, otherwise surely they'd have told me it was already off today) and they assure me it is off.
However I'm still experiencing exactly the same on the front end. I am completely open to suggestions as I really want to be able to work with Toolset. Should I be looking for a different hosting provider? Do other people have this issue?
Thanks in advance, all / any help appreciated greatly!
Greg

#1683557

Hello Greg and my apologies for the late reply.

Any cache is meant to speed-up your website. It is recommended to have one or multiple caching layers, and we'll resolve any issue that we encounter with any caching technology as soon as we reproduce it.
I was not able to reproduce the issue on my local installation and on our online platform. I can't tell what is exactly causing this issue on your hosting, cache, PHP version, etc. If I am unable to reproduce the issue I won't be able to debug it.

We can activate PHP debugging on your hosting and check if any errors are logged in there. But, that would remain the last possibility to follow.
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/#php-debugging

Otherwise, I'll suggest starting development locally on your computer or on another hosting provider, just to be sure that the issue is only reproducible in Hostgator.