For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
urheat
Forum Members
Posts: 243 Joined: Sat Oct 17, 2009 6:50 am
Location: Finland
Post
by urheat » Sun Aug 12, 2018 6:50 pm
Tried following:
1. Renamed htaccess
2. README-PHAR.TXT loads ok
3. debug=1 gives
Code: Select all
<__html>
<head>
<title>File Not Found<title>
</head>
</__body>
<h1>404 - File Not Found</h1>
<__body>
</__html>
Web Server error log:
Code: Select all
[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
Code: Select all
----------------------------------------------
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?
DIGI3
Dev Team Member
Posts: 1629 Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC
Post
by DIGI3 » Sun Aug 12, 2018 9:16 pm
Looks like maybe the phar extension isn't enabled. Have you tried the expanded installer?
urheat
Forum Members
Posts: 243 Joined: Sat Oct 17, 2009 6:50 am
Location: Finland
Post
by urheat » Mon Aug 13, 2018 3:33 pm
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:
Code: Select all
Fatal Error
Invalid config value for dest - not a directory, or not writable
Here is the System Info:
Code: Select all
----------------------------------------------
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
----------------------------------------------
Dr.CSS
Moderator
Posts: 12709 Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona
Post
by Dr.CSS » Mon Aug 13, 2018 4:56 pm
Make sure your config.php file is writeable....
velden
Dev Team Member
Posts: 3484 Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands
Post
by velden » Mon Aug 13, 2018 5:00 pm
Note that even the expanded installer requires phar to be enabled on the system.
DIGI3
Dev Team Member
Posts: 1629 Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC
Post
by DIGI3 » Mon Aug 13, 2018 10:22 pm
Try disabling opcache.
calguy1000
Support Guru
Posts: 8169 Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada
Post
by calguy1000 » Mon Aug 13, 2018 11:36 pm
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.
Follow me on
twitter
Please post system information from "
Extensions >> System Information "
(there is a bbcode option) on
all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.