Student user not prompted to create an associated site for project
June 13, 2019 at 7:44 am #8243
I’m experimenting with a new OpenLab installation. I changed my network settings to “user accounts may be registered” (see attached screenshot).
My student created an account. I’m not sure if this will be helpful context, but I used the Reclaim Hosting control panel to install a wordpress installation for him before I started experimenting with OpenLab. He already has his own wordpress blog, in other words, but I’d like to recreate it within the OpenLab network or just associate it with his project. I’m trying to figure out why he wasn’t prompted to do this.
To test this, I created a project as an admin. After I filled in the information for my project and clicked to create it, I was taken to another page asking if I wanted to create an associated site (screenshot attached). I received an error message after I filled in the information to create this site (screenshot attached), but when I refreshed the page, the blog was successfully created.
I checked with my student, and he said he never saw this option as he went through the steps to sign up.
Is there a setting I can change to make it possible for all users to create an associated site when they are creating projects, courses, clubs, etc?
Do you have any thoughts on what the error message I received means?
MaryJune 13, 2019 at 1:55 pm #8247
Just an update on this. I looked at my student’s computer with him and we tried again to create a project. This time, we did see a prompt to create an associated site. He explained that the first time he submitted the page to create a project, he thought he’d missed something on the previous page so he clicked the back button before reading the page that was prompting him to create an associated site.
We’ve now both experienced the error message after choosing to create an associated site, though, so I’m still curious if you recommend a fix for that! The error message appears, but then the project page and the associated site are created just fine.
MaryJune 14, 2019 at 5:49 am #8248
Thanks again for all the details!
Your registration settings should still allow users to create sites without a problem.
I also tried to reproduce the error you’re seeing on my own fresh test install, but couldn’t, so I’m going to reach out to the rest of the team to see if someone else can help you troubleshoot.
BreeJune 14, 2019 at 6:02 am #8249
Hi again Mary,
One more thing I wanted to mention — if your student would prefer to keep his external WordPress site, members also have the option of creating a new group on CBOX OL and instead of creating a new site, they can associate the group with an external site. If he wanted to do this with his existing project he could go into the project settings for the site, and unlink the current site. He’d then re-check the box, “Set up a site?” and choose the option for “Use an external site.”
Just fyi, in case he didn’t want to move over his existing site.
BreeJune 17, 2019 at 2:15 pm #8250
Thanks for checking with others about the error message. I’d love to figure out what’s going on there!
Thanks also for the reminder about associated sites. We considered that option, but his wordpress site was very new so he just decided to recreate it from within OpenLab.
-MaryJune 17, 2019 at 2:43 pm #8251
Our developer thought that the issues might be due to file permission settings and suggested asking Reclaim Hosting about this. He said the server should be configured so that warnings of this sort are not visible on the site. Ensure that WP_DEBUG is not set to true in wp-config.php, and consider setting error_reporting( 0 ); as well. Reclaim should also be able to help with this.
I hope this helps, and please let us know if you have any more questions for us, or if the issue persists.
BreeJune 17, 2019 at 2:50 pm #8252
Thank you! I’ve shared your message with the support team at Reclaim.
-MaryJune 20, 2019 at 10:03 am #8256
I’m hoping you might help me a little more on this. I got a response from the Reclaim Hosting support team, and they very generously checked on how the server was configured because I don’t know how to do that. Here’s what the person helping there did:
When they suggested this was a files permissions error, I ran a script at the server level to make sure all file permissions were correct and confirmed the settings were added to the wp-config file (see screenshot).
After those settings had been changed, I created a new course page and opted to create an associated site. Unfortunately, I got the error message attached. The course and site were still created just fine. Do you think there’s something else I should check? If so, can you recommend tutorials on how to do what is suggested because I’m not familiar with checking how servers are configured (but happy to learn). I can reach out to IT support at my university for this, but I’d like to try to handle it on my own if at all possible.
MaryJune 20, 2019 at 10:04 am #8258
Sorry, attached here is the first screenshot referenced above.
-MaryJune 21, 2019 at 12:33 pm #8261
Sorry you’re still experiencing the issue, but I’m happy to help you sort it out. I’ll have to check in again with our developer to see what the next steps might be for troubleshooting, but I’ll get back to you as soon as I know more.
BreeJune 21, 2019 at 2:30 pm #8262
I heard back from our developer who had some suggestions.
One more thing you can try is to double check that that the template site for projects (see documentation here) has any associated with it. To do this, go to the Dashboard of the template site for projects and check to see if the media library is empty. In addition, upload a file there – doesn’t matter what it is – and then try to create a project with an associated site to see if the error still occurs.
Our developer also looked at the screenshot you attached and had the following advice:
The config file looks correct, though I’d suggest also adding ‘error_reporting( 0 );’ to see if that makes a difference.
Reclaim ought to be able to help ensure that notices are not showing. If the settings in wp-config are not taking effect, then it means that the server is configured in such a way that they cannot be overridden by WordPress. This is something that only the host can diagnose.
It’s not really possible to do additional troubleshooting without server access, which is why I’m afraid Reclaim will likely have to step in. And since it doesn’t seem like there’s a functional problem – sites and groups are properly created – the item of immediate importance is to squelch the display of the errors.
It also sounds like more general resources on server configuration aren’t likely to be helpful in this case, but hopefully either the template site troubleshooting or further troubleshooting with Reclaim will solve the issue. Please do reach out again though if you have any more questions.
BreeJune 21, 2019 at 3:58 pm #8263
Thank you for these new things to try! I have tried what I can do on my own and have things to report.
First, I looked at the site template-project dashboard and only saw one site there created by me (the automatic post for the wordpress site I associated with my own test project). I didn’t see any other activity, though others have projects with associated sites that are active. I don’t know what that means, but I include a screenshot of what I saw there.
After this, I went to the media library and uploaded an image there. It was an 82KB .png file.
Once I’d uploaded it, I created a new project and, when creating, noticed that I wasn’t permitted to upload an image for the project (I saw the message “upload limit exceeded”). I attach a screenshot of that.
Finally, I created a new project and created an associated site for it…
I still got an error message (screenshot attached).
I’m sending this off to you and will wait to hear back before I reach out to Reclaim again. I’m very grateful for your support on this. Folks are very excited about this platform and I’m confident we can get these little glitches sorted out!
-MaryJune 24, 2019 at 9:28 am #8267
Thanks for the additional details!
What you see on the dashboard for the site-template-project site is normal — since this is the default site template for all project sites, it should just contain the Hello World post, unless you had previously added any other posts. Any changes you make here will be replicated on other new project sites that are created by users.
Can I ask you to try a few more things:
- Can you try again to upload an avatar image for the Guide to Academic Writing project and let me know what happens?
- And could you try to create another type of group (course or club) and see if you see the same issue trying to upload an avatar image, and also if you see the same warning messages when you create an associated site?
BreeJune 25, 2019 at 9:51 am #8269
Thanks for your help! I tried what you asked and got an “upload limit exceeded” message for the first, and the same error report for the second. I’ve attached screenshots.
-MaryJune 27, 2019 at 2:45 pm #8272
Thanks for the additional troubleshooting, and apologies for the delay! I’ve reached out again to our developer and will get back to you as soon as I have more information for you.
You must be logged in to reply to this topic.