May be a BUG in module

May be a BUG in module

by Дмитрий Герасименко -
Number of replies: 5
Help!
I cannot create a new glossary!

Bug in the <form action ... !

My webroot: http://sdo
In the '<form action= ...': http://sdohttp://sdo/course/mod.php!!!
  ...when I create a new glossary.

P.S:
Sorry, but my English not very good and I don't know how it say another... :)
Ask me if you not understand me!
Average of ratings: -
In reply to Дмитрий Герасименко

Re: May be a BUG in module

by Don Quixote -
Can you access your moodle site and other activities without this error?

If it appears everywhere, check the wwwroot variable in your config.php file:

It should be

$CFG->wwwroot = 'http://<yourdomain.xy>/<subdirs_to_moodle>';

(Your webroot can't be just 'sdo'. Or is this an acronym I don't know yet?)

If this isn't the case, please post back and don't forget to tell us what moodle version, platform, etc...  you are using.
In reply to Don Quixote

Re: May be a BUG in module

by Дмитрий Герасименко -
I create a virtual host. (on the apache web-server)
Therefore, my $CFG->wwwroot = 'http://sdo'.
It works!
(on the 'real' host - no problems!)

I can access to site and to other activities without errors.
But then I want to create new glossary...
In page (http://sdo/course/mod.php?id=7&section=0&add=glossary) = form action was bad!


Moodle version 1.4, 1.4.1
Platform Mandrake Linux 9.2
Apache2
In reply to Дмитрий Герасименко

Re: May be a BUG in module

by Don Quixote -
Sorry, but you seem to have a virtual host setup I don't know / understand...

Basically you should have something like this in your httpd.conf or in an included .conf file (assuming that you use name based vhosts)

NameVirtualHost YourIP:YourPort    // put your IP and optionally non-standard port here
...

<VirtualHost YourIP:YourPort>
    DocumentRoot /path/to/web/document/root  // put your document root here
    ServerName yourdomain.com           // put your domain here
    ...
</VirtualHost>

Do you want your moodle to be accessible via the internet or only locally?
In reply to Don Quixote

Re: May be a BUG in module

by Дмитрий Герасименко -
I want to using MOODLE only in the local net.

I configure my web server with 'dynamic virtual host'...
but it's not important in this problem!

Main problem in the Glossary module. I'm very sure.

All other modules and whole moodle site working properly!
In reply to Дмитрий Герасименко

Re: May be a BUG in module

by Don Quixote -
yes, I was getting it just after I posted my last question wink

I tried it with 1.4 (locally on a Win installation) as well as with 1.4.1 (remotely on a linux installation) and couldn't reproduce it.

No idea, why you have this corrupt url in your form tag... sorry