CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Pre-installation Questions (Moderator: Dave Greenberg) »
  • Website Hosting Question - NetFirms
Pages: [1]

Author Topic: Website Hosting Question - NetFirms  (Read 8642 times)

madamoo

  • Guest
Website Hosting Question - NetFirms
January 03, 2008, 07:28:35 am
Hello - please help a newbie!

I am working on a complete re-work of a charity website and I'm a newbie to PHP.

Our web host is netfirms.com and they offer Joomla - after trying unsuccessfully to add CiviCRM and reading many blogs and all of the great responses on this forum and others I contacted NetFirms and discovered that:

"open_basedir cannot be turned off nor can we set the max_execution_time to 600."

Is there a work-around?
Does any one out there use CiviCRM through NetFirms?? If so, how did you do it? Do I need to switch to Drupal? or am I out of luck considering what has been said above.

Alternatively, is there a way to piece-out components of CiviCRM??

From all that I've read, CiviCRM would be the answer to all our needs so I'm hoping that someone out there has a solution!

Thanks so much!

Denver Dave

  • Ask me questions
  • ****
  • Posts: 471
  • Karma: 9
Re: Website Hosting Question - NetFirms
January 03, 2008, 04:16:07 pm
Hi madamoo and welcome to the forum.   Your post reminds me of many that I have posted.

First let me say, being new to PHP and perhaps website installations that you may have a long road a head of you unless you get help.  Possibilities are hosting companies that offer CiviCRM installed and running for you.  Also there are consultants that can help.  See separate forum sections for help.  People with related charities may be willing to help you.

Of course, I frequently don't take my own advice.  While I do websites for a living with php and mysql, CiviCRM and CiviMail have been the largest and hardest applications that I've tried to tackle.

To address your questions directly.  Other than for CiviCRM, I don't use Drupal for anything else than CiviCRM, so I'm not sure whether Joomla or Drupal would be best for you.  Do you have experience with either?

As of the open_basedir, I thought this was a server security issue for cross site scripting - I'm pretty sure this security feature is used on my shared servers.  So - if you install your own Joomla, this may or may not be an issue for you.  Do you need root access to install Joomla? 

Max execution time.  I don't actually even remember how I installed CiviCRM other than I do remember that it took forever to upload the files and I wondered what the heck I was uploading.  I'm not sure if I did the manual or automated install.  A phpinfo() indicates 30 max execution time for me - I'm not sure what, but I think seconds - this sounds right, I know I've hit issues before with phpmyadmin imports and had to break them up with bigdump.  As for CiviCRM, the only thing that I'm aware of where execution time may be a factor for me is imports where I'm breaking up the spreadsheets for contacts into 500 or so records.

Best luck and be sure to report back as you make progress.


madamoo

  • Guest
Re: Website Hosting Question - NetFirms
January 04, 2008, 05:02:54 am
Hi Denver Dave!
Thanks for your reply...

We have no money for consultants... so it is me, myself and I for this one!! I appreciate your response so much as I try to figure this out!

I did manually FTP the files to the right directory and tried installing it that way but it seems that my server took too long.

I nagged my poor support center at Net Firms again and they responded: 

Quote
"By default the max_execution time is 30 seconds for a PHP script.  The memory limit for your account is 80M which is allotted for your entire account including PHP, MySQL, web, email, etc."

The reason I was asking NetFirms was because of the recommendations in the CiviCRM documentation:

Quote
If the CiviCRM component does not install correctly (for example you get a blank screen instead of the confirmation page), delete the ~/components/com_civicrm and ~/administrator/components/com_civicrm directories manually and then try each of the following before attempting to reinstall:
In your php.ini file or .htaccess file in the joomla/mambo root folder if your server allows it, increase the max_execution_time to 600 and memory limit to more than 32M.
CiviCRM is packaged with all the libraries (PEAR etc) that it uses. However a misconfigured or overly restrictive open_basedir directive on your web server might interfere with CiviCRM's ability to access some required files or directories. To turn open_basedir off, add this to your vhost.conf file: php_admin_value open_basedir none or ask your host to either turn it off or ensure that it is not preventing access to required directories (e.g. if you move configuration files or temp folders outside your web root). The configuration of sub domains might cause related issues: try installing in the main domain root or a sub folder instead.

So I can't increase my max execution time - I'm stuck at 30 seconds... but I've got plenty of memory.

I've checked the access to required directories. All seems fine.

This is the message I get when I try to manually install (when on that rare occassion that I don't just get a blank page)

Quote
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

More information about this error may be found at http://support.netfirms.com/idx.php/0/002

Naturally I went to that page and tried everything that I was able to do myself (.htaccess)... no luck...


The only thing I can think now is that because of the way that NetFirms allows us to have up to 5 free domains they technically are in FIRSTDOMAIN.sslpowered.com/SECONDDOMAIN/ when I FTP... so maybe it is a root directory problem?? Hmmm... shouldn't be as I can install every other component manually just not CiviCRM.

I've never used Drupal - but noticed that most of the CiviForums mention Drupal more often than Joomla... But I'd prefer to stick with Joomla as I can and not have to learn something else at this stage.

I'm going to try installing it in another website I have that has a fresh Joomla install and see if it works there.

Back up and try something new... restore.... try a different way... I'm either patient or stubborn... probably a bit of both!  :o

Thanks again Dave!
« Last Edit: January 04, 2008, 05:11:05 am by madamoo »

madamoo

  • Guest
Re: Website Hosting Question - NetFirms
January 18, 2008, 11:49:50 am
Hello again!

Thought I would provide an update... as I've now hit a different brick wall.

So I decided that I would create a new domain name and try Drupal there and add CiviCRM to there and see if I had better luck...

Installing Drupal was a relative and refreshingly logical process... I then installed CiviCRM... or tried too!!  :-\

I did use the "automatic installation" although it isn't as automatic as I've become spoiled by with Joomla.

I fixed every glitch but one... and now am waiting to see if Netfirms can resolve this issue... (they had a systems wide failure this afternoon so I don't expect an answer today - want to have a near heart-attack? Have all of your sites disappear from all possible access points for 30 minutes... yup... it was not a good day to be a NetFirms customer)

OK - Sorry, I digress...

So here is the last hurdle I seem to have in order to install CiviCRM on a Drupal only site...

Quote
CiviCRM Database Details
Does the server exist   OK (localhost)
Are the access credentials correct   OK
MySQL version at least 4.1   OK (MySQL 5.0.24a-log)
Can I access/create the database   OK (Database 'd60455546' exists)
Can I access/create innodb tables in the database   InnoDB is not enabled in the database

Oh oracles of wisdom in the CiviCRM community... does anyone have a solution to this problem???

Thanks in advance for anything you can offer!!!  ;D

geilhufe

  • I post frequently
  • ***
  • Posts: 293
  • Karma: 33
    • Social Source Software
Re: Website Hosting Question - NetFirms
January 18, 2008, 02:48:39 pm
if you have phpmyadmin access to the DB, you can usually change that setting in the UI. If you have shell access to MySQL, you can change it that way as well.
Drupal and CiviCRM consulting, strategy and configuration
http://www.social-source.com/

batsnafu

  • Guest
Re: Website Hosting Question - NetFirms
January 19, 2008, 04:14:34 pm
Hi madamoo et al  :)

I am totally new at CiviCRM but am plugging away at installing myself.

I am currently working on getting CiviMail and it's dependencies working  :-\

I have learned that many packages must be installed on your hosting server and if you are on shared hosting this will likely involve your host adding packages to the server and/or you updating your own server with the required packages.

So, I'm writing because I now, almost, have a server that supports CiviCRM and I'd be willing to create an account for you to get a development site working....PM if you're interested ?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Website Hosting Question - NetFirms
January 19, 2008, 06:05:57 pm

You need innodb support in your mysql database server to run CiviCRM. We do not support CiviCRM on a non-innodb database

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

CalEvans

  • Guest
Re: Website Hosting Question - NetFirms
January 22, 2008, 03:50:20 pm
Quote from: madamoo on January 03, 2008, 07:28:35 am
Hello - please help a newbie!

I am working on a complete re-work of a charity website and I'm a newbie to PHP.

Our web host is netfirms.com and they offer Joomla - after trying unsuccessfully to add CiviCRM and reading many blogs and all of the great responses on this forum and others I contacted NetFirms and discovered that:

"open_basedir cannot be turned off nor can we set the max_execution_time to 600."


I'm not sure if you ever got this resolved.  In case you didn't, yes, there is a workaround.

1) max_execution_time
This can be overridden in your PHP script or in an .htaccess file in the root directory of your Joomla installation, assuming your host has not prevented you from having an .htaccess file.

In your script (the hard way) you need something like"

Code: [Select]
<?PHP ini_set('max_execution_time',600); ?>
Since you are a self professed noob to PHP, that's probably the hard way.  The easier way would be to modify your .htaccess file.

I've got a Joomla 1.5 install and it doesn't have one so chances are your Joomla install won't have one either.  If it doesn't exist, just create it.  In it put:

Code: [Select]
php_value max_execution_time 600
in it and save it. (upload it if you are not editing it live)

The .htaccess goes in the root dir of your site so usually www or public_html

2) open_basedir
I'm really surprised this is an issue as this is being depricated in PHP 6. I didn't realize people used it anymore. You can't disable it in the .htaccess but you can override the value. (If you have access to your httpd.conf file then you can disable it...I'm guessing you don't)

 I can't give you exact information on how to override this because I don't know what it's set to now but as general advice, it too can be overridden in your .htaccess.

Something like:
Code: [Select]
php_value open_basedir /home/path/to/my/domain.com
Oh and as to your InnoDB problem, you may want to check with your host to see if they have the InnoDB table type installed. If you are running a create script and it is specifying InnoDB tabletype and throwing errors, my guess is they don't.

HTH,

=C=

« Last Edit: January 22, 2008, 03:51:59 pm by CalEvans »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Pre-installation Questions (Moderator: Dave Greenberg) »
  • Website Hosting Question - NetFirms

This forum was archived on 2017-11-26.