Zen Cart Logo
Forums / Upgrading to 2.x.x / Can't run installer: "Problems with Session support"

Can't run installer: "Problems with Session support"

Views: 737

Results 1 to 9 of 9
12 Jan 2025, 8:11 PM
#1
ouxly40 avatar

ouxly40

New Zenner

Join Date:
Aug 2007
Posts:
31
Plugin Contributions:
0

Can't run installer: "Problems with Session support"

I've been running 1.5.8a with no issues. I downloaded and then uploaded all the files for 2.1.0 using FileZilla. Got the database ready for install. Renamed and edited configure files. I started the installer and got "Problems with Session support". I figured something went wrong with the FTP upload so I then used Core FTP and did it again. Same thing!!! PHP is 8.3. Any ideas?
Attachment 20862

13 Jan 2025, 9:38 AM
#2
dysfunctional avatar

dysfunctional

Zen Follower

Join Date:
Apr 2008
Posts:
159
Plugin Contributions:
0

Re: Can't run installer: "Problems with Session support"

Are you trying to upgrade or do a clean install?

Regardless, the server logs would be helpful. The location of those depends on your server config. Which host are you using? Or is this a localhost (XAMPP, MAMPP, etc)?

Cheers

13 Jan 2025, 11:17 AM
#3
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,278
Plugin Contributions:
37

Re: Can't run installer: "Problems with Session support"

ouxly40:

I've been running 1.5.8a with no issues. I downloaded and then uploaded all the files for 2.1.0 using FileZilla. Got the database ready for install. Renamed and edited configure files. I started the installer and got "Problems with Session support". I figured something went wrong with the FTP upload so I then used Core FTP and did it again. Same thing!!! PHP is 8.3. Any ideas?
Attachment 20862

You or your hoster can compare the config/directives in the older version of PHP with the new version. I have seen it many times where it's available in cPanel but left at default config/directives which may have issues with other special configurations on the server.

~Melanie

13 Jan 2025, 11:56 AM
#4
ouxly40 avatar

ouxly40

New Zenner

Join Date:
Aug 2007
Posts:
31
Plugin Contributions:
0

Re: Can't run installer: "Problems with Session support"

I created a sub folder under the domain where my current store is live. There is nothing in the server error logs in the past month or more.
Attachment 20863
Here's the installer log:

Jan 13 2025 4:39 -- checkInitialSession
FAILED
(
    [sessionName] => zenInstallerId
)


---------------
Jan 13 2025 4:39 -- checkIniGet
PASSED
(
    [inigetName] => session.use_trans_sid
    [expectedValue] => 
)


---------------
Jan 13 2025 4:39 -- checkIniGet
PASSED
(
    [inigetName] => session.auto_start
    [expectedValue] => 
)


---------------
Jan 13 2025 4:39 -- checkDBConnection
PASSED

---------------
Jan 13 2025 4:39 -- systemChecker::checkMysqlVersion
Version === UNKNOWN. Aborting version check.

---------------
Jan 13 2025 4:39 -- checkMysqlVersion
PASSED
(
    [mysqlVersion] => 5.7.8
    [mariaDBVersion] => 10.2.7
)


---------------
Jan 13 2025 4:39 -- checkExtension
PASSED
(
    [extension] => intl
)


---------------
Jan 13 2025 4:39 -- checkExtension
PASSED
(
    [extension] => json
)


---------------
Jan 13 2025 4:39 -- checkExtension
PASSED
(
    [extension] => fileinfo
)


---------------
Jan 13 2025 4:39 -- checkExtension
PASSED
(
    [extension] => gd
)


---------------
Jan 13 2025 4:39 -- checkExtension
PASSED
(
    [extension] => zlib
)


---------------
Jan 13 2025 4:39 -- checkExtension
PASSED
(
    [extension] => openssl
)


---------------
Jan 13 2025 4:39 -- checkExtension
PASSED
(
    [extension] => curl
)


---------------
Jan 13 2025 4:39 -- checkFunctionExists
PASSED
(
    [functionName] => curl_init
)


---------------
Jan 13 2025 4:39 -- checkLiveCurl
PASSED
(
    [testUrl] => https://s3.amazonaws.com/zencart-curltest/endpoint
    [testData] => installertest=checking
)


---------------
Jan 13 2025 4:39 -- checkFunctionExists
PASSED
(
    [functionName] => xml_parser_create
)


---------------
Jan 13 2025 4:39 -- checkIniGet
FAILED
(
    [inigetName] => output_buffering
    [expectedValue] => 1
)


---------------
Jan 13 2025 4:39 -- checkHttpsRequest
PASSED
13 Jan 2025, 1:29 PM
#5
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Can't run installer: "Problems with Session support"

The message displayed on the screenshot you initially provided (problems with session support) is the root-cause of the failure, as also indicated in this portion of the log

Jan 13 2025 4:39 -- checkInitialSession FAILED (     [sessionName] => zenInstallerId )

Unfortunately, the zc_install processing is not one of my fortes. We'll need to wait for someone more knowledgeable to chime in.

13 Jan 2025, 3:27 PM
#6
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Can't run installer: "Problems with Session support"

Something that can cause this is a blank line or even blank spaces before the

<?php in your includes/configure.php file. Similarly, if you have a closing ?>

be sure there are no spaces or blanks after it.

13 Jan 2025, 6:36 PM
#7
ouxly40 avatar

ouxly40

New Zenner

Join Date:
Aug 2007
Posts:
31
Plugin Contributions:
0

Re: Can't run installer: "Problems with Session support"

Thanks for the info but that is not the case. No spaces or lines before "<?php" and there is no closing "?>".

15 Jan 2025, 3:35 PM
#8
ouxly40 avatar

ouxly40

New Zenner

Join Date:
Aug 2007
Posts:
31
Plugin Contributions:
0

Re: Can't run installer: "Problems with Session support"

So, I have another server with the same hosting company (HostMonster) on which I have a WordPress site. I uploaded 2.1.0 to a folder on that site and everything worked as it should (after upgrading PHP to 8.3). Can someone suggest what I might check on the server that doesn't work?

15 Jan 2025, 3:36 PM
#9
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,278
Plugin Contributions:
37

Re: Can't run installer: "Problems with Session support"

You or your hoster can compare the config/directives in the older version of PHP with the new version. I have seen it many times where it's available in cPanel but left at default config/directives which may have issues with other special configurations on the server.

~Melanie