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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.1 Release Testing (Moderator: Kurund Jalmi) »
  • Couple of early observations...
Pages: [1]

Author Topic: Couple of early observations...  (Read 1677 times)

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Couple of early observations...
December 01, 2011, 03:24:14 pm
Just did a successful local install of 4.1 alpha1 on Wordpress 3.3RC1 using MAMP.

In contrast to the information given in the documentation at http://wiki.civicrm.org/confluence/display/CRMDOC41/WordPress+Installation+Guide+for+CiviCRM+4.1 I noted that the CiviCRM installer did not ask for details of the Wordpress database (I installed into a separate db).

The installer also requested that the web server be given write access to /wp-content/plugins/files
This directory did not exist - maybe it should be created by the installer? - so I created it and then the installation completed successfully.
Graham Mitchell
http://mc3.coop

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: Couple of early observations...
December 01, 2011, 04:05:17 pm

great, our first successful known WP install

1. fixed the wiki page install instructions

2. Also fixed and moved the instructions about files to a higher spot on the instructions

if u can review and check that would be great

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

smile9381

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: Wordpress
  • MySQL version: ?
  • PHP version: 5
Re: Couple of early observations...
December 10, 2011, 07:36:37 am
I did a Civi Wordpress install last night. I was asked for database details, and had to set the database up manually in cpanel. A couple quirky things:
  • After I activated Civi, a link appeared on the left. When I clicked that, it didn't take me to the installation page, it gave me a bunch of php errors. I had to copy/paste the link out of the installation documents to get the installation page.
  • I had to manually create a "files" directory on the server... surely there is a way to automate that?
  • I looked at the contribution page, and it looks like for the forms, it is trying to use my "Hello World!" post (including comments) and it is stripping out the content from my menu. Would be better if there were a clean page created instead.
  • On the CiviCRM 4.1 WordPress Sandbox, the styling is clearly inherited from the theme and is pretty minimalist (I like that). On my installation, it seems like only the body text is inherited, but it is styled to have a grey box behind and that type of thing. Would love for it to look more like the Sandbox installation.

I have tried a number of permalink structures to try to address the issue of it using a post instead of a page for the event/contribution pages, but that didn't help. I tried to post the URL  of my test installation here so you can see, but it wouldn't let me. :)

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Couple of early observations...
December 10, 2011, 10:33:39 am
Quote
After I activated Civi, a link appeared on the left. When I clicked that, it didn't take me to the installation page, it gave me a bunch of php errors. I had to copy/paste the link out of the installation documents to get the installation page.
Do you have a screenshot or list of errors? I was able to install CiviCRM without any errors. So it would be easier to fix if you can provide error list.

Quote
I had to manually create a "files" directory on the server... surely there is a way to automate that?
files folder needs be created in wp_content folder. So if we need to create it automatically wp_content needs to be writable by web user or 777 permission ( as per my knowledge this may not be always true ) This was the main reason making user to create it manually with writable permission.

Quote
I looked at the contribution page, and it looks like for the forms, it is trying to use my "Hello World!" post (including comments) and it is stripping out the content from my menu. Would be better if there were a clean page created instead.
I am not sure how to go about implementing it as clean page. Can you help with this / how to implement.

Quote
On the CiviCRM 4.1 WordPress Sandbox, the styling is clearly inherited from the theme and is pretty minimalist (I like that). On my installation, it seems like only the body text is inherited, but it is styled to have a grey box behind and that type of thing. Would love for it to look more like the Sandbox installation.
I am not clear on this, can you provide some screenshot etc and give more details.

Quote
I tried to post the URL  of my test installation here so you can see, but it wouldn't let me.
You should be able to directly paste links here.

Thanks for your feedback, you can ping me on #civicrm channel.

Kurund
Found this reply helpful? Support CiviCRM

Flashingcursor

  • I’m new here
  • *
  • Posts: 6
  • Karma: 1
  • CiviCRM version: 4.1 Alpha
  • CMS version: WordPress 3.3 / 3.4 Bleeding
  • MySQL version: Current
  • PHP version: Current
Re: Couple of early observations...
December 21, 2011, 11:03:53 am
Quote from: Kurund Jalmi on December 10, 2011, 10:33:39 am
Quote
After I activated Civi, a link appeared on the left. When I clicked that, it didn't take me to the installation page, it gave me a bunch of php errors. I had to copy/paste the link out of the installation documents to get the installation page.
Do you have a screenshot or list of errors? I was able to install CiviCRM without any errors. So it would be easier to fix if you can provide error list.

Also saw this issue.  In my case it was defining the plugin URL as /home/blah/blah/wp-content/plugins/civicrm/ciricrm/ <-- One too many Civicrms there.  (for a standard WordPress plugin install.)  The standard structure is typically:

/wp-content/plugins/plugin-name
/wp-content/plugins/plugin-name/plugin-name .php <- the primary/initialization
/wp-content/plugins/plugin-name/assets/ <-- assets is whatever you want it to be, ie: lib, includes, etc...  no real standard there yet.

Quote from: Kurund Jalmi on December 10, 2011, 10:33:39 am
Quote
I had to manually create a "files" directory on the server... surely there is a way to automate that?
files folder needs be created in wp_content folder. So if we need to create it automatically wp_content needs to be writable by web user or 777 permission ( as per my knowledge this may not be always true ) This was the main reason making user to create it manually with writable permission.

To better conform with WordPress standards, using the wp-content/uploads folder would be the way to go here.  Every proper installation will have this directory setup and either world-writable (777) or setup using suPHP / fcgi (644).  WP also has some built-in apis to help deal with file uploads and post attachments.

Quote from: Kurund Jalmi on December 10, 2011, 10:33:39 am
Quote
On the CiviCRM 4.1 WordPress Sandbox, the styling is clearly inherited from the theme and is pretty minimalist (I like that). On my installation, it seems like only the body text is inherited, but it is styled to have a grey box behind and that type of thing. Would love for it to look more like the Sandbox installation.
I am not clear on this, can you provide some screenshot etc and give more details.

I'm also seeing some odd issues with this.  Will dig in and see what I can report as time allows.

Quote from: Kurund Jalmi on December 10, 2011, 10:33:39 am
Quote
I tried to post the URL  of my test installation here so you can see, but it wouldn't let me.
You should be able to directly paste links here.

No joy on posting external URLs here.  SMF throws up an error stating external links are not allowed.

I'm primarily a WordPress dev, and a client has asked me to try and implement this solution for them.  I'll be happy to contrib back to the project, or advise on the WordPress specific issues / best practices.  Let me know if I can be of any help.

Cheers,
gr.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Couple of early observations...
December 21, 2011, 11:28:25 am
Quote
Also saw this issue.  In my case it was defining the plugin URL as /home/blah/blah/wp-content/plugins/civicrm/ciricrm/ <-- One too many Civicrms there.  (for a standard WordPress plugin install.)  The standard structure is typically:

/wp-content/plugins/plugin-name
/wp-content/plugins/plugin-name/plugin-name .php <- the primary/initialization
/wp-content/plugins/plugin-name/assets/ <-- assets is whatever you want it to be, ie: lib, includes, etc...  no real standard there yet.

CiviCRM's has particular file structure / layout. Hence for now I think we will stick with current structure.

Quote
To better conform with WordPress standards, using the wp-content/uploads folder would be the way to go here.  Every proper installation will have this directory setup and either world-writable (777) or setup using suPHP / fcgi (644).  WP also has some built-in apis to help deal with file uploads and post attachments.
Files folder contain lot of other stuff than just files that are uploaded. Hence we decided to create files folder.

Quote
I'm also seeing some odd issues with this.  Will dig in and see what I can report as time allows.
We are fairly new to wordPress, so if you can on this it would be very helpful.

Quote
I'm primarily a WordPress dev, and a client has asked me to try and implement this solution for them.  I'll be happy to contrib back to the project, or advise on the WordPress specific issues / best practices.  Let me know if I can be of any help.

We have done fare amount of changes / fixes for next CiviCRM v4.1 release. So it would be great if you can check and let us know where we can improve and implements things more cleanly

Thanks
Kurund
Found this reply helpful? Support CiviCRM

Flashingcursor

  • I’m new here
  • *
  • Posts: 6
  • Karma: 1
  • CiviCRM version: 4.1 Alpha
  • CMS version: WordPress 3.3 / 3.4 Bleeding
  • MySQL version: Current
  • PHP version: Current
Re: Couple of early observations...
December 21, 2011, 11:59:21 am
Quote from: Kurund Jalmi on December 21, 2011, 11:28:25 am
Quote
To better conform with WordPress standards, using the wp-content/uploads folder would be the way to go here.  Every proper installation will have this directory setup and either world-writable (777) or setup using suPHP / fcgi (644).  WP also has some built-in apis to help deal with file uploads and post attachments.
Files folder contain lot of other stuff than just files that are uploaded. Hence we decided to create files folder.

I would still use the /uploads folder, creating a civicrm sub-folder.  Avoiding the manual creation / permission setup.

Quote from: Kurund Jalmi on December 21, 2011, 11:28:25 am
Quote
I'm also seeing some odd issues with this.  Will dig in and see what I can report as time allows.
We are fairly new to wordPress, so if you can on this it would be very helpful.

Just grabbing a copy of Alpha2 to dig into.  If I see anything obvious I'll note it / try to fix it.

Quote from: Kurund Jalmi on December 21, 2011, 11:28:25 am
Quote
I'm primarily a WordPress dev, and a client has asked me to try and implement this solution for them.  I'll be happy to contrib back to the project, or advise on the WordPress specific issues / best practices.  Let me know if I can be of any help.
We have done fare amount of changes / fixes for next CiviCRM v4.1 release. So it would be great if you can check and let us know where we can improve and implements things more cleanly

Assuming Alpha2 is the most current, or do you have a private SVN?  Also, do you have a trac setup, or is sourceforge the place to report issues / patches?

gr.

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: Couple of early observations...
December 21, 2011, 05:02:35 pm

Our svn is public and here: http://svn.civicrm.org/civicrm/branches/v4.1/ (the 4.1 branch)

the issue tracker is here: issues.civicrm.org

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.1 Release Testing (Moderator: Kurund Jalmi) »
  • Couple of early observations...

This forum was archived on 2017-11-26.