if you are referring to the config-int that has already had the variables in my original config file entered in. Originally as noted for an upgrade I did not upload the config files and then when it didn't work; I transferred the site's settings to the new config files and still receive the error.
No I am talking about the forums subdirectory under reviewpost. That error tells me you do not have all the required files uploaded especially your forum integration file. It this is a standalone that file is called reviewpost.php if this is vb3 then its the vb3.php file
PHP Fatal error: Unknown function: get_regcode() in /home/[...]/html/reviewpost/pp-inc.php on line 1695
I've checked the forums files (index.php ppinc ib2 etc) and they are indeed up to date (checked them in an editor remotely). The get_regcode function does exist and the file is up to date. Core files have been uploaded and upgrade has gone as per instructions in the forums.
Addendum: repalcing the new pp-inc.php file with the older revision (3.01) and the page loads. Looks like the current pp-inc.php file has a typo or bug in it somewhere that's preventing the correct forums integration file from loading.
Last edited by Arnie; September 28th, 2005 at 01:19 PM.
This is an upgrade from a previously working version, so the path is correct, the file does exist and the integration type is filled in (it's an upgrade on a working version).
Given that the 3.01 version of pp-inc works yet 3.1 doesn't there must be a change somewhere in the pp-inc code that is prohibiting the correct integration forum code from being included. I see the line that's meant to require it, but I'm guessing that either one of the global settings that makes it up is incorrect or null for some reason. I don't know why.
Has anyone got a working version of 3.1 with IB2 anywhere?
Last edited by Arnie; September 28th, 2005 at 01:36 PM.
I've got the two versions of pp-inc on the server, I've verified that they are indeed the present release, and the older 3.01 release.
Just to highlight this, the older version of pp-inc works just fine (even with the 3.1 codeset), by this I mean it'll display the index page. With the new 3.1 code uploaded, as soon as pp-inc is replaced with the new version it complains that it can't find get_regcode.
I'm pretty certain that for some reason in the 3.1 release of the code I have here it's not reading in the globals properly, and hence not loading the path and the forum integration file anywhere.
Is there a working install of ReviewPost 3.1 and IPB2 anywhere online?
Nah, I was playing wih the code in pp-inc to see if removing some of the changes would help my upgraded files work, and managed to get some of the headers and top of the page generated.
If I replace pp-inc.php with the older version (3.01) I have filed away it will display the index page without the stats like you said. Are you sure you overwrote pp-inc.php? I got exactly what you described when using the 3.01 version of pp-inc with the 3.1 install files.
All I get on your page is "The PhotographyBLOG User Reviews are temporarily offline for maintenance.", so I can't see much.