Adrian1961 Posted May 5, 2007 Share Posted May 5, 2007 This is just not working how it's supposed to. I'm trying to install STS v4.5.2 on a some-what clean install of osC 2.2ms Steps I took: Uploaded osC on host server, then when I tried to run the install, I got this error message: Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory. No problem I thought, just install the Register Globals v1.5 Patch files. This allowed me to continue with the installation, so far so good. Once the installation was complete, I then installed STS and on returning to the site I was hit by the same error message : Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory. I then installed the Register Globals v1.5 Patch files once again, and was confronted by yet another error message : Fatal error: Call to a member function on a non-object in /home/sec11731/public_html/shop/includes/functions/html_output.php on line 78 This is driving me up the wall, I have tried various other combinations of installing STS but with no joy. :'( Can anyone help? Adrian Quote Link to comment Share on other sites More sharing options...
bkellum Posted May 5, 2007 Share Posted May 5, 2007 This is just not working how it's supposed to.I'm trying to install STS v4.5.2 on a some-what clean install of osC 2.2ms Steps I took: Uploaded osC on host server, then when I tried to run the install, I got this error message: No problem I thought, just install the Register Globals v1.5 Patch files. This allowed me to continue with the installation, so far so good. Once the installation was complete, I then installed STS and on returning to the site I was hit by the same error message : I then installed the Register Globals v1.5 Patch files once again, and was confronted by yet another error message : This is driving me up the wall, I have tried various other combinations of installing STS but with no joy. :'( Can anyone help? Adrian You should post in the contributions thread (see my signature below for STSv4 Forum).Regarding your problem: Bug fix 1 of 2 can be found at: http://www.oscommerce.com/forums/index.php?s=&...t&p=1023674 At the very end of application_top.php, it should look like this: // START STS 4.1 require (DIR_WS_CLASSES.'sts.php'); $sts= new sts(); $sts->start_capture(); // END STS 4.1 // initialize the message stack for output messages require(DIR_WS_CLASSES . 'message_stack.php'); $messageStack = new messageStack; // set which precautions should be checked define('WARN_INSTALL_EXISTENCE', 'true'); define('WARN_CONFIG_WRITEABLE', 'true'); define('WARN_SESSION_DIRECTORY_NOT_WRITEABLE', 'true'); define('WARN_SESSION_AUTO_START', 'true'); define('WARN_DOWNLOAD_DIRECTORY_NOT_READABLE', 'true'); ?> Bug fix 2 of 2 can be found at: http://www.oscommerce.com/forums/index.php?s=&...t&p=1037770 Templates are not being recognized by STS. Open the includes/modules/sts/sts_default.php file. Find: if (strstr($scriptbasename, "popup") || strstr($scriptbasename, "info_shopping_cart")) { return ''; // We don't use template for these scripts $check_file = STS_TEMPLATE_DIR .$scriptbasename . ".html"; if (file_exists($check_file)) return $check_file; } Replace with (you will remove the bracket): if (strstr($scriptbasename, "popup") || strstr($scriptbasename, "info_shopping_cart")) return ''; // We don't use template for these scripts $check_file = STS_TEMPLATE_DIR .$scriptbasename . ".html"; if (file_exists($check_file)) return $check_file; If you leave the brackets "as is", then you will experience templates not being recognized by STS. Both of these bug fixes should have been resolved with version 4.5.2 but you may have over-written them with the Register Globals Patch. Quote Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE Link to comment Share on other sites More sharing options...
MatthewRitchie Posted June 3, 2007 Share Posted June 3, 2007 I have put together a collection of contributions under the stspowe pack contrib which include: register globals sts 4.5.2 htc 2.6.3 and dynamenu please see: http://www.oscommerce.com/community/contributions,4456 easy install with instructions on how i did it so you can add new contribs to it if necessary. i will be extending the package soon. matt Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.