Installation differences

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
SimonJ

Installation differences

Post by SimonJ »

Hi,
I have been away a while but have just installed two fresh copies of 1.11.10 “Pinzon” on different servers.
One works perfectly, the other has all sorts of initial problems. Admin section links are opened as links as opposed to just toggling the section to be visible. Clicking apply for changes reloads the page and disables undoing edits. The worst however is WYSIWYG boxes all show the text centred but the resulting page shows it aligned left as expected.

Both were done from cpanel but I checked the versions first. The only thing I notice that is different is one is PHP v5.4 and the other is v5.3. Could this be the difference? Or has something not installed properly on the faulty one?

I am hoping someone can shed some light on this and suggest the best way to change it.

Thanks for a great CMS I am enjoying getting to know it again. :)
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1922
Joined: Mon Jan 29, 2007 4:47 pm

Re: Installation differences

Post by Jo Morg »

There shouldn't be a problem with fresh installs of CMSMS on either versions of PHP, provided that all other requirements are met.
However you need to provide more data from both installs for us to be able to point to potential problems...
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
SimonJ

Re: Installation differences

Post by SimonJ »

Fair point, here is the working site info
----------------------------------------------
Cms Version: 1.11.10
Installed Modules:
CMSMailer: 5.2.2
CMSPrinting: 1.0.5
FileManager: 1.4.4
MenuManager: 1.8.6
MicroTiny: 1.2.6
ModuleManager: 1.5.5
News: 2.14.2
Search: 1.7.11
ThemeManager: 1.1.8
Archiver: 0.2.6
Gallery: 2.0
FormBuilder: 0.7.3
Captcha: 0.4.6
RSS2HTML: 1.2.5.2

Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 32000000
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true

Php Information:
phpversion: 5.4.30
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 2048
E_DEPRECATED: 0
memory_limit: 64M
max_execution_time: 30
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 32M
session_save_path: No check because open basedir active
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)

Server Information:
Server Api: litespeed
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.37
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found

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

And this is the one with the problems
----------------------------------------------
Cms Version: 1.11.10
Installed Modules:
CMSMailer: 5.2.2
CMSPrinting: 1.0.5
FileManager: 1.4.4
MenuManager: 1.8.6
MicroTiny: 1.2.6
ModuleManager: 1.5.5
News: 2.14.2
Search: 1.7.11
ThemeManager: 1.1.8
Gallery: 2.0.1
DownloadManager: 1.5.3

Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 20000000
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true

Php Information:
phpversion: 5.3.28
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 64M
max_execution_time: 30
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 20M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)

Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.37
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found

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

The issues have been there since the initial installation, so new modules will not be to blame.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1922
Joined: Mon Jan 29, 2007 4:47 pm

Re: Installation differences

Post by Jo Morg »

SimonJ wrote:(...) the other has all sorts of initial problems. Admin section links are opened as links as opposed to just toggling the section to be visible. Clicking apply for changes reloads the page and disables undoing edits. The worst however is WYSIWYG boxes all show the text centred but the resulting page shows it aligned left as expected.
SimonJ wrote:The issues have been there since the initial installation, so new modules will not be to blame.
SimonJ wrote:(...) Or has something not installed properly on the faulty one?
Most likely something went south on the faulty one during installation (which you didn't give much details about other than being through CPanel). There is a test for assessing that: the checksum.
I would have stopped on the 1st symptoms of something being wrong, as installing additional modules just adds to the difficulty in debugging issues.
I would also try a new install (by uploading the archive through CPanel's own File Manager) on a different folder on the problematic site/account/server, and see if the problem persists.
Also see here some tips on troubleshooting CMSMS problems.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
SimonJ

Re: Installation differences

Post by SimonJ »

I must admit it took a while for me realise what was causing me problems, because the links in the admin panel do work, just not the section links. It wasn't until I started adding content in the WYSIWYG editor I stopped and thought about it.

I will have to try a manual install next weekend and if that work OK I will transfer the data across.

Many thanks.
SimonJ

Re: Installation differences

Post by SimonJ »

I have just done another cpanel installation and it is the same. Brand new no modules or anything added.

Here is the info

----------------------------------------------
Cms Version: 1.11.10
Installed Modules:
CMSMailer: 5.2.2
CMSPrinting: 1.0.5
FileManager: 1.4.4
MenuManager: 1.8.6
MicroTiny: 1.2.6
ModuleManager: 1.5.5
News: 2.14.2
Search: 1.7.11
ThemeManager: 1.1.8

Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 20000000
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true

Php Information:
phpversion: 5.3.28
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 64M
max_execution_time: 30
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 20M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)

Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.37
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found

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

So I will do a manual installation and see if that works, but it will have to be Saturday now.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1922
Joined: Mon Jan 29, 2007 4:47 pm

Re: Installation differences

Post by Jo Morg »

If you have done the checksum and all comes out fine, the only other possibility I see is some restriction to javascript on the host environment (for instance you do have Open Basedir in effect on the working site which not supported, but may still allow CMSMS to work fine). There can also be permissions issues with folders and files...
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
SimonJ

Re: Installation differences

Post by SimonJ »

I am going to clone the non-working site as a backup and then start by installing over the top. If that doesn't work I will clear the whole thing and do the manual install, hope that fixes it and it is not something with the host.

Thanks for the ideas and assistance. :)
SimonJ

Re: Installation differences

Post by SimonJ »

I have just finished a manual install, and it is the same.

This means there is something different with the host, I will see if I can track it down but I doubt it. Thanks for the help, at least the front end is fine! :)
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Location: Maidenhead, UK
Contact:

Re: Installation differences

Post by paulbaker »

Some of your issues (e.g. the admin links not toggling) remind me of mod_security problems I have had in the past. Might be worth asking your host to disable that.
chandra

Re: Installation differences

Post by chandra »

Maybe you can disable it by yourself if it is allowed by the hoster

http://stackoverflow.com/questions/1292 ... ccess-file
SimonJ

Re: Installation differences

Post by SimonJ »

I have emailed the host, thank you for the information, I would never have found that! :)
Locked

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