Jump to content

Blank pages after Upgrade 5.0 to 5 .2.11


Recommended Posts

Ok I upgraded the 5.2.11 and i have tried all the option on the forum changing cubecart.class.php  editing 

$content = $GLOBALS['smarty']->fetch('templates/content.homepage.php');

to 

'content'    => $home['doc_content']

and also removed 

  $old_sessionid = $this->getId();
  session_regenerate_id(true);
        
  //Use the instance because the global might be gone already
  Database::getInstance()->update('CubeCart_sessions', array('session_id'    => session_id()), array('session_id' => $old_sessionid), false);
        
  // Increase session length on each page load. NOT IE however as we all know it is a wingy PITA
  if($this->_http_user_agent()=='IEX') {
    $this->set_cookie(session_name(),session_id(),time()+$this->_session_timeout);

I have manually installed ioncube and deleted the folder after it created the php.ini file so any help to solve this issue thanks 

Link to comment
Share on other sites

If you still have the /setup/ folder, have your browser go to:

www.mystore.com/setup/

 

The compatibility check will confirm if the ionCube Loader is, in fact, available for use.

 

Because this is an upgrade, make sure that in the file /includes/global.inc.php, the line:

$glob['encoder'] = 'ioncube';

and not equal to anything else. (Although, with CC5211, it does not matter if the string is 'ioncube' or 'zend', or if the statement is not there at all.)

 

Also, please allow PHP to make an error log file:

Link to comment
Share on other sites

The ionCube Loader version 4.6.1 for PHP 5.4 is already installed and encoded files should run without problems.

 

now in setup its still giving me this message 

 

The following errors were detected:
  • Ioncube Loader is required to use CubeCart 5. This can be configured after setup is complete.
Compatibility Check
5.4.28PHP 5.2.3+
5.5.37MySQL 4.1+
InstalledGD Image Library
InstalledcURL
Not InstalledIonCube PHP Loader

 

and still blank page after upgrade thanks

Link to comment
Share on other sites

One more check:

www.store.com/setup/info.php

 

At the bottom of the first section, you will see:

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
    with the ionCube PHP Loader v4.0.7, Copyright (c) 2002-2011, by ionCube Ltd.

The version numbers may differ.

 

Regardless of what the above green response asserts, if the PHP Info output does not include the "with the ionCube..." phrase, you don't have ionCube available.

Link to comment
Share on other sites

this is what showing 

 

This program makes use of the Zend Scripting Language Engine:

Zend Engine v2.4.0, Copyright © 1998-2014 Zend Technologies
    with Zend Guard Loader v3.3, Copyright © 1998-2013, by Zend Technologies

 

what is my next step to fix this issue

Link to comment
Share on other sites

Please review the type of account you have with your hosting provider:

* Shared Server

* Virtual Private Server (VPS)

* Dedicated Server

and

* Managed or Unmanaged

 

If Shared, then it is the hosting company's responsibility to get ionCube installed and activated for your account's PHP. In that green response above, it is implied that ionCube did get installed. The next step is to add certain configuration statements in PHP's php.ini file for your account. The hosting company seems to not have done that part.

 

If VPS or Dedicated, then if they manage it, they can assist. If they do not manage it, then everything is up to you.

Link to comment
Share on other sites

Please review the type of account you have with your hosting provider:

* Shared Server

* Virtual Private Server (VPS)

* Dedicated Server

and

* Managed or Unmanaged

 

If Shared, then it is the hosting company's responsibility to get ionCube installed and activated for your account's PHP. In that green response above, it is implied that ionCube did get installed. The next step is to add certain configuration statements in PHP's php.ini file for your account. The hosting company seems to not have done that part.

 

If VPS or Dedicated, then if they manage it, they can assist. If they do not manage it, then everything is up to you.

yes it is shared server by justhost can you please assist with next step is to add certain configuration statements in PHP's php.ini

Link to comment
Share on other sites


This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader v4.5.3, Copyright (c) 2002-2014, by ionCube Ltd., and
    with Zend Guard Loader v3.3, Copyright (c) 1998-2013, by Zend Technologies

i am still getting blank page what is next to fix this issue thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...