[Solved]: Fatal error [Solved]: Fatal error
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Solved]: Fatal error

Started by magneod, January 30, 2010, 07:13:49 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

magneod

I have received this error, do not know why php version has just upgraded to php 5.3

link to the gallery is:

http://galleri.modart.no/index.php

Fatal error: Cannot redeclare cpgGetMicroTime() (previously declared in /customers/modart.no/modart.no/httpd.www/galleri/include/init.inc.php:118) in /customers/modart.no/modart.no/httpd.www/galleri/include/init.inc.php on line 120

Jeff Bailey

Are you bridged or do you have a custom header or footer?
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Joachim Müller

the file include/init.inc.php mustn't be included twice, which is apparently what happens. You need to find the reason for that. Coppermine runs fine with any flavor of PHP that is better or equal to PHP4.2.0. Your version (PHP5.3) clearly falls into the category "or better".
Quote from: magneod on January 30, 2010, 07:13:49 AM
link to the gallery is:

http://galleri.modart.no/index.php
It takes ages for that page to load and then times out in the browser, which is no surprise, as your domain appears to be down - it can't even be pinged - here is the trace route:root@foo:/home/myusername# tracert modart.no
traceroute to modart.no (195.47.247.161), 30 hops max, 60 byte packets
1  fritz.fonwlan.box (192.168.0.1)  2.571 ms  7.923 ms  8.370 ms
2  X.X.X.X (X.X.X.X)  48.460 ms  50.158 ms * [edit: replaced thhe IP address in this line with X, as it's none of your concern)
3  * * *
4  * * *
5  * * *
6  * * *
7  * hbg-bb1-link.telia.net (80.91.248.25)  54.675 ms hbg-bb2-pos6-1-0.telia.net (213.248.65.122)  57.387 ms
8  kbn-bb2-link.telia.net (80.91.252.113)  64.424 ms kbn-bb2-link.telia.net (80.91.254.3)  67.334 ms kbn-bb2-link.telia.net (80.91.249.206)  72.849 ms
9  kbn-b3-link.telia.net (80.91.252.23)  74.098 ms kbn-b3-link.telia.net (80.91.253.200)  77.027 ms kbn-b3-link.telia.net (80.91.252.23)  79.868 ms
10  netgroup-ic-119828-kbn-b3.c.telia.net (213.248.95.30)  82.594 ms  84.794 ms  87.442 ms
11  vl943.ar0.ba.cph.ngdc.net (217.116.255.152)  94.073 ms  95.997 ms  98.410 ms
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *
Ask your webhost for support on that.

magneod

Quote from: Jeff Bailey on January 30, 2010, 08:11:41 AM
Are you bridged or do you have a custom header or footer?

Thank you for all the answers!
I tried to set up a bridged between http://forum.modart.no/index.php and gallery, but this was unsuccessful.

If this is the problem how do I correct it then.
Is the file in this case stored in the database and how do I fix this



Joachim Müller

Why did you start this thread on the upgrading sub-board when your issues are a result of a bridging attempt that went wrong? Moving...

magneod

Thanks for all the help and support. The gallery now seems to be working properly.

Take care and have a good time.

magneod