"click to enter text" to create admin account does't work

"click to enter text" to create admin account does't work

by tarek jellad -
Number of replies: 19

hello every body

by cliking "click to enter text" nothing is done only a "#" is added to the url. i c'ant enter the new admin password triste

what is the problem please ???

Average of ratings: -
In reply to tarek jellad

Re: "click to enter text" to create admin account does't work

by Deepak Gour -

Hi Tarek 

For more detail.

If it is possible. 

Please add error screenshot 


In reply to Deepak Gour

Re: "click to enter text" to create admin account does't work

by tarek jellad -

hello Deepak Gour

there is no error message or screenshot .

to create an admin account there is no empty filed to give the password.

whene i clik on the blue link "click to enter text"  (as shown on pic), nothing is done, only a "#" is added to the url (http://....id=2#)

so i can't create the admin  account and finish the moodle installation

i tried chrome, opera, firefox from windows and ubuntu machines without success

sad


In reply to tarek jellad

Re: "click to enter text" to create admin account does't work

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Do you have any 'blocking' software installed that might be causing this? Could be a firewall, anti-virus,. ad-block. Anything like that. 

Failing that, open the Javascript Console (e.g. in Chrome, View > Developer > JavaScript console), refresh the page and try again. At any point are any errors shown in the console (they will be in red).

Average of ratings: Useful (1)
In reply to Howard Miller

Re: "click to enter text" to create admin account does't work

by tarek jellad -
thank you

There are error messages from chrom and firefox

1. Chrome :


2. Firefox : (same errors)



but this files are existing : with chmod -R 755


 
And what is this strange address : 
http://ubuntubbb/lib/javascript.php/1502368920/lib/javascript-static.js
????

In reply to tarek jellad

Re: "click to enter text" to create admin account does't work

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Have you installed in the same directory or under the web installation of something else? The main culprit here is usually Wordpress but other CMSs and blogs do similar things. That is there could be some rewrite rules in an .htaccess file or in your web server's configuration intended for the other software but affecting your Moodle install. 

Average of ratings: Useful (1)
In reply to Howard Miller

Re: "click to enter text" to create admin account does't work

by tarek jellad -

Thank you Howard Miller

Yes the nginx web server is used for moodle (port 80) and bigbluebutton (port 90).

And i  have deleted «default» file from /etc/nginx/sites-availables/, I have only two files «bigbluebutton» and «moodle».

Do you think that the bigbluebutton server (witch working very fine) is the cause of js errors?

in moodle tuto they use apache,  and in bigbluebutton tuto they use nginx, but i d'ont want to use two web servers in my machine. That's why i use only nginx web server for the two applications on differents ports

In reply to tarek jellad

Re: "click to enter text" to create admin account does't work

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

I don't know much about nginx myself but I do know there are plenty of sites running Moodle with nginx and no worries at all. 

I also can't really comment on the BBB setup.

If Moodle works otherwise, something is rewriting your Moodle URL.   

If it isn't the web server, then is there anything 'weird' been added to Moodle. For example, what is your '$CFG->wwwroot' setting in your Moodle config.php?

Average of ratings: Useful (1)
In reply to Howard Miller

Re: "click to enter text" to create admin account does't work

by tarek jellad -

thank you Howard Miller

offffffffffffffffffffffff

Finally I found the solution,By following this page:

https://docs.moodle.org/32/en/Nginx

I moved the block concerning the "slash argument" to the beginning of the file "/ etc / nginx / sites-available / moodle" and all js files works fine :



Note :i use my php-frm soket instead 127.0.0.1:9000

10000 thanks


please How to mark a problem is solved in the forum???

Average of ratings: Useful (1)
In reply to tarek jellad

Re: "click to enter text" to create admin account does't work

by Vladimir Gomez -

Hello.

I have the same problem, but couldn't solve it with the recommendation from tarek jellad.

Mine is a fresh installed CentOS 7.2 fully updated with PHP 7.1 and Nginx 1.12 (I use tcp for php-fpm communication).

tarek jellad, could you please share your nginx.conf file to compare it with mine and see if I can fix it?

Regards.

Vlad.

In reply to Vladimir Gomez

Re: "click to enter text" to create admin account does't work

by Vladimir Gomez -

Never mind. I found the problem was a "try_files $uri =404;" directive before the fastcgi_ lines in the same block.

In reply to tarek jellad

Re: "click to enter text" to create admin account does't work

by Sophie Kamuf -

Hi, where exactly did you find nginx.conf? I'm using XAMPP and this file doesn't seem to exist there.

In reply to Sophie Kamuf

Re: "click to enter text" to create admin account does't work

by Vladimir Gomez -

Hello.

If you are using XAMPP you are not using nginx so you don't have nginx.conf.

In reply to Vladimir Gomez

Re: "click to enter text" to create admin account does't work

by Shadi Aljendi -

Hello,

So any idea what could it be the solution if we are using WAMP (or XAMPP)?

I am attaching a screenshot of my console.


Thanks a lot..

In reply to Shadi Aljendi

Re: "click to enter text" to create admin account does't work

by enrico martinez -

for my part, i've got the same problém with

Apache/2.4.25 (Raspbian)

In reply to enrico martinez

Re: "click to enter text" to create admin account does't work

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

This is a very old post - perhaps you could add more details.  It appears however that this is often caused by a url redirect or something similar in your webserver config - so check you apache config files...

In reply to Emma Richardson

Re: "click to enter text" to create admin account does't work

by enrico martinez -

not sure it something to see with apache cause the link generated by php for this link "click to enter text" done:


 </span>
            <a href="#" data-passwordunmask="edit" title="">
                <span data-passwordunmask="displayvalue"><span>

<em>Click to enter text</em>
</span>


more info;
dedicated server 'raspberry pi'


In reply to Emma Richardson

Re: "click to enter text" to create admin account does't work

by santo antony -

I am also getting the same error, I tried installing diff versions of moodle and PHP, but still no luck, I am running moodle using IIS and SQL server. Please see the attached screenshot below. I was able to set up the moodle successfuly on IIS. its just i am not able to create the account because not able to enter the password when i click on " click here to enter the text". i provided the screenshot of the console which shows the javascript error.

Attachment User Account Create Error.PNG