Kryptronic Software Support Forum

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.

#1 01-23-2011 09:31:56

Belaird
Member
From: Reading, PA
Registered: 06-29-2007
Posts: 66

Php 5.3

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.


Natural Horse Magazine
wwwnaturalhorse.com

Offline

 

#2 01-23-2011 10:00:27

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Php 5.3

What version of ccp are you running?

John

Offline

 

#3 01-23-2011 14:48:13

Belaird
Member
From: Reading, PA
Registered: 06-29-2007
Posts: 66

Re: Php 5.3

Latest version  CCP7  7.1.3


Natural Horse Magazine
wwwnaturalhorse.com

Offline

 

#4 01-23-2011 16:56:56

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Php 5.3

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

 

#5 01-25-2011 23:10:04

Belaird
Member
From: Reading, PA
Registered: 06-29-2007
Posts: 66

Re: Php 5.3

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


Natural Horse Magazine
wwwnaturalhorse.com

Offline

 

#6 02-07-2011 12:13:44

larry
Member
Registered: 07-21-2003
Posts: 437

Re: Php 5.3

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.


Laurie Stephens




Offline

 

#7 02-11-2011 10:54:49

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Php 5.3

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.


Nick Hendler

Offline

 

#8 02-11-2011 23:23:17

Belaird
Member
From: Reading, PA
Registered: 06-29-2007
Posts: 66

Re: Php 5.3

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?


Natural Horse Magazine
wwwnaturalhorse.com

Offline

 

#9 02-12-2011 03:41:30

vbsaltydog
Member
From: Florida
Registered: 05-02-2005
Posts: 947
Website

Re: Php 5.3

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.


Latest CCP 7 XMods Available:


Offline

 

#10 02-12-2011 08:22:39

Belaird
Member
From: Reading, PA
Registered: 06-29-2007
Posts: 66

Re: Php 5.3

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)


Natural Horse Magazine
wwwnaturalhorse.com

Offline

 

#11 12-17-2011 16:55:05

mixer25
Member
From: Ireland
Registered: 04-02-2006
Posts: 601

Re: Php 5.3

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

 

#12 12-17-2011 19:36:21

Belaird
Member
From: Reading, PA
Registered: 06-29-2007
Posts: 66

Re: Php 5.3

I did, but I have to go back and figure out what i did to answer you.


Natural Horse Magazine
wwwnaturalhorse.com

Offline

 

#13 12-18-2011 12:34:59

mixer25
Member
From: Ireland
Registered: 04-02-2006
Posts: 601

Re: Php 5.3

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

 

#14 02-04-2014 12:41:10

mixer25
Member
From: Ireland
Registered: 04-02-2006
Posts: 601

Re: Php 5.3

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

 

#15 02-04-2014 19:44:49

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Php 5.3

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

Offline

 

#16 02-05-2014 05:49:30

mixer25
Member
From: Ireland
Registered: 04-02-2006
Posts: 601

Re: Php 5.3

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

 

#17 02-06-2014 23:47:10

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Php 5.3

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

 

Board footer