CMS Made Simple Forums
https://forum.cmsmadesimple.org/

2.2.8 update returns a blank page
https://forum.cmsmadesimple.org/viewtopic.php?f=8&t=78899
Page 1 of 1

Author:  urheat [ Sun Aug 12, 2018 6:50 pm ]
Post subject:  2.2.8 update returns a blank page

Tried following:

1. Renamed htaccess

2. README-PHAR.TXT loads ok

3. debug=1 gives

\$1:
<__html>
 <head>
  <title>File Not Found<title>
 </head>
 </__body>
  <h1>404 - File Not Found</h1>
 <__body>
</__html>


Web Server error log:
\$1:
[Sun Aug 12 21:43:05.551932 2018] [lsapi:error] [pid 17169] [client 84.249.48.70:38508] [host hippalot.fi] Backend fatal error: PHP Fatal error:  Uncaught Error: Class 'Phar' not found in /tmp/pharextract/cmsms-2.2.8-install.php/app/class.cms_install.php:300\nStack trace:\n#0 /tmp/pharextract/cmsms-2.2.8-install.php/app/class.cms_install.php(304): cms_autoinstaller\\cms_install->get_phar()\n#1 /tmp/pharextract/cmsms-2.2.8-install.php/app/class.cms_install.php(84): cms_autoinstaller\\cms_install->in_phar()\n#2 /tmp/pharextract/cmsms-2.2.8-install.php/index.php(30): cms_autoinstaller\\cms_install->__construct()\n#3 /biz/1/hippafi/html/cmsms-2.2.8-install.php(89): include('/tmp/pharextrac...')\n#4 {main}\n  thrown in /tmp/pharextract/cmsms-2.2.8-install.php/app/class.cms_install.php on line 300\n


System Information

\$1:

----------------------------------------------

Cms Version: 2.2.7

Installed Modules:

    AdminSearch: 1.0.4
    CGExtensions: 1.60
    CGSharedContent: 1.0.1
    CGSimpleSmarty: 2.1.8
    CGSmartImage: 1.22.2
    CMSContentManager: 1.1.6
    CMSMailer: 6.2.14
    Captcha: 0.5.5
    Cataloger: 1.0.2
    CmsJobManager: 0.1.2
    DesignManager: 1.1.4
    FileManager: 1.6.6
    FilePicker: 1.0.2
    FormBuilder: 0.8.1.6
    JQueryTools: 1.4.0.3
    MenuManager: 1.50.3
    MicroTiny: 2.2.2
    ModuleManager: 2.1.3
    Navigator: 1.0.8
    News: 2.51.3
    Search: 1.51.4
    Showtime2: 3.5.4
    ThemeManager: 1.1.8


Config Information:

    php_memory_limit:
    max_upload_size: 64000000
    url_rewriting: mod_rewrite
    page_extension:
    query_var: page
    auto_alias_content: true
    locale:
    set_names: true
    timezone: Europe/Helsinki
    permissive_smarty: false


Php Information:

    phpversion: 7.2.8
    md5_function: On (True)
    json_function: On (True)
    gd_version: 2
    tempnam_function: On (True)
    magic_quotes_runtime: Off (False)
    E_ALL: 6133
    E_STRICT: 0
    E_DEPRECATED: 0
    test_file_timedifference: No time difference found
    test_db_timedifference: No time difference found
    create_dir_and_file: 1
    memory_limit: 768M
    max_execution_time: 90
    register_globals: Off (False)
    output_buffering: 4096
    disable_functions:
    open_basedir:
    test_remote_url: Success
    file_uploads: On (True)
    post_max_size: 80M
    upload_max_filesize: 64M
    session_save_path: /opt/alt/php72/var/lib/php/session (1777)
    session_use_cookies: On (True)
    xml_function: On (True)
    xmlreader_class: On (True)
    check_ini_set: On (True)
    curl: On


Performance Information:

    allow_browser_cache: Off (False)
    browser_cache_expiry: 60
    php_opcache: On (True)
    smarty_cache: Off (False)
    smarty_compilecheck: Off (False)
    auto_clear_cache_age: Off (False)

Server Information:

    Server Software: Apache/2.4.26 (Red Hat)
    Server Api: litespeed
    Server Os: Linux 3.10.0-714.10.2.lve1.5.17.1.el6h.x86_64 On x86_64
    Server Db Type: MySQL (mysqli)
    Server Db Version: 5.6.37
    Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable


Permission Information:

    tmp: /biz/1/hippafi/html/tmp (0755)
    tmp_cache: /biz/1/hippafi/html/tmp/cache (0755)
    templates_c: /biz/1/hippafi/html/tmp/templates_c (0755)
    modules: /biz/1/hippafi/html/modules (0755)
    uploads: /biz/1/hippafi/html/uploads (0755)
    File Creation Mask (umask): /biz/1/hippafi/html/tmp/cache (0755)
    config_file: 0644

----------------------------------------------




So I'm stuck now :) What could I try next?

Author:  DIGI3 [ Sun Aug 12, 2018 9:16 pm ]
Post subject:  Re: 2.2.8 update returns a blank page

Looks like maybe the phar extension isn't enabled. Have you tried the expanded installer?

Author:  urheat [ Mon Aug 13, 2018 3:33 pm ]
Post subject:  Re: 2.2.8 update returns a blank page

Thanks Digi! That was the case. After the last CMSMS upgrade I upgraded the PHP and the PHAR wasn't installed on the new version of the PHP.

But now I got another problem. I start the installation process but the ...fi/cmsms-2.2.8-install.php returns the following:

\$1:
Fatal Error

Invalid config value for dest - not a directory, or not writable


Here is the System Info:

\$1:

----------------------------------------------

Cms Version: 2.2.7

Installed Modules:

    AdminSearch: 1.0.4
    CGExtensions: 1.60
    CGSharedContent: 1.0.1
    CGSmartImage: 1.22.2
    CMSContentManager: 1.1.6
    CMSMailer: 6.2.14
    Captcha: 0.5.5
    CmsJobManager: 0.1.2
    DesignManager: 1.1.4
    FileManager: 1.6.6
    FilePicker: 1.0.2
    FormBuilder: 0.8.1.6
    Gallery: 2.3.2
    MenuManager: 1.50.3
    MicroTiny: 2.2.2
    ModuleManager: 2.1.3
    Navigator: 1.0.8
    News: 2.51.3
    Search: 1.51.4
    Showtime2: 3.5.4
    ThemeManager: 1.1.8


Config Information:

    php_memory_limit:
    max_upload_size: 64000000
    url_rewriting: mod_rewrite
    page_extension:
    query_var: page
    auto_alias_content: true
    locale:
    set_names: true
    timezone: Europe/Helsinki
    permissive_smarty: false


Php Information:

    phpversion: 7.2.8
    md5_function: On (True)
    json_function: On (True)
    gd_version: 2
    tempnam_function: On (True)
    magic_quotes_runtime: Off (False)
    E_ALL: 6133
    E_STRICT: 0
    E_DEPRECATED: 0
    test_file_timedifference: No time difference found
    test_db_timedifference: No time difference found
    create_dir_and_file: 1
    memory_limit: 768M
    max_execution_time: 90
    register_globals: Off (False)
    output_buffering: 4096
    disable_functions:
    open_basedir:
    test_remote_url: Success
    file_uploads: On (True)
    post_max_size: 80M
    upload_max_filesize: 64M
    session_save_path: /opt/alt/php72/var/lib/php/session (1777)
    session_use_cookies: On (True)
    xml_function: On (True)
    xmlreader_class: On (True)
    check_ini_set: On (True)
    curl: On


Performance Information:

    allow_browser_cache: Off (False)
    browser_cache_expiry: 60
    php_opcache: On (True)
    smarty_cache: Off (False)
    smarty_compilecheck: Off (False)
    auto_clear_cache_age: Off (False)

Server Information:

    Server Software: Apache/2.4.26 (Red Hat)
    Server Api: litespeed
    Server Os: Linux 3.10.0-714.10.2.lve1.5.17.1.el6h.x86_64 On x86_64
    Server Db Type: MySQL (mysqli)
    Server Db Version: 5.6.37
    Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable


Permission Information:

    tmp: /biz/1/kettufi/html/tmp (0755)
    tmp_cache: /biz/1/kettufi/html/tmp/cache (0755)
    templates_c: /biz/1/kettufi/html/tmp/templates_c (0755)
    modules: /biz/1/kettufi/html/modules (0755)
    uploads: /biz/1/kettufi/html/uploads (0755)
    File Creation Mask (umask): /biz/1/kettufi/html/tmp/cache (0755)
    config_file: 0644

----------------------------------------------

Author:  Dr.CSS [ Mon Aug 13, 2018 4:56 pm ]
Post subject:  Re: 2.2.8 update returns a blank page

Make sure your config.php file is writeable....

Author:  velden [ Mon Aug 13, 2018 5:00 pm ]
Post subject:  Re: 2.2.8 update returns a blank page

Note that even the expanded installer requires phar to be enabled on the system.

Author:  DIGI3 [ Mon Aug 13, 2018 10:22 pm ]
Post subject:  Re: 2.2.8 update returns a blank page

Try disabling opcache.

Author:  calguy1000 [ Mon Aug 13, 2018 11:36 pm ]
Post subject:  Re: 2.2.8 update returns a blank page

\$1:
Invalid config value for dest - not a directory, or not writable


That message is relatively obvious... the system cannot write files into the directory where the installer is. It's been answered before as well.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/