Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Solved]: Fatal error  (Read 7145 times)

0 Members and 1 Guest are viewing this topic.

magneod

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
[Solved]: Fatal error
« 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
« Last Edit: February 03, 2010, 07:03:19 am by Joachim Müller »
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Fatal error
« Reply #1 on: January 30, 2010, 08:11:41 am »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Fatal error
« Reply #2 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".
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:
Code: [Select]
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.
Logged

magneod

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Fatal error
« Reply #3 on: February 02, 2010, 02:58:28 pm »

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

Logged

Nibbler

  • Guest
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Fatal error
« Reply #5 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...
Logged

magneod

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Fatal error
« Reply #6 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
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.