error while add new book

error while add new book

by wildan Maulana -
Number of replies: 10
Dear all,
I have a  problem with book modul. 
when i install this module everything is fine, but when i try add a new book,
an klik a submit button..., moodle  just  go to the  index.php  (login page of moodle)

how can i fix this thing ?

thanks for you'r help
Average of ratings: -
In reply to wildan Maulana

Re: error while add new book

by Simon Reynolds -

I have a similar problem so perhaps we can work this out together. I am using version 1.3.2 and have installed the module as follows:

Unzipped all into the Mod directory

moved the book/lang folder to moodle/lang

moved the individual files in lang to their matching language folders. ie. (book) lang/en/book.php moved to moodle/lang/en/book.php

deleted the empty moodle/lang/lang folder.

Now, I have all the book language files in their respective moodle/lang/xx folders. I have also upgraded my en language files to the latest version.

I can now create a book, but when I click on it in the topic list, I get an error page (but at least it is more than you are getting!)

Over to you ------------ smile  and good luck!

Simon

In reply to Simon Reynolds

Re: error while add new book

by Petr Skoda -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers
I just tried to make a complete new install of Moodle 1.3.3 and latest book. Everything works for me.

My configuration No. 1
MS Windows XP Pro
PHP 4.3.6
MySQL 4.0.18
Apache 2.0.48

My configuration No. 2
FreeBSD 4.10
PHP 4.3.7_3
PostgreSQL 7.4.3
Apache 1.3.31_2



Creation of books is different from creating of resources, first dialog asks for book name and short summary. You are then taken back to main course page. Now click on book name and you are asked to add first chapter, after that finally the TOC is displayed...

skodak
In reply to Petr Skoda

Re: error while add new book

by Chardelle Busch -
Picture of Core developers
I just tried installing the latest book version on 1.3.2 and also got an error--apparently you need to upgrade to Moodle 1.3.3 first wide eyes.
In reply to Petr Skoda

Re: error while add new book

by Simon Reynolds -

Hi Petr

Is it possible for you to check my message below to see if I have put the right files in the right place?

I have a copy of Moodle on my notebook so will try on that as it has a similar config to the one you mention. The one I have problems with is on my server so it is possible there is a problem with one of the files.

Thanks

Simon

In reply to Simon Reynolds

Re: error while add new book

by Petr Skoda -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers
I just made fresh 1.3.2 install and it works for me sad. I would need to see the exact errors displayed...
BTW what is your server's exact configuration/program versions? If I can reproduce it on my servers I will fix it...
In reply to Petr Skoda

Re: error while add new book

by Chardelle Busch -
Picture of Core developers

Hi Skodak,

I tried installing again on 1.3.2 and it worked fine--don't know what's going on here.

Also, wanted to let you know I got my wider nav pix to fit on top by increasing the width in line 189 of view.php. 

Hope you have a great vacation.

Chardelle

In reply to Chardelle Busch

Re: error while add new book ( i find something)

by wildan Maulana -
Dear all...,
  thanks for response.
  
i think i find some clue,

i use 2 server, one server which  connect to  internet directly (server1)   and  the other one not connect to internet directly (server2).  And i install moodle on server2.
 
I install moodle 1.3.3 and book modul in /usr/share/elearning  (on server2)

and add this configuration in /etc/apache/-ssl/httpd.conf
       Alias  /elearning   /usr/share/elearning
       <directory /usr/share/elearning>
                     php_value memory_limit "32M"
                      php_flag magic_quotes_gpc  1
                      .........
                      .........  
        </directory> 
i set $CFG-wwwroot = https://server2/elearning
so i go to moodle page via https://server2/elearning  
      login as admin ..., and try add a new book .., and SUCCES ... seringai besar

but when admin on server1   make a virtual host for moodle on server1 ( i don't know exactly what configuration he add to httpd.conf on server1 besause i don't have acces to server1).

so  now .., i can acces my moodle on server2  through server1 via :
                     https://e-learning.server1
of course .., after i change config.php on my moodle on server2 become :
               $CFG->wwwroot = https://e-learning.server1
               

I log in as admin .., and try add a new book ...,but failed...,(when i klik submit  button  moodle just  go to  index.php page) sedih

do i  miis something on my configuration ?

I hope you understand  my explanation ..,, cause my english is not too good.
In reply to Petr Skoda

Re: error while add new book

by Simon Reynolds -

Hi Petr

I am away for the week end and you are away next week. I will have a play with it next week and let you know how I get on.

Thanks for your help so far.

Simon

In reply to Simon Reynolds

Re: error while add new book

by Simon Reynolds -

I installed the book module on a new installation and it worked perfectly

Now to learn how to use it!

Thanks Petr

In reply to Simon Reynolds

Re: error while add new book

by wildan Maulana -
I upgrade my apache server to apache2   and book module and other module perfectly  works ..  ... big grin
thnks for you'r help ...

i think i have slashargument problem.