coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: magneod on January 30, 2010, 07:13:49 AM

Title: [Solved]: Fatal error
Post by: magneod on January 30, 2010, 07:13:49 AM
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
Title: Re: Fatal error
Post by: Jeff Bailey on January 30, 2010, 08:11:41 AM
Are you bridged or do you have a custom header or footer?
Title: Re: Fatal error
Post by: Joachim Müller on January 31, 2010, 01:28:38 PM
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.
Title: Re: Fatal error
Post by: magneod on February 02, 2010, 02:58:28 PM
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

Title: Re: Fatal error
Post by: Nibbler on February 02, 2010, 04:22:05 PM
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#bridge_manager_recover_start
Title: Re: Fatal error
Post by: Joachim Müller on February 02, 2010, 04:59:47 PM
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...
Title: Re: Fatal error
Post by: magneod on February 03, 2010, 03:12:49 AM
Thanks for all the help and support. The gallery now seems to be working properly.

Take care and have a good time.

magneod