You are not logged in.
Pages: 1
Excellent, thank you.
EDIT: Worked like a charm. Thanks very much.
Do you have a /custom/inc/bigtree/ folder? If so there might be a cms.php file in that folder that's overriding the main BigTreeCMS class.
That is indeed exactly the case, thank you for pointing me in the right direction. It looks like there are only a handful of overrides with a few minor additions to the code:
BigTreePaymentGateway
BigTreeCMS
BigTreeModule
- The changes to the payment gateway are no longer necessary as we are only keeping this site around for archival purposes and the payment gateway can be disabled.
- The only change to BigTreeCMS is the urlify() function now removes periods:
$title = strtolower(preg_replace('/\s/', '-',preg_replace('/[^a-zA-Z0-9\s\-\_]+/', '',trim($title))));
is now
$title = strtolower(preg_replace('/\s/', '-',preg_replace('/[^a-zA-Z0-9\s\-\_\.]+/', '',trim($title))));
I'm not sure why that was added but I think it's safe to drop it.
- The BigTreeModule override might be a bit trickier - it looks like the previous dev added a relationship function for a custom module:
getManyToMany($parent, $relation, $sort ='joinTable')
Should I just be able to copy modules.php from v4.2 to the custom/inc/bigtree folder and drop that function in?
Hi Tim,
Sorry for the long delay in following up here - the old webmaster apparently thought it too much trouble to pursue this further. I took over a few months ago and would like to continue the upgrade as we are phasing out all PHP5.x applications.
In /templates/config.php, the custom base classes are set to false, yet we have a custom folder with the following folders:
admin
inc
PHPMailer
vendor
I have grepped for
BIGTREE_CUSTOM_BASE_CLASS
and
BIGTREE_CUSTOM_ADMIN_CLASS
and can't find any other declarations of those constants, so I am not sure if the base class is actually being overridden. What I should check next?
Thanks,
Scott
Is there a reason the BigTreeCMSBase class can't be found in bootstrap.php? Thats the error I'm getting when I try to follow the steps listed in your upgrade manual.
Fatal error: Class 'BigTreeCMSBase' not found in line 65.
Thanks tim that makes sense, I have seen your post of upgrading from 4.0 to 4.1, is the steps for upgrading directly from 4.0 to 4.2 the same?
We are currently using BigTreeCMS 4.0.7 and would like to upgrade to the current version without losing our content. Could anyone help us out by explaining the steps to do this? Also if anyone knows, what version(s) of PHP is BigTreeCMS 4.0.7 compatible with? The reason I ask is because our server is using PHP 7 and I wanted to know could our current version of 4.0.7 run on that?
Pages: 1