Page 1 of 1

Fatal Error after upgrade

PostPosted: Sat Dec 08, 2007 2:16 pm
Author: Taegost
Your phpBB Version: 2.0.22
phpBB Type: Integramod 141
MODs: No
Your knowledge: Beginner
Board URL: http://www.unholyrapture.net/forum

PHP Version:
MySQL Version: 4.0


What was done before the problem appeared?
Unzipped 1.4.1 package to server
Ran upgrade_to_141 package afterwords as per instructions



What was done to try to solve the problem?
Cried



De.scription and Message

After I installed the 1.4.1 files, I received error:
Fatal error: Cannot redeclare pcp_output_value_list() (previously declared in /homepages/11/d146116760/htdocs/forum/profilcp/def/def_userfuncs_custom.php:42) in /homepages/11/d146116760/htdocs/forum/profilcp/def/def_userfuncs_custom - Copy.php on line 42

I tried it out before I ran the update (just to see what would happen) and got this error, after running the update nothing changed.
I am a complete n00b to PHP, I don't know the first thing about it and I find it very confusing.
Right before I upgraded it, my forums all of a sudden lost all their formatting (every page) it had just a white background with black lettering, it didn't resize itself to my screen like it normally does, and it stripped all color from everything.
That's when I decided to upgrade, I couldn't get my templates to modify at all and I had been procrastinating on upgrading for the longest time.
About a week before I upgraded from 1.4.0 to 1.4.1 I had attempted to upgrade from PHPBB 2.0.19 to 2.0.22 which it said it did fine, but it never incremented the version variable when I did
<img>

Re: Fatal Error after upgrade

PostPosted: Sat Dec 08, 2007 2:41 pm
Author: Helter
did you backup your files first? if so, upload your original includes/def_*.php files overwriting the new 141 ones.

The def_* files are simply cache files. the 140 and 141 def_* files are the same, but once used, hold info from your database.

also be sure to chmod them to 777 so they can be written to

Re: Fatal Error after upgrade

PostPosted: Sat Dec 08, 2007 3:15 pm
Author: Taegost
Thank you for the input, it's appreciated
Unfortunately, that did not work. I did re-upload the older files (I backed up EVERYTHING, including images and downloads) just as you said, made sure they were set to 777 (they were not), but I still have the same error <img>

Re: Fatal Error after upgrade

PostPosted: Sat Dec 08, 2007 3:59 pm
Author: Helter
i made a mistake. your problem is in pcp.
can you post your file.. root/profilcp/def/def_userfuncs_custom.php

also did you check your chmods for root/profilcp/def = 777 and all the def_* files inside should be 666

also... have you added any mods that have modifications to these files? if so, you will have to re-add the mods to your new 141 files

[SOLVED] Re: Fatal Error after upgrade

PostPosted: Sat Dec 08, 2007 11:22 pm
Author: Taegost
Figured it out... The problem was that I modified a couple files to add Xbox Gamertags to the board, and when I did I made a copy of the files I modified... After I ran the upgrade, the board kept trying to compile (may not be the right term, but that's how it appears to me) the backup copy of the file as well, and apparently it's not compatible with 1.4.1...
So I deleted the backup copy off the server, and hte board works perfectly fine now!
I thank you very much for your help and quick responses, ya'll do a great job here and I love the software and hte community!

Re: Fatal Error after upgrade

PostPosted: Sat Dec 08, 2007 11:52 pm
Author: Helter
glad it worked out for you.