 | |  | | | Classifieds Installation & Upgrades If you're having install or upgrade problems, post here. |
April 12th, 2009, 08:21 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: May 2005 Location: New Mexico
Posts: 102
| Upgrade Error - HELP!
Ok, I just bought a new license for 3.1. I am currently running 2.6 and wanted to upgrade. When I run the Upgrade script I get the links to run teh scripts starting with 2.6 >> 3.o. However, when I click the link to execute this first script, I get the following error:
Fatal error: Call to undefined function get_regcode() in /home/bcf/public_html/bcforum/pp-classifieds/pp-inc.php on line 2781
I'm stuck - I thought I followed the upgrade instructions, but something isn't working. By the way I am running integrated with UBB Threads 7.
|
| |
April 12th, 2009, 09:25 PM
|
#2 (permalink)
| | Member Verified Customer
Join Date: May 2005 Location: New Mexico
Posts: 102
|
Ok, I went into the settings table and forced allowreg -= "no" and now I don't get the above error, but instead I get:
Fatal error: Call to undefined function get_forum_style() in /home/bcf/public_html/bcforum/pp-classifieds/pp-inc.php on line 675
|
| |
April 12th, 2009, 09:52 PM
|
#3 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
Have you uploaded the new files especially the forums subdirectory?
The functions your missing are all located in your new integration file.
|
| |
April 12th, 2009, 10:04 PM
|
#4 (permalink)
| | Member Verified Customer
Join Date: May 2005 Location: New Mexico
Posts: 102
|
Well, yes I did upload all the integration files. I can see that the one I need, Threads7.php, does have the required function in it, but for some reason it seems to be getting ignored? Did I miss a step somewhere? What do I need to do to ensure the functions in Thread7.php are recognized? I have tried it with both the original config-inc file and the new file that I edited. I get the same result weither way.
Last edited by Basil; April 12th, 2009 at 10:39 PM.
|
| |
April 12th, 2009, 11:37 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: May 2005 Location: New Mexico
Posts: 102
|
I'm sure your probably ion bed by now (given your on East Coast time), but one additional piece of info. My vbversion in teh settings database is currently "Threads7" which I assume means I need the Threads7.php file - which I do have. But it seems like most of the references in the scripts to Threads are just for "Threads" and not "threads7". Not sure if that means anything but thought I'd mention it just in case it was important.
|
| |
April 13th, 2009, 07:32 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
Your threads7.php file should have two functions get_regcode and get_forum_style. Also the entry in the database better be threads7 not Threads7 |
| |
April 13th, 2009, 09:02 AM
|
#7 (permalink)
| | Member Verified Customer
Join Date: May 2005 Location: New Mexico
Posts: 102
| Quote:
Originally Posted by Chuck S Your threads7.php file should have two functions get_regcode and get_forum_style. Also the entry in the database better be threads7 not Threads7  | Ok, I just checked all that. My file threads7.php is in the forums directory and it does contain both of the functions you describe. Also, in the database, in the settings table, for the vbversion field, it has "threads7" (all lower case and no quotes). Yet, when I run the upgrade script for 2.6 to 3.0 (Since I'm starting with 2.6) I still get:
Fatal error: Call to undefined function get_forum_style() in /home/bcf/public_html/bcforum/pp-classifieds/pp-inc.php on line 675
So for some reason it isn't recognizing those functions in the threads7.php integration file. Anything else I can check?
|
| |
April 13th, 2009, 09:16 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: May 2005 Location: New Mexico
Posts: 102
|
One additional piece of info for what its worth. Using my code editor, I did a search for occurrences of "threads7" in the version 2.6 files and in the version 3.1 files. One difference I found was that the file adm-inc.php in the version 2.6 file has a call to "threads7" like this: Code: Content visible to verified customers only.
But this reference is not there in the new (3.1) adm-inc.php file. No idea if this is relevant to my problem, but I thought I should mention it.
|
| |
April 13th, 2009, 10:06 AM
|
#9 (permalink)
| | Member Verified Customer
Join Date: May 2005 Location: New Mexico
Posts: 102
|
I hate to be a pain, but one other thing that is confusing to me. In the file UPGRADE.TXT it says this:
"Ensure you upload all the directories (except uploads, which is just a directory to
seperate upgrade scripts, but which files need to be uploaded to the main PhotoPost directory."
It says the directory "uploads" contains upgrade scripts and those files need to be uploaded to t he main Photopost directory" However, in my version 3.1 "uploads" directory, there were NO scripts. What am I missing?
Appreciate the help by the way.
|
| |
April 13th, 2009, 02:00 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
I dont know I would have to see your site and files personally.
It definately is not seeing your file maybe its corrupt. Have you tried redownloading the build and reupload the files?
|
| |
April 13th, 2009, 04:00 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: May 2005 Location: New Mexico
Posts: 102
|
I'm going to try that next.
|
| |
April 13th, 2009, 07:07 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
Not a problem let me know if you need me to look at it.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 03:22 AM. | |