Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Navigation
Latest Addons
AD Gallery 40
SyntaxHighlighte... 48
Newsletters v4.03 106
Facebook Like Box 119
Newsletters v4.02 56
Metro 153
Facebook Connect 163
Shoutbox Panel 123
Redactor for PHP... 103
MI Floating Side... 105
Facebook Login/R... 147
Avatar Studio v2.03 177
Relationship Sta... 96
Sexual Orientati... 113
Fisherman 139
Popular Addons
iTheme2 5794
Arise 5783
User Control v1.23 4612
Event Calendar 4043
Photowidget panel 3881
Radio-Theme red2... 3348
Highslide Gallery 3310
CSS/JavaScript D... 3222
Facebook Connect... 2977
Dynamic Menu 2888
Slideshow Lightb... 2718
L-AMANT 2656
Enigma 2629
2Dark 2603
Black 2567
View Thread
Who is here? 1 guest(s)
 Print Thread
Upgrading from 7.00.x to 7.01.00
Richard Ainz
I am in the progress of sorting out a few sites that i have hosted and have been neglected. hence not updated by their admins as they should have been.

I get the following error when upgrading one site from 7.00.07 to 7.01.00 (done this before :P )
Download source  Code
Fatal error: Cannot redeclare get_microtime() (previously declared in /mounted-storage/home107b/sub001/sc63273-IMND/pds.homeworldaccess.net/maincore.php:24) in /mounted-storage/home107b/sub001/sc63273-IMND/pds.homeworldaccess.net/maincore.php on line 854



I have been looking at that code in maincore.php and I would assume its related to the server somehow, but the upgrades up to 7.00.7 went well so I am a bit at a loss.

The site is currently unbrowsable.

Please assist this poor admin...B)
www.8.php-fusion.net/images/smiley/fusion.png Coordinator of the Development of PHP-Fusion 8 www.8.php-fusion.net/images/smiley/fusion.png
Community Moderation Management & Support Team Leader
Owner of: www.php-fusion.se | www.php-fusion.net | www.php-fusion.us | www.php-fusion.mobi
 
www.php-fusion.se
Ankur
This problem occurs when the same function is declared two times or other function with the same name, either in the same file maincore.php or in the other Core files.

Check for Double declaration in maincore.php or in some functions files like includes/theme_function... etc etc...

Or may be this can occur while using multisite ? umm... not sure about multisite but you try other things... Wink
ankurthakur.co.cc/images/freelancer.png
 
http://ankurthakur.in/
Richard Ainz
I tried editing out the function, since it does in fact occur twice in maincore.php, or more... but it did not work.
I could try reuploading the maincore.php from the old version and then skip a version of the maincore.php.

But it is of course worrying since I have not edited any files.
www.8.php-fusion.net/images/smiley/fusion.png Coordinator of the Development of PHP-Fusion 8 www.8.php-fusion.net/images/smiley/fusion.png
Community Moderation Management & Support Team Leader
Owner of: www.php-fusion.se | www.php-fusion.net | www.php-fusion.us | www.php-fusion.mobi
 
www.php-fusion.se
Ankur
As the error says, it is redeclared on line 854... then it may possible that there could be a mistake done manually in maincore.php...

You may thoroughly look into the maincore for get_microtime for any mistyping etc or try reuploading the maincore...


Good Luck Wink
ankurthakur.co.cc/images/freelancer.png
 
http://ankurthakur.in/
Richard Ainz
So I exchanged the maincorewith no result and reuploaded the 7.01 maincore (there is no 7.00) but now it threw theme related errors. GAWD!

I am reuploading the lot, changing themes, and doing some general fiddeling.

Download source  Code
Fatal error: Cannot redeclare get_image() (previously declared in /mounted-storage/home107b/sub001/sc63273-IMND/pds.homeworldaccess.net/includes/system_images.php:93) in /mounted-storage/home107b/sub001/sc63273-IMND/pds.homeworldaccess.net/includes/system_images.php on line 224




that file does not even have 224 lines....??
Edited by Richard Ainz on 30-06-2011 11:17
www.8.php-fusion.net/images/smiley/fusion.png Coordinator of the Development of PHP-Fusion 8 www.8.php-fusion.net/images/smiley/fusion.png
Community Moderation Management & Support Team Leader
Owner of: www.php-fusion.se | www.php-fusion.net | www.php-fusion.us | www.php-fusion.mobi
 
www.php-fusion.se
Ankur
Hmm ... Then probably either your Server or you are including the maincore.php wrongly in some file...

Ex:- using include "maincore.php" or require "maincore.php" instead of include_once or require_once...

BTW, check the index.php of root if it has some problem... Cool

Error at Line Number which is not even in the File Pfft out of my mind too... Angry
ankurthakur.co.cc/images/freelancer.png
 
http://ankurthakur.in/
Richard Ainz
Wait. Could this be related to safe_mode?
www.8.php-fusion.net/images/smiley/fusion.png Coordinator of the Development of PHP-Fusion 8 www.8.php-fusion.net/images/smiley/fusion.png
Community Moderation Management & Support Team Leader
Owner of: www.php-fusion.se | www.php-fusion.net | www.php-fusion.us | www.php-fusion.mobi
 
www.php-fusion.se
Ankur
Homdax wrote:

Wait. Could this be related to safe_mode?


Searched some Topics about it and found that If your Host has Safe Mode ON, then it may give you problems including files using require include etc functions...!
ankurthakur.co.cc/images/freelancer.png
 
http://ankurthakur.in/
Richard Ainz
Safe mode was on, so I am changing that.
www.8.php-fusion.net/images/smiley/fusion.png Coordinator of the Development of PHP-Fusion 8 www.8.php-fusion.net/images/smiley/fusion.png
Community Moderation Management & Support Team Leader
Owner of: www.php-fusion.se | www.php-fusion.net | www.php-fusion.us | www.php-fusion.mobi
 
www.php-fusion.se
Richard Ainz
Did not help. I am rolling back to latest working setup.
www.8.php-fusion.net/images/smiley/fusion.png Coordinator of the Development of PHP-Fusion 8 www.8.php-fusion.net/images/smiley/fusion.png
Community Moderation Management & Support Team Leader
Owner of: www.php-fusion.se | www.php-fusion.net | www.php-fusion.us | www.php-fusion.mobi
 
www.php-fusion.se
Richard Ainz
I tried to upload a later version 7.01.02 and still do not work.

I have verified that safe mode is off, I have tried to search for a solution here, but what applies to others does not seem to apply to me. More tips please? I really need this site up and running and considering there are 5 more sites on the same server in need of upgrade I fear I will stumble upon this issue a few more times.

Support please?
www.8.php-fusion.net/images/smiley/fusion.png Coordinator of the Development of PHP-Fusion 8 www.8.php-fusion.net/images/smiley/fusion.png
Community Moderation Management & Support Team Leader
Owner of: www.php-fusion.se | www.php-fusion.net | www.php-fusion.us | www.php-fusion.mobi
 
www.php-fusion.se
Ankur
Try commenting the get_microtime function in maincore.php and then see, does it show you the correct query time on page load ?

Then, try also checking if the function already exists somewhere by using it somewhere in panel or custom php file including maincore.php :
Download source  Code
<?php
if (function_exists('get_microtime')) {
    echo "get_microtime already exists<br />\n";
} else {
    echo "No there is no other get_microtime function.<br />\n";
}
?>



ankurthakur.co.cc/images/freelancer.png
 
http://ankurthakur.in/
Richard Ainz
Hang on Ankur, the errors are different this time:
http://www.pds.ho...ccess.net/

Download source  Code
Notice: Undefined index: locale in /mounted-storage/home107b/sub001/sc63273-IMND/pds.homeworldaccess.net/maincore.php on line 95

Warning: include(locale//global.php) [function.include]: failed to open stream: No such file or directory in /mounted-storage/home107b/sub001/sc63273-IMND/pds.homeworldaccess.net/maincore.php on line 202

Warning: include(locale//global.php) [function.include]: failed to open stream: No such file or directory in /mounted-storage/home107b/sub001/sc63273-IMND/pds.homeworldaccess.net/maincore.php on line 202

Warning: include() [function.include]: Failed opening 'locale//global.php' for inclusion (include_path='.:/usr/share/php5/') in /mounted-storage/home107b/sub001/sc63273-IMND/pds.homeworldaccess.net/maincore.php on line 202

Notice: Undefined index: theme in /mounted-storage/home107b/sub001/sc63273-IMND/pds.homeworldaccess.net/includes/cookie_include.php on line 130

Notice: Undefined index: opening_page in /mounted-storage/home107b/sub001/sc63273-IMND/pds.homeworldaccess.net/index.php on line 20




and look at /news.php.. it loads but with a ****load of errors. :|
www.8.php-fusion.net/images/smiley/fusion.png Coordinator of the Development of PHP-Fusion 8 www.8.php-fusion.net/images/smiley/fusion.png
Community Moderation Management & Support Team Leader
Owner of: www.php-fusion.se | www.php-fusion.net | www.php-fusion.us | www.php-fusion.mobi
 
www.php-fusion.se
Richard Ainz
I get the feeling I am missing something. The paths to global.php have // instead of / so I need to check that.
Where did it get that from anyways...Sad
www.8.php-fusion.net/images/smiley/fusion.png Coordinator of the Development of PHP-Fusion 8 www.8.php-fusion.net/images/smiley/fusion.png
Community Moderation Management & Support Team Leader
Owner of: www.php-fusion.se | www.php-fusion.net | www.php-fusion.us | www.php-fusion.mobi
 
www.php-fusion.se
Ankur
I can't even guess the problem source. But, I think that you have done something wrong for sure while upgrading.

There are lots of threads with similar errors and the problem they said, is that they have gone it wrong for upgrading.

Please Google it ! You may find the solution ! Frown
ankurthakur.co.cc/images/freelancer.png
 
http://ankurthakur.in/
Richard Ainz
Several of those threads has no clear statement that the problem was solved. But I will continue.
www.8.php-fusion.net/images/smiley/fusion.png Coordinator of the Development of PHP-Fusion 8 www.8.php-fusion.net/images/smiley/fusion.png
Community Moderation Management & Support Team Leader
Owner of: www.php-fusion.se | www.php-fusion.net | www.php-fusion.us | www.php-fusion.mobi
 
www.php-fusion.se
muscapaul
And? Did you succeed? Because I am looking at the same issue and I have so far mainly seen lame solutions like 'just roll back'...
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

Sites: Diptera.info (site owner); Online-Keys.net (site owner); Sciomyzidae.info (site co-owner); muscapaul.com (defunct; site owner)
 
Richard Ainz
Yes I did eventually succeed. Mainly by checking locales, even uploading locales in upgrades first, before running the upgrades. Also the 7.02 upgrade worked pretty well.
www.8.php-fusion.net/images/smiley/fusion.png Coordinator of the Development of PHP-Fusion 8 www.8.php-fusion.net/images/smiley/fusion.png
Community Moderation Management & Support Team Leader
Owner of: www.php-fusion.se | www.php-fusion.net | www.php-fusion.us | www.php-fusion.mobi
 
www.php-fusion.se
muscapaul
I *had* the locales uploaded and replaced before I ran the upgrade. I read the readme! I guess I have to reload the old database and run the upgrade again...
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

Sites: Diptera.info (site owner); Online-Keys.net (site owner); Sciomyzidae.info (site co-owner); muscapaul.com (defunct; site owner)
 
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
Problem upgrading to 7.02.01 Upgrading issues 11 14-03-2013 07:15
Upgrading from v7.00.05 to v7.02.06 Installation Issues 4 24-02-2013 20:03
Password update when upgrading from v6 to v7 Upgrading issues 21 23-01-2013 21:07
Upgrading problem !!! Upgrading issues 9 13-11-2012 00:40
Same Buttons Appeared After Upgrading from v7.00.05 to Latest Installation Issues 6 14-10-2012 09:01
Official Home of PHP-Fusion uses cookies. Some may already have been set. Read more about our Cookies here.
Please click the button I Consent Cookies to hide this bar and accept our cookies. If you continue to use the site with no action taken, we'll assume that you consent our cookies anyway.
Cookiebar Panel byVenue