Forums
Hi,
I have installed Opigno 7.x -1.17 with commerce.
I have set up courses with payment required.
In the Training Catalogue page, students can see a list of courses each with a 'Buy access' button which has a link like:
http://site/group/node/21/subscribe/og_user_node - different node numbers for each course
Clicking on this link gives a 404 page not found
However clicking on the Course title takes you to the course correctly
Once in this screen clicking on 'add to cart' works as expected and clicking on 'Subscribe to group' gives the page
http://site?q=group/node/21/subscribe/og_user_node
which displays 'Do you want to buy access to ......' as expected.
So my question is:
Why does the 'Buy/Access' button on the Training Catalogue page leave out the ?q= from the link?
Hope someone can help
Hi philreek
Hi philreek
Please enable clean urls and this will be fixed.
https://www.drupal.org/getting-started/clean-urls
Best regards
In reply to Hi philreek by James Aparicio
Training Catalogue Buy Access button gives 404 error
In reply to Hi philreek by James Aparicio
Clean URL
Hi maurice67530
Hi maurice67530
You need to activate mod_rewrite. Check the link i sent
https://www.drupal.org/getting-started/clean-urls
Best regards
In reply to Hi maurice67530 by James Aparicio
Hi,
Altering the .htaccess file
Altering the .htaccess file should not be required.
If you enabled mod_rewrite, that should be enough.
Best regards
In reply to Altering the .htaccess file by James Aparicio
please bear with me, where do
It's a php addon
It's a php addon
In reply to It's a php addon by axel
hi,