You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
I just tried upgrade to PHP 5.3.4 and the store frontend would not load after upgrading, all I would get is a blank page.
The management interface was working ok.
I tried going thru the installer to see if that would help and it didnt change anything, still got a blank page.
Falling back to PHP 5.2.13 for now. Until I hear more on PHP 5.3 compatibility.
Offline
I believe that php made more changes between php version 5.3.2 and 5.3.3 concerning how constructers functions are handled, I am not sure if this is exactly the problem with php 5.3.4 and ccp but there could be other changes that are causing the problem that I am not aware of.
John
Offline
So right now the answer is unknown, but it doesn't look good for going to PHP 5.3.4. Sad part to upgrade my only options are 5.3.3 or 5.3.4
Offline
This is becoming a big deal. PCI compliance scans show that we must use PHP 5.2.15 or higher. Unfortunately, our hosts only offers PHP 5.3.4 as the only upgrade alternative. I'm going to ask our host to make an alternative version of PHP 5.3 available, but I need to know WHICH version: PHP 5.3.0 or 5.3.1 or 5.3.2? The CCP 7.1.3 documentation does not specify.
Offline
All PHP 5.3.x versions should work with version 7 of our software (see note below). I have just checked the 'Deprecated features in PHP 5.3.x' page here:
http://us3.php.net/manual/en/migration53.deprecated.php
Special note for users cURL loaded in PHP.ini: The only item that seems new with 5.3.4 is the deprecation of the dl() function. This function is used in CORE.php to dynamically load extensions for PHP when they're not found. The only time that this function is called is when cURL is not loaded as a PHP extension by default, so make sure cURL is loaded in your PHP.ini file and the program won't call dl() and should run fine on 5.3.4 and above.
Offline
I have curl compiled with php
php -i|grep -i curl
curl
cURL support => enabled
cURL Information => libcurl/7.21.0 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
--------------
So I may have something else is going wrong,but I don't see any failures or errors in the error.log or the site log
The store pages come up as a blank screen, but I can get into the admin section fine.
Is there a way to trap whats going wrong?
Offline
What skin are you using?
CCP recently made changes to the skinfunc class that can cause older skins to break with a blank page on the frontend only with no errors logged.
If your active skin.php file calls skinfunc->namespace(function) instead of skinfunc->xnamespace(function) and you are at CCP 7.1.3 then this may be your problem.
Offline
I am at 7.1.4, and using a custom skin, but based off of the default skin. but all of my skins use skinfunc->namespace(function) . I've customized the skin but I also compare it to the default skin and the function calls are the same.
Also updated the skin.php and skinfunc.php to use xnamespace, using PHP 5.2, but all I got was a blank screen, with no error.
Last edited by Belaird (02-12-2011 14:05:48)
Offline
Did you get this sorted belaird, as I got same issue now and changed them to xnamespace but still getting blank screen.... its' odd as other ccp7 site unaffected and both same updates etc?
When I changed to xnamespace got this error instead of blank page: Fatal error: Call to undefined method CORE_SkinFunc::xnamespace() in /home/eurospec/public_html/shop/skins/zipskin_ccp7008/skin.php on line 38
Last edited by mixer25 (12-17-2011 16:58:06)
Offline
I did, but I have to go back and figure out what i did to answer you.
Offline
Belaird wrote:
I did, but I have to go back and figure out what i did to answer you.
Ok a reply would be great
MANY THANKS!!!
Offline
Anyone know the answer to this? my Server is dropping 5.2 and I have a version 7.15 with a zipskin and its almost certainly that which is causing 5.3 not to work and just bring up a blank page.
Offline
dh783 wrote:
Version 7 had an update for php 5.3 so go thru that update which will have the changes to get you skin working.
John
I agree, but on ones that used the ZipSkin it certainly doesn't work, so something must prevent it. The guy above found a way round it, I have not.
Offline
From the origional update instructions for ccp7
For PHP 5.3 compatibility, all users are encouraged to update any skins they use for the FrontEnd of their site which are based on the Kryptronic Default skin or ZipSkins. Replace calls to '$skinfunc->namespace()' in their skin.php files with '$skinfunc->xnamespace()'. Change the name of the 'namespace' function in the skinfunc.php file to 'xnamespace'. Users with third party skins, or ZipSkins, may find '$skinfunc->namespace()' in other skin PHP files too.
John
Offline