There is no Student Portal and Fees page is getting error

Hi folk,

I am going through the Education Domain and from docs Student Portal (frappe.io), there should be a student portal from v15.2 onwards. My version is v15.21.1 but there is no Student Portal available.

Also, I tried to access Fees page but also got an error:

Error code:
Traceback (most recent call last):
File “apps/frappe/frappe/website/serve.py”, line 20, in get_response
response = renderer_instance.render()
File “apps/frappe/frappe/website/page_renderers/list_page.py”, line 12, in render
return super().render()
File “apps/frappe/frappe/website/page_renderers/template_page.py”, line 84, in render
html = self.get_html()
File “apps/frappe/frappe/website/utils.py”, line 523, in cache_html_decorator
html = func(*args, **kwargs)
File “apps/frappe/frappe/website/page_renderers/template_page.py”, line 95, in get_html
self.update_context()
File “apps/frappe/frappe/website/page_renderers/template_page.py”, line 163, in update_context
data = self.run_pymodule_method(“get_context”)
File “apps/frappe/frappe/website/page_renderers/template_page.py”, line 223, in run_pymodule_method
return method(self.context)
File “apps/frappe/frappe/www/list.py”, line 22, in get_context
context.update(get_list_context(context, doctype) or {})
File “apps/frappe/frappe/www/list.py”, line 181, in get_list_context
module = load_doctype_module(doctype)
File “apps/frappe/frappe/modules/utils.py”, line 243, in load_doctype_module
module = module or get_doctype_module(doctype)
File “apps/frappe/frappe/modules/utils.py”, line 234, in get_doctype_module
frappe.throw(_(“DocType {} not found”).format(doctype), exc=frappe.DoesNotExistError)
File “apps/frappe/frappe/init.py”, line 645, in throw
msgprint(
File “apps/frappe/frappe/init.py”, line 610, in msgprint
_raise_exception()
File “apps/frappe/frappe/init.py”, line 561, in _raise_exception
raise exc
frappe.exceptions.DoesNotExistError: DocType fees not found

It said that DocType fees not found but I am able to access Fees DocType:

Any help is much appreciated!

Hey, the student portal is available from version 15.2.0

For using the student portal you need to use develop branch of the education module.
@nguyenth

Thanks

I tried and still isn’t working. I get 404 error

Which version are you on @stunna4G

Education: v15.3.1 (develop)

the end point URL of the portal is

/student-portal

On which endpoint are you going ?

Docs: http://docs.frappe.io/education/student-portal

used the same route but it still isn’t working

Share some Screenshots, and have you applied all things which are present in the “Note” section of the documentation?

I have also gone through all the notes.

Try

  1. bench setup requirements
  2. bench build
  3. bench --site education-module migrate

Hi @Ritvik_Sardana , thank you for your information. I switch to develop branch and update to v15.3.1


Create an user with Student Role:

Setup Current Academic Year as mentioned on the docs

Loged in as Student account:

  1. The account still able to access Desk
  2. Got blank when tried to access /student-portal

can you try going to

/student-portal/schedule

and also try these steps:

  1. bench setup requirements
  2. bench build --app education
  3. bench --site site-name migrate

After doing these steps, your portal should work

1 Like

It has worked for me and thanks a lot.

1 Like

This works for me. Thanks

1 Like

Hi @Ritvik_Sardana , from v15.1.0, Fees will be replaced with Sales Invoice. Fees is currently showing blank in /student-portal/fees. Will it be also replaced with Sales Invoice created against Student?

@nguyenth

please migrate your site for these changes to work.

I migrated the site. Student Portal works but Fees is blank because I can’t create Fees based on Fees Structure or Fee Schedule since it replaced with Sale Order/Sale Invoice.
Sale Invoice created from Fee Schedule against a Student:

/student-portal/fees show blank

Can you open the portal’s console (Web console) and share the screenshot with me?

Here you go


Let me know if this helps

Weird, can you share the sales invoice SS which is created against this student?
along with that share fee schedule also please?