• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Questions for your hoster
PostPosted: Fri Aug 24, 2007 3:58 am 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Tue Oct 19, 2004 6:44 pm
Posts: 5951
Location: Fernie British Columbia, Canada
I've compiled (what I think is) a reasonable summary of some of the major (though simple to solve) problems we've encountered here over the last while, and summarized them into a bunch of questions I think that every CMS user should know and/or ask their hoster about before installing CMS on a new host.

Please feel free to add more, and to comment.

1) HOW DO I VIEW THE HTTP DAEMON ERROR LOGS FOR MY SITE?
[modified]
Why?
If you're running a dynamic application, like a content management system (any content management system) it means that you are running an 'application', not just a static set of .html and .css files.  Statements are evaluated, files may be created, deleted, modified, sql queries executed (including inserts and deletes).  Any of these actions could cause errors to pop up from time to time.  You really MUST be able to find, read, report, and hopefully understand these errors.  They are around, you just may not know where they are. 

Errors can be caused by your host (too restritive memory requirements, too restrictive permissions, safe mode, mod_rewrite, mod_security), or by the developer (mistakes do creep in, maybe the developer didn't account for the unique circumstances of your host).  Note... finding your httpd error log is probably something we can't help you with.  You may have to contact your hosting provider if you don't know where they are stored already.
[/modified]

the rest are in no particular order:

2)  Can I ssh in to correct any issues?
    ** don't ask what ssh is, if you don't know google it.
[modified]
SSH access if used properly will eliminate the problems of buggy ftp clients.  It can also help with permissions problems because you'll be able to see what the permissions are, and more easily change them (chmod -R).  You can create/edit/delete files easily.... there are lots of reasons why a good hosting provider gives ssh access.
[/modified]

3) How do I edit/create/delete/add new databases
    (can I do it with ssh)

4) Can I override some php.ini settings?
    like:
          memory limit
          the upload limits
          execution time limits
          safe mode
    If so, how?
    ** Again, don't ask what these are.... if you don't know, use google.

    (note: If your hosters answer is no to these questions, and the limits are set too low, you may not be able to use
      CMS Made Simple on this host).

5) Is Mod Security In Use?
    If it is, and there are problems with my chosen application, How do I go about changing things?

6) What are the mail settings for my site?
    * Does php's mail() function work?
    * If not, what settings do I need to use for my site to be able to send messages?
      (CMSMailer can be a help here for possible questions)

_________________
Follow me on twitter
For quality help follow these instructions:
a) Think about the problem for an hour
b) research the problem for an hour
c) spend 1/2 an hour explaining it and providing as much information as you can muster
(too much information is okay, not enough information may get your question ignored).
--
if you can't bother explaining your problem well, why should we bother helping with it.
----------------
Don't make me angry..... you won't like me when I'm angry....


Last edited by calguy1000 on Fri Sep 28, 2007 2:05 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Questions for your hoster
PostPosted: Fri Aug 24, 2007 6:30 am 
Hmm, why is ssh important for the work with CMSms?

IMHO it's "only" a question of security  ::) ...


Top
  
 
 Post subject: Re: Questions for your hoster
PostPosted: Fri Aug 24, 2007 7:01 am 
Offline
Forum Members
Forum Members

Joined: Tue May 01, 2007 2:52 am
Posts: 27
For me, SSH is an important feature. Too bad my current host doesn't allow SSH access. I want to be able to transfer CMSMS installation in compressed format, then uncompressing them manually, that's why SSH is important to me. But at the moment I'm stuck with transferring the files over FTP. :(


Top
 Profile  
 
 Post subject: Re: Questions for your hoster
PostPosted: Fri Aug 24, 2007 7:05 am 
taufikp wrote:
I want to be able to transfer CMSMS installation in compressed format, then uncompressing them manually, that's why SSH is important to me.


It looks like you are a ssh pro :) - maybe you can write a howto about for our users?!


Top
  
 
 Post subject: Re: Questions for your hoster
PostPosted: Fri Aug 24, 2007 8:56 am 
Offline
Support Guru
Support Guru
User avatar

Joined: Mon Jul 04, 2005 5:12 pm
Posts: 4821
Location: Ferrara, Italy
taufikp wrote:
For me, SSH is an important feature. Too bad my current host doesn't allow SSH access. I want to be able to transfer CMSMS installation in compressed format, then uncompressing them manually, that's why SSH is important to me. But at the moment I'm stuck with transferring the files over FTP. :(


It's not important if you can use php system function.
I use a simple php script for backup old version, install new version and copy previous config.php; after manualy (with a php filemanager) delete modules unnecessary.
Very Important is that your file/dir are www owner and not ftp/ssh owner for avoid many problem (p.e. XML modules)

Alby

_________________
CMSMS Support Team
Italian Admin and Moderator

Plugins: Geolocate hostip, Multiple random image, Image rotator (beta), Content Pagination
Modules: ForumMadeSimple (Howto), TranslationManager
Multilingual: MLE is not CMSMS


Last edited by alby on Fri Aug 24, 2007 1:49 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Questions for your hoster
PostPosted: Fri Aug 24, 2007 11:28 am 
Offline
Support Guru
Support Guru

Joined: Mon Jul 24, 2006 3:27 pm
Posts: 3693
Location: Paris
Hello,

Here are some more questions to help choosing a hosting provider :

Do you let your customers make .htaccess files to control these webserver features : auth ? rewrite ? headers ? expires ? (disk)cache ?
Do you provide some PhpMyAdmin or so database administration software ? (view, export/backup, import/restore)

And an advice : choose Windows hosting only if you have good reasons AND you master Windows. Hope this is not going to raise a flamewar ;)

Pierre M.

_________________
-- Pierre, support team member. comodérateur du forum francophone.
Please read "how to submit installation/support requests" before posting. Don't send private messages to ask for support.
Want to contribute to CMSms ? Improve the wiki with your forum account.


Top
 Profile  
 
 Post subject: Re: Questions for your hoster
PostPosted: Fri Aug 24, 2007 11:35 am 
Offline
Support Guru
Support Guru

Joined: Mon Jul 24, 2006 3:27 pm
Posts: 3693
Location: Paris
BTW, yes, SSH is faster and more reliable :
Code:
cd downloadarea
wget http://dev.cmsmadesimple.org/frs/download.php/ABCD/cmsmadesimple-x.y.z.tar.gz
cd ../w3rootdir
mkdir workdir
cd workdir
tar -zxf ../../downloadarea/cmsmadesimple-x.y.z.tar.gz
mv cmsmadesimple-x.y.z cmsms-x.y.z
cd cmsms-x.y.z/
chmod 777 tmp/templates_c/ tmp/cache/ uploads/ uploads/images/
touch config.php; chmod 666 config.php

Then browse /workdir/cmsms-x.y.z
To be tuned according to the hosting.

Pierre M.

_________________
-- Pierre, support team member. comodérateur du forum francophone.
Please read "how to submit installation/support requests" before posting. Don't send private messages to ask for support.
Want to contribute to CMSms ? Improve the wiki with your forum account.


Top
 Profile  
 
 Post subject: Re: Questions for your hoster
PostPosted: Sun Sep 23, 2007 1:11 pm 
Offline
Support Guru
Support Guru

Joined: Mon Jul 24, 2006 3:27 pm
Posts: 3693
Location: Paris
mod_security can work by URL filtering to block blacklisted patterns.
But if your site doesn't use odd funky URLs, there shouldn't be any interference between mod_security and mod_rewrite.

We don't know your provider's policy, we don't know your provider's pattern blacklist, we don't know your provider's mod_security setup. You have to investigate with your provider why its config prevents your site to run on its new host.

If your site worked well with mod_rewrite pretty URLs, it should still work with the same config. Ask your ask to relax its patterns.

Pierre M.

_________________
-- Pierre, support team member. comodérateur du forum francophone.
Please read "how to submit installation/support requests" before posting. Don't send private messages to ask for support.
Want to contribute to CMSms ? Improve the wiki with your forum account.


Top
 Profile  
 
 Post subject: Re: Questions for your hoster
PostPosted: Tue Sep 25, 2007 4:58 pm 
Offline
Support Guru
Support Guru

Joined: Mon Jul 24, 2006 3:27 pm
Posts: 3693
Location: Paris
Pierre M. wrote:
You have to investigate with your provider why its config prevents your site to run on its new host.
(...) Ask your host to relax its [mod_security] patterns.

_________________
-- Pierre, support team member. comodérateur du forum francophone.
Please read "how to submit installation/support requests" before posting. Don't send private messages to ask for support.
Want to contribute to CMSms ? Improve the wiki with your forum account.


Top
 Profile  
 
 Post subject: Re: Questions for your hoster
PostPosted: Wed Dec 12, 2007 3:27 pm 
Offline
Forum Members
Forum Members

Joined: Sat Dec 01, 2007 4:36 pm
Posts: 41
Important!!!:
Ask for PHP5 (and better if it is PHP5 native module, rather than PHP4+PHP5 CGI).
I am experiencing many problems with PHP4 alone..

Choose a hoster providing at least 2 databases (one for production, and another one for testing purpose)

La tartiflette c'est bon pour la santé.


Top
 Profile  
 
 Post subject: Re: Questions for your hoster
PostPosted: Thu Jan 31, 2008 9:53 pm 
Offline
Forum Members
Forum Members

Joined: Wed Jan 02, 2008 5:37 pm
Posts: 73
Location: Mass. USA
I concur, ask for native PHP. Our hoster supplies PHP/CGI (SUEXEC) and this "seems to" be causing CMSMS installation problems.

All my other installations use non-CGI PHP and everything works just fine.

Of course you sacrifice security if the hoster is not running SUEXEC (http://en.wikipedia.org/wiki/Suexec)


Top
 Profile  
 
 Post subject: Re: Questions for your hoster
PostPosted: Sun Apr 27, 2008 5:03 am 
Offline
Beta Tester
Beta Tester
User avatar

Joined: Tue Nov 21, 2006 5:05 pm
Posts: 225
Location: Nashville, USA
What I like about PHP5/CGI is that directory ownership is no longer a problem.  When PHP is native, (served from Apache module) than directories are given ownership of 'nobody' instead of your account's user name. This means you can delete the directory or files that are created via CMSMS unless you have SSH access.
Also with PHP/CGI, you don't have to make directories writeable to install CMSMS. 

But, I also see weird problems with PHP/CGI - default session path is not recognizable by CMSMS, so I have to create one and use a custom php.ini file to assign the session save path.

_________________
--
LinkedIn.com
--
Internal Page 301 Redirect
--
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo


Top
 Profile  
 
 Post subject: Re: Questions for your hoster
PostPosted: Fri Jul 25, 2008 4:14 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Mon Oct 08, 2007 12:56 pm
Posts: 643
Location: São Paulo, Brazil
I may advice signing up on bluehost.com

SSH access, custom PHP ini, unlimitted space and traffic. PHP5 CGI Option, Gzip enabled and a cheap price for a two years contract. I think 6.99 USD/month

Great for a testing server. And for small/medium sites it will do good enought, Live Chat support really works.

I my experience, it´s all I need before moving "really important" projects to a VPS or dedicated server.

_________________
PSD/PNG Images to Valid XHTML/CSS respecting WAI standards and CMSMS integration templates/modules at low rates. PM me.

The Object Tag - XHTML Compliant Flash, Windows Media and Quicktime!

Download the Object Tag
Object Tag 0.2 Howto

SEO - News title on the title of the page

[b]Portuguese Forum Moderator [b]
[b]CMSMS Enthusiast [b]

Latest CMSMS Experiments
Photo Studio WZ
Vento Haragano Steakhouse
Heineken Website
Kinoshita Website


Top
 Profile  
 
 Post subject: Re: Questions for your hoster
PostPosted: Fri Jul 25, 2008 6:31 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Thu Jan 26, 2006 11:46 am
Posts: 700
taufikp wrote:
For me, SSH is an important feature. Too bad my current host doesn't allow SSH access. I want to be able to transfer CMSMS installation in compressed format, then uncompressing them manually, that's why SSH is important to me. But at the moment I'm stuck with transferring the files over FTP. :(


cpanel 11, h-sphere, and some other control panels used by many hosts have a web-based file manager that supports creating and extracting archives on the server from its web interface as well as other common tasks (changing permissions, creating/editing/copying/moving files, etc)..  where a web-based tool like this is available, ssh isn't needed, even for a 'fast' install of a cms.


Pierre M. wrote:
BTW, yes, SSH is faster and more reliable :
Code:
cd downloadarea
wget http://dev.cmsmadesimple.org/frs/download.php/ABCD/cmsmadesimple-x.y.z.tar.gz
cd ../w3rootdir
mkdir workdir
cd workdir
tar -zxf ../../downloadarea/cmsmadesimple-x.y.z.tar.gz
mv cmsmadesimple-x.y.z cmsms-x.y.z
cd cmsms-x.y.z/
chmod 777 tmp/templates_c/ tmp/cache/ uploads/ uploads/images/
touch config.php; chmod 666 config.php

Then browse /workdir/cmsms-x.y.z
To be tuned according to the hosting.


compared to basic ftp only method of install, yes, ssh is faster.. but not necessarily so when compared to using a web-based file manager (like described above) which can be just as efficient...

in pierre's example, the main speed savings is in transferring a distribution archive from server-to-server (wget) and then extracting that archive directly on the server (tar). compared to ftp... well there is no real comparison, because it's that much faster, especially on new installs (small diff patches aren't so bad via ftp).

but using a featured web-based file manager you can do the same thing... or my preference, upload a customized install archive and using that instead (which can also save some time from not having to download modules or plugins to install, not having to re-do tweaks you may apply to all sites you work on, etc..)

my own personal preference is ssh, but a web-based file manager ain't soo bad and can pretty much do anything that someone would do in a shell to install a web app that doesn't 'require' console access to install in the first place.


calguy1000 wrote:
5) Is Mod Security In Use?
    If it is, and there are problems with my chosen application, How do I go about changing things?


the only problem i've actually ever encountered with mod_security is with it catching a suspect keyword in a page's content when trying to save a page.. and that's not very often, and only on a couple sites that happen to use a 'suspect' keyword in content....

Code:
# Quick fix for posting errors when saving pages (goes in cmsms root .htaccess)
# if mod_security catches a keyword in the content upon save
# Uncomment only when when you need to bypass the filters,
# then comment it back out when you are done to reenable them
#<IfModule mod_security.c>
#    SecFilterEngine Off
#    SecFilterScanPOST Off
#</IfModule>


the above is an easy way to temporarily bypass that to allow the page save when it happens... simply uncomment the last four lines (only) when needed..


viebig wrote:
I may advice signing up on bluehost.com

SSH access, custom PHP ini, unlimitted space and traffic. PHP5 CGI Option, Gzip enabled and a cheap price for a two years contract. I think 6.99 USD/month

Great for a testing server. And for small/medium sites it will do good enought, Live Chat support really works.

I my experience, it´s all I need before moving "really important" projects to a VPS or dedicated server.


my two cents on hosts with outrageous plans and prices or 'unlimited' hosting (which does NOT actually exist, regardless of a host's claims or promises. any host that offers 'unlimited' plans, imho, isn't worth a second, or even a first, look)...

entrusting your important web site (or a client's) to a host that has to cram so many big, low-priced accounts on to a single server is downright foolish... there's a reason why hosts like 1and1, godaddy, ipower, etc. suck at serving php/mysql driven sites.. and overcrowded servers are it.

further, hosts with huge plans and too-low prices probably attract more people with intentions on using larger chunks of resources.. or spammers/crooks who don't want bandwidth limits prematurely (i.e. before they actually get 'caught') suspending their account... so those users leave less resources for everybody else (and that's a lot of everybody elses, per server, on hosts like this)... long ago, i've lost count of the hits referred to my hosting sites from search engines with search keywords like 'unlimited hosting instant activation paypal'... those hits typically coming from russia, asia, or certain african countries...

if you, as a developer, choose what turns out to be a poor performing host, then YOU are the one the client will bitch at for their slow-as-snails site, not the host, and their satisfaction and happiness with the job you're doing/have done goes right down the drain... and if they realize just how impatient web site visitors are and how quickly they will click to go somewhere else if a site or page isn't loading fast enough (something around 8 seconds for a page to fully download and render is a figure i've seen referred to more than once).. and how much potential business they may be losing because of the slow site, they'll get mad (at YOU), not just unhappy.

if a client wants to use some cut-rate, overselling host (or is already on one), it is then YOUR job as their developer, consultant, etc. to advise/educate them on what comprises a good, quality host...  besides, if you'll be working on the site later on, don't YOU want it to be on a good, fast host, too?

_________________
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info


Top
 Profile  
 
 Post subject: Re: Questions for your hoster
PostPosted: Fri Jul 25, 2008 4:28 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Mon Oct 08, 2007 12:56 pm
Posts: 643
Location: São Paulo, Brazil
@kermit,

nothing is perfect, but  for a testing server or a small site, bluehost is doing it´s job. It´s a low cost solution.

Nothing is free, and good hosts arent free too. I my case is important to have a low cost alternative that has the features I need, and about unlimited traffic and storage, it´s just a marketing gamble.

I do know if I start to use a huge ammount of traffic and storage, bluehost will take some actions.

But it´s great for a playground, and it´s nor fot my clients , its for me.

I´m currently acessing some web services located in USA, and any hosting company in brazil costs 10 times more and the resources and speed are 10 times less than bluehost.

I´m on third world. Dont judge me.

For clients and projects that do need, speed, reliability and quality, nothing better than a VPS or dedicated server. 

_________________
PSD/PNG Images to Valid XHTML/CSS respecting WAI standards and CMSMS integration templates/modules at low rates. PM me.

The Object Tag - XHTML Compliant Flash, Windows Media and Quicktime!

Download the Object Tag
Object Tag 0.2 Howto

SEO - News title on the title of the page

[b]Portuguese Forum Moderator [b]
[b]CMSMS Enthusiast [b]

Latest CMSMS Experiments
Photo Studio WZ
Vento Haragano Steakhouse
Heineken Website
Kinoshita Website


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Arvixe - A CMSMS Partner