Author Topic: file exceeds maximum allowed size for uploads  (Read 4893 times)

Offline pennwhite

  • I’m new here
  • *
  • Posts: 29
  • Karma: 0
  • CiviCRM version: 4.0.8
  • CMS version: Drupal 7.12
  • MySQL version: 5.5
  • PHP version: 5.3
file exceeds maximum allowed size for uploads
« on: January 12, 2012, 10:55:24 am »
HI all.

I am attempting install civicrm 4.0.8 as a new drupal module. I am using the instuctions found [here][/http://wiki.civicrm.org/confluence/display/CRMDOC40/Drupal+Installation+Guide+for+CiviCRM+4.0] i am using wamp2.0 and drupal 7.8
i kept getting the problems downloading the module from sorceforge that were described in the inructions above so i downloading civicrm4.0.8 to my computer and got this error message:

"The file civicrm-4.0.8-drupal.tar.gz could not be saved,it exceeds 2 MB,the maxium allowed size for uploads."

Any help appreciated,
Penn White
pennwhite_at_hotmail_dot_com

Offline Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4123
  • Karma: 155
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly Drupal
Re: file exceeds maximum allowed size for uploads
« Reply #1 on: January 12, 2012, 11:44:25 am »
You should download the archive manually and then unzip it into sites/all/modules to create a new directory sites/all/modules/civicrm

Then proceed to run the installer.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

Offline pennwhite

  • I’m new here
  • *
  • Posts: 29
  • Karma: 0
  • CiviCRM version: 4.0.8
  • CMS version: Drupal 7.12
  • MySQL version: 5.5
  • PHP version: 5.3
Re: file exceeds maximum allowed size for uploads
« Reply #2 on: January 13, 2012, 08:35:28 am »
Thank you, Hershel.

I have "unzipped" the tar.gz file. It contains folders like CRM, ass, api, packages.

I can't find  "sites/all/modules", so i dont know wat to do with this new civicrm folder.

Thank you,
Penn

Offline Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4123
  • Karma: 155
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly Drupal
Re: file exceeds maximum allowed size for uploads
« Reply #3 on: January 14, 2012, 10:12:06 am »
Oh, my, so sorry. You are using Joomla. My mistake--my directions were for Drupal.

For Joomla, please put it in tmp so that you have a directory called

Code: [Select]
tmp/com_civicrm
Then use that directory to install the component.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

Offline pennwhite

  • I’m new here
  • *
  • Posts: 29
  • Karma: 0
  • CiviCRM version: 4.0.8
  • CMS version: Drupal 7.12
  • MySQL version: 5.5
  • PHP version: 5.3
Re: file exceeds maximum allowed size for uploads
« Reply #4 on: January 16, 2012, 07:43:05 am »
No. You were right the first time. I am using drupal. The problem is my inexperience.  You said before to "unzip it into sites/all/modules to create a new directory sites/all/modules/civicrm

Then proceed to run the installer.
This is the part I can't figure out. I can't find the sites/all/modules to put the CiviCRM folder into.

Warm regards,
Penn

Offline Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4123
  • Karma: 155
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly Drupal
Re: file exceeds maximum allowed size for uploads
« Reply #5 on: January 16, 2012, 08:40:25 am »
Wherever your Drupal files are located, there is a directory there called sites.

In that directory should be one called all.

In all there may or may no be one called modules. If not, then create it. :)
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

Offline pennwhite

  • I’m new here
  • *
  • Posts: 29
  • Karma: 0
  • CiviCRM version: 4.0.8
  • CMS version: Drupal 7.12
  • MySQL version: 5.5
  • PHP version: 5.3
Re: file exceeds maximum allowed size for uploads
« Reply #6 on: January 19, 2012, 06:16:52 am »
Got it! Hooray!

Using WAMP, Drupal is  in the www folder under wamp. From then it's easy.

Thank you very much for all your help and persistance.

Warm regards,
Penn

Offline Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4123
  • Karma: 155
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly Drupal
Re: file exceeds maximum allowed size for uploads
« Reply #7 on: January 19, 2012, 06:19:56 am »
Happy to help. :)
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

Offline pennwhite

  • I’m new here
  • *
  • Posts: 29
  • Karma: 0
  • CiviCRM version: 4.0.8
  • CMS version: Drupal 7.12
  • MySQL version: 5.5
  • PHP version: 5.3
Re: file exceeds maximum allowed size for uploads
« Reply #8 on: January 19, 2012, 08:27:00 am »
Oops. Maybe I spoke too soon.

The instructions I have is to go to http://<your_drupal_home>/sites/all/modules/civicrm/install/index.php

I changed this to  http://localhost/drupal/sites/all/modules/civicrm/install/index.php

However, in the CiviCRM folder that I "unzipped" from civicrm-4.0.8-drupal.tar.gz, the index.php file is in the packages \dompdf folder.

So, now I'm stuck again.

Regards,
Penn

Offline Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4123
  • Karma: 155
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly Drupal
Re: file exceeds maximum allowed size for uploads
« Reply #9 on: January 19, 2012, 08:45:55 am »
Do you have a folder in civicrm called install?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

Offline pennwhite

  • I’m new here
  • *
  • Posts: 29
  • Karma: 0
  • CiviCRM version: 4.0.8
  • CMS version: Drupal 7.12
  • MySQL version: 5.5
  • PHP version: 5.3
Re: file exceeds maximum allowed size for uploads
« Reply #10 on: January 19, 2012, 09:16:09 am »
No we do not.

Regards,
Penn

Offline Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4123
  • Karma: 155
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly Drupal
Re: file exceeds maximum allowed size for uploads
« Reply #11 on: January 19, 2012, 09:19:57 am »
If you have a folder sites/all/modules/civicrm/ and you do not have a folder sites/all/modules/civicrm/install then you are missing files and you must try to unpack the archive again.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

Offline pennwhite

  • I’m new here
  • *
  • Posts: 29
  • Karma: 0
  • CiviCRM version: 4.0.8
  • CMS version: Drupal 7.12
  • MySQL version: 5.5
  • PHP version: 5.3
Re: file exceeds maximum allowed size for uploads
« Reply #12 on: January 19, 2012, 10:28:15 am »
I usually don't give up easily but I am beginning  to wonder if I will ever get this installed.

the civicrm-4.0.8-drupal.tar.gz file does not appear to have an install folder. I am unzipping it with winrar. Since I do not have linix installed on this machine, I'm not sure what to do next.

Thank you for you're help anyway.

Warm regards,
Penn

Offline Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4123
  • Karma: 155
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly Drupal
Re: file exceeds maximum allowed size for uploads
« Reply #13 on: January 19, 2012, 10:33:41 am »
That's the right file. When you unpack it, it makes a directory called civicrm.

Inside that directory is one called install.

If your archive tool fails, try http://www.7-zip.org/ as it may be better.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

Offline pennwhite

  • I’m new here
  • *
  • Posts: 29
  • Karma: 0
  • CiviCRM version: 4.0.8
  • CMS version: Drupal 7.12
  • MySQL version: 5.5
  • PHP version: 5.3
Re: file exceeds maximum allowed size for uploads
« Reply #14 on: January 27, 2012, 09:20:25 am »
Thanks Hershel.

7-zip worked WinRAR did not.

We have created a step by step guide for installing a local host instintce on CiviCRM on a Win7 machiane and have copied them here.
We don't know what to do with them to make them availible to public CiviCRM group and thought you might.

Thanks again,
Penn

*********************************************************************************************************

CiviCRM Installation Guide for Windows Users

Description: Step-by-step instructions for installing a local copy of CiviCRM on your windows 7 computer.
Published: 1/25/2012
Authors: Penn White & Kayla Winkler
Products and versions used:
  Windows 7 (we have Win7 Ultimate and Win7 Basic and these instructions work on both)
  WAMP Server 2.2C
      http://www.wampserver.com/en/
  Drupal 7.10
      http://drupal.org/project/drupal
  CiviCRM 4.0.8
      http://sourceforge.net/projects/civicrm/files/


  (Note: Always download the *.tar.gz versions of the files  - never the zip versions. We had problems with the zip versions.)

Approximate installation time (if all goes well):45 minutes
  (If not, days to weeks and much hairpulling and shrieks of frustration) :>)

Introduction

CiviCRM must be installed on a computer that has been configured with a web-server, PHP, and MySQL. Some people prefer to try out CiviCRM on their own local computer before installing it on a dedicated web-server.Several options are available for this. I first attemted to use XAMPP and it was a disaster. I could never get it to work. WAMP worked perfectly the first time.

Step 1: Remove WinRar (if exists)
  Start -> Control Panel -> Programs and Features -> WinRar -> Uninstall
  WinRar does NOT extract *.tar*gz files properly and is pretty much useless for anything else. If you don't uninstall it, it will interfere with 7-zip.

Step 2: Install 7-zip
  - Download and install 7-zip
         http://www.7-zip.org/download.html

Step 3: Install WAMP
http://www.wampserver.com/en/

a:Click on the download tab at the top of the web page. It will give you two choices of WAMPservers to choose from. I choseWAMP Server 2.2A P1 (32 BITS).
f1/27/2012
When you click on the download link it will bring up a form that you have an option to fill out to receive training from the company that is behind WAMP Server. If you don't wish to do this then click on the Direct Download Link.

c: It will bring you to a page where the download will begin in a few seconds. Once it begins a window should pop up saying:
   "You Have Chosen to Open WampServer2.2a-x32.exe"
You will want to click Save File which will send the download to the download folder located on your computer.
f
d: Then Go to your download folder and find the file. When you have located the file in your Download folder Called "WampServer2.2a-x32" double click it.

e: It may pop up a window that reads:
   "Open File - Security Warning; The Publisher could not be Verified. Are you sure you want to run this software?"Click Run.

When you click run you may get a warning that reads "Do you want to allow the following program to make changes to your computer?" Click Yes.

f: Then a Window titled Setup - WampServer 2. On this window you will want to click Next.

g: The next window will be the License Agreement. Read through this  and if you accept the agreement please make sure that the "I accept the agreement" is selected. Then hit Next.

h: The next window will be the "Select Destination Location" Make sure that the box in the window reads " C:\wamp". Then Click Next.

i: The Next window will read "Select Additional Tasks" I personally selected both. I wanted a shortcut on my desktop and a Quick Launch icon. This makes accessing it much easier. However, there is a caveat. Even though the WAMP server icon will show up in the taskbar, WAMP is still NOT online. You must either double-click the desktop icon or click the WAMP icon on the taskbar and select "Online".

Once you have selected the choices that you want click next.

j: The next window will read "Ready to Install" Review the information and make sure that it corresponds with what you selected during this process. If there are any problems just hit the back button to get the window and make any adjustments as needed. Once any changes are made and all the information you read is correct then click Install.

k: The Window will now read "Installing" while it is installing a window will pop up and ask you to "Choose your Default Browser" It will automatically have explorer selected. I use this as a default browser so I will just click open. If you prefer something else then scroll throughout the list and find your default browsers. Once it is selected click open. It will return to the window with the installation bar wait for it to finish.

l: Then it will Bring up PHP mail parameters. Adjust these as needed if you are unsure then leave the default values. Which should read:
   SMTP: localhost
   Email: you@yourdomain
Then click next.

m: The Next Window will read "Completing the WampServer 2 Setup Wizard" Make sure that the "Launch WampServer 2 now is checked and then click Finish.
( You may, once again, get a warning that reads Do you want to allow the following program to make changes to your computer?" Click Yes.)

You have now successfully installed WAMP. Congradulations!

n: Now in your system stray you should see the WAMP server icon Click on this and make sure you select put WAMP Server online. This is    a important step (see above).

f: Now before we can begin installing drupal Click on WAMP again and select phpMyAdmin.

g: On this utility Create a data base.

h: Click on the Database tab and create a new database. You can call it what ever you would like. Just remember to make a note of it. It is very Important to running CiviCRM

   I personally used: "civicrm_test" as my database's name.

Step 4: Installing Drupal

a: Go to
   http://drupal.org/

b: At the top of the page Select the tab that reads "Download & Extend"

c: When you are on this window there will be a download Drupal 7.10 (or the newest version) Click this it will bring  up several Downloads to choose from.
Choose the latest version to download and make sure that you click the  file.

d: Once it has finished downloading go to your download folder this will contain the file that you just downloaded. It should read something similar to "drupal-7.10.tar" You will have to unzip this file. To do this you will need a unzip program.

7zip
http://www.7-zip.org/

Place it one the desktop for the moment. While it is on the desktop rename the file to drupal.

e: Now you are going to want to move your drupal folder into your www folder which is located inside your WAMP folder. Remember the name of this folder.

 f: Now we to install drupal on the localhost to do this go to you default browser and open a new tab

 g: Now take a moment and go down to your WAMP menu and select Apache, then Apache Modules, and scroll down to the "rewrite_module" and make sure that it is checked.

 h: Now we are going to navigate to the Drupal folder we put in the www folder. To do this you go to

 http://localhost/<name of folder>

 and click enter

 i: This will bring up the drupal installation page. You are going to want to select the installation profile that fits your needs. I selected "Standard" and then click "save and continue"

j: Then it will bring up a Choose Language Page. It only has a English option so we only need to click "Save and Continue".

k: Now we need to set up a database type.  Follow these steps to do this:
   1.  Select the databases type that fits your needs I suggest MySQL, MariaDB, or equivalent.

   2. Then you need to put in the database name that you created early in the field that asks for your database name. (ex. civicrmtest)

   3. Now sense we didn't add a username when we set up our database the username should be "root"

   4. Now for the password, we didn't make one so the password will be left blank.

Now click save and continue once you filled in all of these fields.

l: Now this will bring you to an installation page. Just wait for it to finish it installation process and it should bring you to a configure site page.

m: On this Configuration page it is going to ask you to give your site a name. Go ahead and do this.

   Site name: Civicrm Test

n: It will ask for a e-mail address were not going to change this right now. I am leaving mine as you@yourdomain.com you may need to add the @yourdomainname.com.

o: Next we need to set up a username, email address, and password for our Administrator account. They can be what ever you would like.

p:  Then Set your default country, and default time zone.

q: Update Notification Settings, set them as you want them. I selected both. Then click save and continue.

r: Now you should be on the Getting Started page. I would log out and log back in just to make sure everything is working.

Now you have Drupal installed and working! Congratulations!
f
See "References" below if you get stuck anywhere up to this point.

Step 5: Install CiviCRM

Now that we have WAMP and Drupal working it is time to install CiviCRM.

a: Go to http://civicrm.org/

b: Click on the download tab on the site.

c: On the download page scroll down until you see a link that reads "Download CiviCRM from SourceForge", Click on this link.

d: It will open the link in a new tab or window. On this page you will see several download options. Choose the one that reads "Download civicrm-4.0.8-drupal.tar.gz (10.6 MB)" or a later version if one exists.

e: Once you do this it will start a download and give you a window that reads "Opening civicrm-4.0.8-drupal.tar.gz". Select "open with 7-zip and then click ok.

f: It will bring up your 7-zip and it will contain the "civicrm-4.0.8-drupal.tar.gz." Click on the tar.gz. click extract then the name changes to "civicrm-4.0.8-drupal.tar". Then click on the tar file then click on extract and navigate to the following folder location: C:\wamp\www\drupal\sites\all\modules which creates a civicrm folder.

g: Click on the "civicrm-4.0.8-drupal.tar" file, then click on exstract once again and navigate to: C:\wamp\www\drupal\sites\all\modules\civicrm to fill the folder with the data.

h: Go to Internet explorer and go to URL:
localhost/drupal/sites/all/modules/civicrm/install/index.php

Doing so should bring up the CiviCRM Installer

(you will get red bar error messages don't worry the following steps will correct those)

i: Now on this Installer page you need to fill out the information based off the information that we used to create the database earlier.

CiviCRM Database

MySQL server: localhost
MySQL username: root
MySQL password: empty
MySQL database: civicrmtest

Drupal Database

MySQL server: localhost
MySQL username: root
MySQL password: empty
MySQL database: civicrmtest

Make sure you set the language and check the "load sample data" box (if desired)

j: Then click the Check Requirement box. Now everything should be green and at the top of the page you should get a "Ready to Install" box.

k: Now there will be a "Check Requirements and Install CiviCRM" button. Click it.

l: If everything installed with out any issues you will receive a "CiviCRM has been successfully installed" page. You can now edit information and view the links on the page.

 Congratulations! You now have CiviCRM up and running!

 Step 6: Accessing CiviCRM

 There are two ways to access your civicrm localhost site.
 1. Go to drupal:
   localhost/drupal

   Select civicrm in the menue on the left navigation pane inside Drupal

 2. Go directly to CiviCRM
  localhost/drupal/civicrm/

References:

Drupal Localhost Install- http://drupal.org/node/350271

Drupal Installation Guide for CiviCRM 4.0- http://wiki.civicrm.org/confluence/display/CRMDOC40/Drupal+Installation+Guide+for+CiviCRM+4.0

Installing Drupal on localhost- http://learnbythedrop.com/drop/95