Project

General

Profile

Bug #8457

Could not view the course after move to new server

Added by ha nguyen over 5 years ago.

Status:
New
Priority:
High
Assignee:
-
Category:
Course settings
Target version:
-
Start date:
09/10/2016
Due date:
% Done:

0%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

Hi,
I have the experience to moving successful all LMS portal to new server after try to do this done twice.
The bug is that after move to new server, config the database information. Everything words fine but you can not view any courses.
At the first, I have to export all courses from the old server and import it again on the new server. At the second, after try many ways, I check the code at the index.php on the course directory and find out the solution. The portal has fixed a static path here. Example:

$cidReq = "COURSENAME";
$dbname = "COURSENAME";

include("/home/username/public_html/chamilo/main/course_home/course_home.php");
?>

The platform should change to this: include("../../main/course_home/course_home.php");

Also available in: Atom PDF