Error-Message when trying to edit page-layout

Bug #1593174 reported by Ulrich Weber
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Expired
Undecided
Unassigned

Bug Description

I have installed a new Mahara (Version 16.04) on an Hosted Linux-Server
 using a mySQL Database.

Entering "Portfolio" -> "Pages" -> "Edit Layout" shows following error-message (I replaced global server path by "<Hosting-Server>")
------------
Fatal error: Cannot redeclare init_performance_info() (previously declared in <Hosting-Server>/mahara/htdocs/init.php:476) in <Hosting-Server>/mahara/htdocs/init.php on line 490
------------

Also adding content to the page isn't possible (the same error-message can be found in the Console of Firebug when entering "/view/blocks.json.php")

The file "init.php" is included by multiple other files using "require" instead of "require_once" or by "include" instead of "include_once".

Is it possible to solve the problem by a apache-configuration?

Revision history for this message
Son Nguyen (ngson2000) wrote :

Hi Ulrich;

I installed a fresh mahara 16.04.0 site on Ubuntu 14.04, Apache 2.4, Php 5.5, and MySQL 5.5.
I did not see any error when editing a page layout or page content.

Can you please give more info about your linux server?

Revision history for this message
Ulrich Weber (uweber-9) wrote :

Here are some details about my linux server:
Debian 6.0
php 5.3
Apache 2.2
MySQL 5.1

Revision history for this message
Son Nguyen (ngson2000) wrote :

Hi Ulrich;

I could not replicate the issue.
I have installed mahara 16.04.2 on a docker container running Debian 6.0.

Do you have any local code and plugins installed in your mahara code?

Changed in mahara:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Mahara because there has been no activity for 60 days.]

Changed in mahara:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.