Re: Fatal error: Cannot redeclare
| From: | Daniel Brown | Date: | Tue, 05 Aug 2008 13:46:42 +0000 |
| Subject: | Re: Fatal error: Cannot redeclare | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-277721@lists.php.net to get a copy of this message | ||
On Tue, Aug 5, 2008 at 9:37 AM, Kai Kauer <kai.kauer@web.de> wrote:
> Hi @all,
>
> I was just installing the Moodle-Version 1.9.2 at our university. It was
> installed without any problems. But during testing and preparing for use I
> got this error message:
>
> Fatal error: Cannot redeclare make_log_url() (previously declared
> in /global/WEB_DAT/documents/fme/institute/get/lehre/course/lib.php:25)
> in ./lib.php on line 54
This is usually a result of the same function include script being
included twice, and thus, the function being defined a second time.
Check ./lib.php on line 54 and see if it's including itself, or if -
for whatever reason - there's two entries in that file starting with
"function make_log_url(***)".
*** Optional parameters may be enclosed within the parentheses.
--
</Daniel P. Brown>
Better prices on dedicated servers:
Intel 2.4GHz/60GB/512MB/2TB $49.99/mo.
Intel 3.06GHz/80GB/1GB/2TB $59.99/mo.
Intel 2.4GHz/320/GB/1GB/3TB $74.99/mo.
Dedicated servers, VPS, and hosting from $2.50/mo.