PHAR installer just shows home page

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
bbardon
New Member
New Member
Posts: 6
Joined: Sat Feb 25, 2012 7:52 pm

PHAR installer just shows home page

Post by bbardon »

Same as this thread: viewtopic.php?f=3&t=75027&hilit=PHAR but that thread is locked. Upgrading from 1.12.1 to 2.1.5. I've followed the same steps, renamed .htaccess, still same result: I never see the installer page.

Host is GoDaddy (not my choice) Linux shared host, PHP is 5.4.19, phpinfo() gives this about Phar:

Phar EXT version 2.0.1
Phar API version 1.1.1
SVN revision $Id: c5042cc34acebcc0926625b57dff03deebbe6472 $
Phar-based phar archives enabled
Tar-based phar archives enabled
ZIP-based phar archives enabled
gzip compression enabled
bzip2 compression disabled (install pecl/bz2)
Native OpenSSL support enabled

GoDaddy is showing nothing in the logs.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1629
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: PHAR installer just shows home page

Post by DIGI3 »

Possibly an htaccess further up the directory path, they cascade.
You can also try the expanded installer in a subdirectory, see if you get the same issue.
Not getting the answer you need? CMSMS support options
bbardon
New Member
New Member
Posts: 6
Joined: Sat Feb 25, 2012 7:52 pm

Re: PHAR installer just shows home page

Post by bbardon »

Thanks for the reply. That's what I did, once I learned what the expanded download was for. That method worked without error and the site is now upgraded.

Would like to understand what keeps the PHAR from working on GoDaddy, just for my own education. I know, get off GD, but this is for a client who plans to stay with them for now. Without shell access, debugging is difficult.

Thank you for the help!

Bill
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1629
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: PHAR installer just shows home page

Post by DIGI3 »

It could be related to this (from the readme included in the installer):
Q: I Get a redirection loop, what can I do?
A: Some hosting environments (nginx, and litespeed) particularly can cause redirection loops when executing even the simplest of phar archives. This is due to one or more bugs in php. Specifically: https://bugs.php.net/bug.php?id=71465 and https://bugs.php.net/bug.php?id=67587 (though more may exist). For these environments we recommend that you use the expanded installer. Be sure you read it's README file in it's entirety.
Not getting the answer you need? CMSMS support options
Locked

Return to “[locked] Installation, Setup and Upgrade”