Installation Problem Moodle 2.3.1 (File does not exist *.php/standard/)

Installation Problem Moodle 2.3.1 (File does not exist *.php/standard/)

by DANIEL BERNAL -
Number of replies: 6

I have ben used moodle for four years, recently I need to do a new installation in the same server.

I start the installation without problems, but when  the installation finishes the images doesn´t show and the estandard theme is deformed, i Have Mysql 5.1 Apache 2 and all test is OK, in the same server I have another moodle plataform witout problem, reading the log I received these error:

''''''''''''''''''''''''''''''''''
[Thu Aug 16 11:12:54 2012] [error] [client 190.90.86.118] File does not exist: /var/www/version/moodle/theme/javascript.php/standard/1345132826/head, referer: http://cientic.uis.edu.co/version/moodle/admin/upgradesettings.php
[Thu Aug 16 11:12:54 2012] [error] [client 190.90.86.118] File does not exist: /var/www/version/moodle/theme/javascript.php/standard/1345132826/footer, referer: http://cientic.uis.edu.co/version/moodle/admin/upgradesettings.php
[Thu Aug 16 11:13:10 2012] [error] [client 190.90.86.118] File does not exist: /var/www/version/moodle/theme/styles.php/standard/1345132826/all, referer: http://cientic.uis.edu.co/version/moodle/
[Thu Aug 16 11:13:10 2012] [error] [client 190.90.86.118] File does not exist: /var/www/version/moodle/lib/javascript.php/1345132826/lib/javascript-static.js, referer: http://cientic.uis.edu.co/version/moodle/
[Thu Aug 16 11:13:10 2012] [error] [client 190.90.86.118] File does not exist: /var/www/version/moodle/theme/image.php/standard/core/1345132826/i/edit, referer: http://cientic.uis.edu.co/version/moodle/
[Thu Aug 16 11:13:10 2012] [error] [client 190.90.86.118] File does not exist: /var/www/version/moodle/theme/javascript.php/standard/1345132826/head, referer: http://cientic.uis.edu.co/version/moodle/
[Thu Aug 16 11:13:10 2012] [error] [client 190.90.86.118] File does not exist: /var/www/version/moodle/theme/image.php/standard/core/1345132826/i/report, referer: http://cientic.uis.edu.co/version/moodle/
[Thu Aug 16 11:13:10 2012] [error] [client 190.90.86.118] File does not exist: /var/www/version/moodle/theme/image.php/standard/core/1345132826/i/navigationitem, referer: http://cientic.uis.edu.co/version/moodle/
[Thu Aug 16 11:13:10 2012] [error] [client 190.90.86.118] File does not exist: /var/www/version/moodle/theme/image.php/standard/core/1345132826/i/settings, referer: http://cientic.uis.edu.co/version/moodle/
[Thu Aug 16 11:13:10 2012] [error] [client 190.90.86.118] File does not exist: /var/www/version/moodle/theme/image.php/standard/core/1345132826/i/roles, referer: http://cientic.uis.edu.co/version/moodle/
[Thu Aug 16 11:13:10 2012] [error] [client 190.90.86.118] File does not exist: /var/www/version/moodle/theme/image.php/standard/core/1345132826/i/group, referer: http://cientic.uis.edu.co/version/moodle/
[Thu Aug 16 11:13:10 2012] [error] [client 190.90.86.118] File does not exist: /var/www/version/moodle/theme/image.php/standard/core/1345132826/i/checkpermissions, referer: http://cientic.uis.edu.co/version/moodle/
[Thu Aug 16 11:13:10 2012] [error] [client 190.90.86.118] File does not exist: /var/www/version/moodle/theme/image.php/standard/core/1345132826/i/filter, referer: http://cientic.uis.edu.co/version/moodle/
[Thu Aug 16 11:13:10 2012] [error] [client 190.90.86.118] File does not exist: /var/www/version/moodle/theme/image.php/standard/core/1345132826/i/backup, referer: http://cientic.uis.edu.co/version/moodle/
[Thu Aug 16 11:13:10 2012] [error] [client 190.90.86.118] File does not exist: /var/www/version/moodle/theme/javascript.php/standard/1345132826/footer, referer: http://cientic.uis.edu.co/version/moodle/
[Thu Aug 16 11:13:10 2012] [error] [client 190.90.86.118] File does not exist: /var/www/version/moodle/theme/image.php/standard/core/1345132826/moodlelogo, referer: http://cientic.uis.edu.co/version/moodle/
[Thu Aug 16 11:13:10 2012] [error] [client 190.90.86.118] File does not exist: /var/www/version/moodle/theme/image.php/standard/core/1345132826/i/edit, referer: http://cientic.uis.edu.co/version/moodle/
[Thu Aug 16 11:13:10 2012] [error] [client 190.90.86.118] File does not exist: /var/www/version/moodle/theme/image.php/standard/core/1345132826/i/restore, referer: http://cientic.uis.edu.co/version/moodle/
''''''''''''''''''''''''''''''''''''''

I did the installation many times , changed MYISAM, INODB,  restart apache mysql, changed the theme and the problem is the same.

Can anybody help me?

PD: Excuseme for my bad english I´m still learning

Average of ratings: -
In reply to DANIEL BERNAL

Re: Installation Problem Moodle 2.3.1 (File does not exist *.php/standard/)

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Switch on Debuging. Hopefully you will get some more clues.

Are you using a non-standard theme? If you are, switch back to Moodle's standard theme and see if the problem goes away.

Is Moodle working despite these errors? Do you see any other problems?
In reply to Howard Miller

Re: Installation Problem Moodle 2.3.1 (File does not exist *.php/standard/)

by DANIEL BERNAL -

I'm using Debuging mode, but moodle don't show anything more, using mozilla moodle load in one column and without images and the links work, using IE load without images number of column normally but the links don't work.

you can try to enter the link is http://cientic.uis.edu.co/version/moodle/

admin, Ultimateseries2"

This is a new installation without configuration changes.

in this site the moodle uses standard theme.

 

In reply to DANIEL BERNAL

Re: Installation Problem Moodle 2.3.1 (File does not exist *.php/standard/)

by Guillermo Madero -

Hi Daniel,

From the log output you posted, the paths definitely look strange:

/var/www/version/moodle/theme/javascript.php/standard/1345132826/head

Looking around at the site, all the URLs are wrong. For example, the address of the Moodle logo at the bottom is:

http://cientic.uis.edu.co/version/moodle/theme/image.php/standard/core/1345249414/moodlelogo

Whereas it should be:

http://cientic.uis.edu.co/version/moodle/theme/image.php?theme=standard&image=moodlelogo&rev=500

My guess is that you may have a .htaccess (dot htaccess) file that is doing some kind of URL rewriting. Anyway, from my point of view this is a server configuration problem, not a Moodle one.

Average of ratings: Useful (1)
In reply to Guillermo Madero

Re: Installation Problem Moodle 2.3.1 (File does not exist *.php/standard/)

by Manuel García -

Hi everyone, i'm having a similar problem but it doesn't appear to be some wrong with .htaccess because both scripts (javascript.php and image.php) uses the min_get_slash_argument function that let moodle to proccess http://cientic.uis.edu.co/version/moodle/theme/image.php/standard/core/1345249414/moodlelogo and http://cientic.uis.edu.co/version/moodle/theme/image.php?theme=standard&image=moodlelogo&rev=500 exactly in the same way and recognizing there the arguments that it have to get.

I am according to Guillermo, this is something about the server configuration instead Moodle. I will keep looking around and share any solution that could work.

Thanks and regards.

In reply to Guillermo Madero

Re: Installation Problem Moodle 2.3.1 (File does not exist *.php/standard/)

by Manuel García -

Here is a solution for this problem: http://docs.moodle.org/23/en/HTTP

I will keep looking because i want to use this feature and i don't like this phrase: "your PHP server doesn't allow the slash argument method and you will need to disable this setting".

cheers... smile

In reply to Guillermo Madero

Re: Installation Problem Moodle 2.3.1 (File does not exist *.php/standard/)

by Manuel García -

"The third is the winning one". In this post i found a solution for my problem: http://moodle.org/mod/forum/discuss.php?d=14313 (you have to understand a little of spanish).

I added the "AcceptPathInfo on" directive on the apache config file (.htaccess also works), enabled "slasharguments" variable and voila!, all files shown properly.

Best regards