PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Installation & Upgrades (http://www.photopost.com/forum/classifieds-installation-upgrades/)
-   -   Upgrade Error - HELP! (http://www.photopost.com/forum/classifieds-installation-upgrades/139813-upgrade-error-help.html)

Basil April 12th, 2009 08:21 PM

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.

Basil April 12th, 2009 09:25 PM

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

Chuck S April 12th, 2009 09:52 PM

Have you uploaded the new files especially the forums subdirectory?

The functions your missing are all located in your new integration file.

Basil April 12th, 2009 10:04 PM

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.

Basil April 12th, 2009 11:37 PM

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.

Chuck S April 13th, 2009 07:32 AM

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 ;)

Basil April 13th, 2009 09:02 AM

Quote:

Originally Posted by Chuck S (Post 1245412)
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?

Basil April 13th, 2009 09:16 AM

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.

Basil April 13th, 2009 10:06 AM

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.

Chuck S April 13th, 2009 02:00 PM

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?

Basil April 13th, 2009 04:00 PM

I\'m going to try that next.

Chuck S April 13th, 2009 07:07 PM

Not a problem let me know if you need me to look at it.


All times are GMT -5. The time now is 08:06 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97