Joomdle 1.0 Installation

Error: You are not allowed to view this resource.

  • paurray
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 3 months ago #1 by paurray
Hi Antonio

I hate to say this but I am still having trouble buying courses.
Here is a video where I registered as “simplesimon”

vimeo.com/199459109

Passwords for the video & Moodle are of course “simplesimon”

1) I created an account as “simplesimon”
2) I attempted to purchase two courses once and failed both times.
3) I logged out and back in and tried again and succeeded the second time!!!

I changed nothing in the back end between my first and second attempt!

This kind of stuff happens again and again.
Sometimes it works, sometimes it does not work and I am seeing no pattern.

I have remove the line that you suggested moving at one point as part of this thread that i started 4 weeks ago:

www.joomdle.com/forum/installation/12025...hop-working-together

*********************************************************************

While testing this, I noticed a problem for logged users in my local installation, and it seems problem also happens in yours: I get a blank page when going to course as logged user.
To fix it I had to remove this line in moodle/enrol/joomdle/enrol.html:
require_once($CFG->dirroot.'/lib/html2text.php');

*********************************************************************

And have the feeling that this problem does not occur so often now but it still occurs.
I would really like to nail this!

Please advise

thanks

Paul

Please Log in or Create an account to join the conversation.

  • paurray
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 3 months ago #2 by paurray
here is another test
vimeo.com/199531261
password "simplesimon"
1st attempt = fail
2nd & 3rd attempt work!!!

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #3 by Antonio Durán
Replied by Antonio Durán on topic Error: You are not allowed to view this resource.
Hi Paul.

I have done some testing at your site, and it seems the registration process is not correctly activating SSO, so when you register and you get logged, you are not logged to Moodle.
You can see this in the links to the shop. When you are fully logged, you can see:
site/hikashop-menu-for-categories-listing/product/4-3d-titles-in-fcpx
But when you are not logged, you see:
site/network-final-cut-pro-post-production-professionals/login-here

Because I guess you have configured different messages for logged and not logged users.

Strange enough, if you register to the site using the pop up, it seems to work fine.
So, to me, it seems the problem happens when using the "Don't have an account yet?" form, that apperas when going through your links.
It's as if it were not triggering the events used by Joomdle.

How is this page configured? I don't see it in my Easysocial installation.

Please Log in or Create an account to join the conversation.

  • paurray
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 3 months ago #4 by paurray
Hi Antonio

Here is the quick answer:
stackideas.com/docs/easysocial/administr...u-views/login-layout
To the best of my knowledge this layout has been around for a number of years.
I will look into this further

all the best

Paul

Please Log in or Create an account to join the conversation.

  • paurray
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 3 months ago #5 by paurray
Hi Antonio

And here is the slightly longer answer.

OK so pages:

www.finalbug.net/moodle/enrol/index.php?id=8
www.finalbug.net/moodle/enrol/index.php?id=5

Take you here:

www.finalbug.net/network-final-cut-pro-p...essionals/login-here

Which as you say does not really work...

Please Log in or Create an account to join the conversation.

  • paurray
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 3 months ago #6 by paurray
...I did think briefly of changing that link to

www.finalbug.net/network-final-cut-pro-p...sionals/registration

But lets imagine that you had already bought Course Sample 01 and now wanted to buy Course Sample 03

This would make no sense as you would be prompted to sign up again!

i.e. have different accounts for different courses.

Here are three details I am noticing:

a) If you use the pop up to register you get taken here:

www.finalbug.net/network-final-cut-pro-p...sionals/registration

Press submit and you are registered.

Please Log in or Create an account to join the conversation.

  • paurray
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 3 months ago #7 by paurray
b) If you use the Login/Register form there are 2 steps:

www.finalbug.net/network-final-cut-pro-p...essionals/login-here

takes you here:

www.finalbug.net/network-final-cut-pro-p...registration/steps/1

Then you press submit and you are registered.

c) If you look at the bottom of the Stream page:

www.finalbug.net/network-final-cut-pro-p...uction-professionals

You see “You need to login to read the rest of the stream items.” twice.

I have posted about this last issue in the SI forum!

And expect to have an answer within hours

thanks

Paul

Please Log in or Create an account to join the conversation.

  • paurray
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 3 months ago #8 by paurray
FYI you can have many steps in the ES registration process
I want to make this idiot proof but someone else might need a Step 1,2,3 etc.

Please Log in or Create an account to join the conversation.

  • paurray
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 3 months ago - 9 years 3 months ago #9 by paurray
From Stackideas:

Hi there,

It seems that you have done some template override your that page on this path, and there are "two" codes for login there /templates/elegant/html/com_easysocial/dashboard/guests/default.php.

And i have accidentally, replaced your existing template override on that path.: ( Maybe you can try to compare with uploaded file(mine) and your previous file. Sorry for any inconvenience caused. Please give it a check and see how it goes

I do not believe that I performed an overwrite as suggested.
One way or the other there is now only one login/register option at the bottom of the Network page.
I attempted to register/purchase as a user using the link on the course page and got another...
Error: You are not authorised to view this resource.
So I do not believe that it is a ES problem.
Please advise
thanks
Paul
Last edit: 9 years 3 months ago by paurray.

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #10 by Antonio Durán
Replied by Antonio Durán on topic Error: You are not allowed to view this resource.
> Error: You are not authorised to view this resource.

This problem is already understood. The cause is that you are not logged in Moodle when going to the course, so it takes you to Joomla login. But in Joomla you are already logged in, so you see the error message.

Real problem is that SSO is not working on Easysocial registration when using the "don't have an account yet" form that shows in: www.finalbug.net/network-final-cut-pro-p...essionals/login-here

So, I configured my local installaiton to show that box, but I registered and SSO worked fine.
That said, in my case it was different: I am registered as soon as I fill the small form. In your site, I get redirected to complete the registration page. I don't know if that can be the reason for the different behaviour.

> I do not believe that I performed an overwrite as suggested.

This can also be the cause of the difference.
You are the only one who can know. If you have not modified Easysocial core files, I think the best thing to do is to re-install latest release over current one, so you are sure you are running stock code.

Please Log in or Create an account to join the conversation.