Project

General

Profile

Feature #2230

Current course home script prevents using remote disks

Added by Yannick Warnier about 9 years ago. Updated over 8 years ago.

Status:
Bug resolved
Priority:
Normal
Category:
-
Target version:
Start date:
03/11/2010
Due date:
% Done:

0%

Estimated time:
1.00 h
Complexity:
Normal
SCRUM pts - complexity:
8

Description

When using remote disks (shared disks) with simple symlinks, the index.php script in the home of a directory returns an error (it is trying to find main/course_home/ in "../.." from the translated new shared disk path.
Example:
  • /content/courses/ is the real shared disk
  • chamilo/courses/ is a symlink created with "ln -s /content/courses/ chamilo/courses"

When entering the home of any course, I get:

Warning: include(../../main/course_home/course_home.php) [function.include]: failed to open stream: No such file or directory in /content/courses/ACV06/index.php on line 5

Apart from that, there is no particular reason to access this script instead of directly using something like course.php?course=ABC (there was, in the past, maybe, but this isn't true anymore).
To be able to implement this, we need to create a course.php script with the same effects as the current courses/ABC/index.php script, and change all course_home linking functions to link to course.php instead of /courses/ABC/index.php


Related issues

Related to Chamilo LMS - Feature #2511: Move multi-disk improvement from Callao to coreFeature implemented12/01/2011

Actions

Associated revisions

Revision b646a2d1 (diff)
Added by jmontoyaa over 1 year ago

Fix memory_limit and display_errors info in installer see #2230

Also available in: Atom PDF