Page 1 of 1

[Solved] Fresh install 1.7.1 - several issues.

Posted: Sat Jun 19, 2010 10:35 am
by trainer
Hi. I've installed CMS Made Simple 1.7.1. I'm using PHP 5.3.2-1ubuntu4, and MySQL 4.1.22.
This is all working with Apache/2.2.14 (Ubuntu)  running on Linux 2.6.32-19-generic-pae On i686


Last week, I installed a 1.6 version (as I didn't have PHP5) and was really happy to finally find a CMS I can work with.
I have been looking for years! (Literally.)

Anyhow, I got my host to change servers (for PHP5) and did a completely fresh install of 1.7.1

There are now a number of issues.

1/ The site is really painfully slow.

2/ When I click on Layout/Templates - all I see is "Current Templates" and none are listed.

3/ The same for stylesheets (none listed)

4/ I can't get rid of this warning "You have 1 unhandled notification" after I have entered the values and submitted the form.
* Core Your mail settings have not been configured. This could interfere with the ability of your website to send email messages. You should go to Extensions >> CMSMailer and configure the mail settings with the information provided by your host.

That's probably enough to be going on with.
I really don't have much of a clue, but I'm hoping it's something like a permissions error. Although I have read and re-read the installation text and believe I have done things properly.

I  would really like to use this outstanding CMS, I wish I had found it years ago.

So, any help would be greatly appreciated.

Many thanks.



Additional edit
I noticed in Extensions/Modules that CMS mailer was not installed.
I clicked on 'install' -- got the message "CMSMailer module has been successfully installed"
But the status still says "Not Installed".

However, I got an email...
This message is intended only to verify the validity of the settings in the
CMSMailer module.
If you received it, everything is working fine.

Another edit
Files were uploaded in binary and the checksum matched 100%

Re: Fresh install 1.7.1 - several issues.

Posted: Sun Jun 20, 2010 4:26 am
by Dr.CSS
If you can get to it the system info pages info would help a lot, and not the one you click to form there to paste, as it doesn't have some very relevant info, and please don't put it in code style...

Re: Fresh install 1.7.1 - several issues.

Posted: Sun Jun 20, 2010 1:46 pm
by trainer
I can't access it at the moment, but (in the meantime) my host is asking...

Is there anything that could be making a remote call or connection?

Thanks.

Re: Fresh install 1.7.1 - several issues.

Posted: Sun Jun 20, 2010 2:41 pm
by trainer
Hope this is what you mean. (No formatting)
If there is no answer to some of the questions, it's because it's what I am seeing in my browser.

Thanks again.




CMS Version  1.7.1



Installed Modules





Config Information

 
php_memory_limit:


 
process_whole_template: false

 
max_upload_size: 2000000

 
default_upload_permission: 664

 
assume_mod_rewrite: false

 
page_extension:

 
internal_pretty_urls: false

 
use_hierarchy:  true

   
debug:  false

 
output_compression: false

 
root_url: http://www.example.com

 
root_path:    /nnn1/example.com/ www (0755)
 

previews_path: /nnn1/example.com/ www/tmp/cache (0777)

 
uploads_path: /nnn1/example.com/www/uploads (0777)

 
uploads_url: http://www.example.com/uploads

 
image_uploads_path:/nnn1/example.com/ www/uploads/images (0777)

 
image_uploads_url: http://www.example.com/uploads/images


 
use_smarty_php_tags: false

 
locale:

 
default_encoding: utf-8

 
admin_encoding: utf-8





PHP Information

 

Current PHP Version (phpversion): 5.3.2-1ubuntu4

 
md5 function (md5_function): On (True)

 
GD version (gd_version): 2


tempnam function (tempnam_function): On (True)


Magic quotes in runtime (magic_quotes_runtime): Off (False)

 
Is E_STRICT disabled in error_reporting (E_STRICT):

 
Is E_DEPRECATED disabled in error_reporting (E_DEPRECATED):


PHP Effective Memory Limit (memory_limit): 128M

 
Maximum Execution Time (max_execution_time):  30

 
PHP Safe Mode (safe_mode): Off (False)

 
Session Save Path (session_save_path): /tmp (1777)

 
Sessions are allowed to use Cookies (session_use_cookies): On (True)


Checking if the httpd process can create a file inside of a directory it created (create_dir_and_file):


PHP register_globals (register_globals): Off (False)

 
PHP output_buffering (output_buffering): 4096

 
disable_functions in PHP (disable_functions):

 
PHP Open Basedir (open_basedir):

 
Test for remote URL (test_remote_url): fsockopen: Connection ok!
fopen: Connection ok!

 
File uploads (file_uploads): On (True)


Maximum Post Size (post_max_size): 8M

 
Maximum Upload Size (upload_max_filesize): 2M


Basic XML (expat) support (xml_function): On (True)


Test file_get_contents (file_get_contents): On (True)


Test ini_set (check_ini_set): On (True)

 





Server Information

 
Server API (server_api): apache2handler


Server Database (server_db_type): MySQL (mysqli)

 
Server Database Version (server_db_version): 4.1.22

   
Server Software (server_software): Apache/2.2.14 (Ubuntu)


 
Server Operating System (server_os): Linux 2.6.32-19-generic-pae On i686

 


Permission Information

   
tmp: /nnn1/example.com/www/tmp (0777)

 
templates_c:/nnn1/example.com/www/tmp/templates_c (0777)

 
modules:/nnn1/example.com/www/modules (0777)

 
File Creation Mask (umask):/nnn1/example.com/www/tmp/cache (0777)


 

Re: Fresh install 1.7.1 - several issues.

Posted: Sun Jun 20, 2010 6:39 pm
by trainer
Site Admin >> Advanced setup.

I've just changed Check for new CMS versions using this URL to none and problems 2.3.4 above have all gone.

So, it looks like this remote call issue my host was asking about maybe a significant part of my problem.

It's still way too slow though and I'm wondering if there are any other remote calls involved?

Re: Fresh install 1.7.1 - several issues.

Posted: Sun Jun 20, 2010 7:13 pm
by kermit
trainer wrote: It's still way too slow
how slow is "slow".. it is not uncommon for an overburdened shared server to take many seconds to generate a page, while a decent server with plenty of resources to spare can do the same in 0.2-0.5 seconds or less.

Re: Fresh install 1.7.1 - several issues.

Posted: Sun Jun 20, 2010 7:24 pm
by trainer
It's infeasibly slow.

My host says the load is almost at zero as there are only a couple of sites there.

So I'm thinking there maybe more to this remote call business.....?

Re: Fresh install 1.7.1 - several issues.

Posted: Mon Jun 21, 2010 7:28 am
by alby
Your friendly tools are always:
- enable debug in config.php
- look your server logs

Alby

Re: Fresh install 1.7.1 - several issues.

Posted: Mon Jun 21, 2010 9:06 am
by Ted
The only remote calls in a default installation are from the new version check and from Module Manager.  But, that'll only run if you manually go into Module Manager to install something.

Is the database on the same server?  Or on another machine?

Re: Fresh install 1.7.1 - several issues.

Posted: Mon Jun 21, 2010 9:16 am
by trainer
Hi Alby,
Nothing to see in the server logs (as far as I can tell).
I'll take a look at the debug now.

Hi Ted,
It's on a different machine.

Re: Fresh install 1.7.1 - several issues.

Posted: Mon Jun 21, 2010 9:25 am
by trainer
Generated in 15.828696 seconds by CMS Made Simple using 66 SQL queries and 7924692 bytes of memory (peak memory usage was 8784412)

...seems like a long time to me.



Error (0): seems to crop up quite a bit in debug mode.
Is this an error? - or does it mean there is no error?

Re: Fresh install 1.7.1 - several issues.

Posted: Mon Jun 21, 2010 9:56 am
by alby
trainer wrote: Generated in 15.828696 seconds by CMS Made Simple using 66 SQL queries and 7924692 bytes of memory (peak memory usage was 8784412)

...seems like a long time to me.
yes, it's long. Strange that you have 4.1 yet
2 tests:
- try to enable $config['persistent_db_conn'] = true; in config.php
- build a mini php with some queries to your DB and look for time result (maybe you have low resources for net mysql connection, low max_user_connections, low max_connections, ...)

trainer wrote: Error (0): seems to crop up quite a bit in debug mode.
Is this an error? - or does it mean there is no error?
Error (0): no error, error if you have Error (x>0) only

Alby

Re: Fresh install 1.7.1 - several issues.

Posted: Mon Jun 21, 2010 10:12 am
by trainer
Solved!

It appears to have been a hosting issue.
They changed the order that the server worked through domain lookups and now everything is fine.

> Previously - Page Generated in 15.828696 seconds
> Now         - Page Generated in 0.441678 seconds

But thanks to everyone for their input, it is much appreciated.
I really didn't want this great CMS to get away.