Results 1 to 8 of 8

Thread: I need a tutorial or something .. please help.

  1. #1
    thanatosys is offline Member
    Join Date
    Nov 2005
    Posts
    5

    Default I need a tutorial or something .. please help.

    Well I have a system running ubuntu breezy linux, and I have installed mysql4.1 and php4 and apache2, and all are presumably running, however I have never had any experience whatsoever with mysql or php, I have been using apache for quite some time however. Anyway during the installer I recieve these errors by the web-based installer and I have no idea how to fix them:
    Code:
    Writable Modules Sub-Directories and Files  	Not Writeable
    Writable Data Sub-Directories 	Not Writeable
    Writable Cache Sub-Directories 	Not Writeable
    
    PHP Memory Limit >= 10M  	Warning: 8M (Set this to 10M or larger in your php.ini file)
    so how do I right these wrongs?
    thanks in advance

  2. #2
    pobox90210 is offline Member
    Join Date
    Nov 2005
    Location
    Southbridge, New Zealand
    Posts
    9

    Default Re: I need a tutorial or something .. please help.

    Quote Originally Posted by thanatosys
    Well I have a system running ubuntu breezy linux, and I have installed mysql4.1 and php4 and apache2, and all are presumably running, however I have never had any experience whatsoever with mysql or php, I have been using apache for quite some time however. Anyway during the installer I recieve these errors by the web-based installer and I have no idea how to fix them:
    Code:
    Writable Modules Sub-Directories and Files  	Not Writeable
    Writable Data Sub-Directories 	Not Writeable
    Writable Cache Sub-Directories 	Not Writeable
    
    PHP Memory Limit >= 10M  	Warning: 8M (Set this to 10M or larger in your php.ini file)
    so how do I right these wrongs?
    thanks in advance
    Go to the directories that are in error (Modules, Data and Cache), (I'm using KDE) right click, properties, change the permissions (chmod 777?) to can read and modify content for owner and user. I think group may require it also. I checked all three regardless. Make sure you check "include subfolders". I also made the whole thing Shareable and writeable on the share tab.

    As for the PHP memory limit, the php.ini file has a setting memory_limit = 8M and it needs to be greater. Increase this to say 20M. It may not get rid of the error though.
    Mine didn;t so I went to a php file in Modules directory called systemCheck.php (I think) and changed line 388/389 from memory_limit = ini_get("$memory_limit") to memory_limit = "20M". It then went past this point all GREEN

    HOWEVER, I still get memory errors when either trying to load the example data OR if I ignore example data, and it sets up OK, when I try to log in. This is where I'm at. The 8M part could be some setting somewhere else. If yuo get this far and are able to login and see panels and stuff, please klet me know what you did to change your 8M setting.

    Every tweak I'm making I'm also documenting to help others get through the whole experience.

  3. #3
    thanatosys is offline Member
    Join Date
    Nov 2005
    Posts
    5

    Default Re: I need a tutorial or something .. please help.

    ok this is a first time mysql thing for myself, how do I add an administrative account to msql? like it asks for my root account which i have never set up...

  4. #4
    Moby is offline Sugar Community Member
    Join Date
    Oct 2005
    Posts
    11

    Default Re: I need a tutorial or something .. please help.

    Quote Originally Posted by thanatosys
    ok this is a first time mysql thing for myself, how do I add an administrative account to msql? like it asks for my root account which i have never set up...

    See http://dev.mysql.com/doc/refman/5.0/...rmissions.html for information, there is both a windows walk through and a linux one further down

  5. #5
    thanatosys is offline Member
    Join Date
    Nov 2005
    Posts
    5

    Default Re: I need a tutorial or something .. please help.

    thanks for that, I am no able to log into the mysql administrator and I no longer recieve that error, however during step six of the install I recieve this new error.

    Code:
    Creating the config file...done
    
    Installation is proceeding... the output will appear below once it is complete. Please wait.
    Creating the database sugarcrm on localhost...done
    Creating the db username and password...done
    
    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 49 bytes) in /var/www/SugarSuite-Full-3.5.1a/install/performSetup.php on line 502
    any idea how to fix this?

  6. #6
    thanatosys is offline Member
    Join Date
    Nov 2005
    Posts
    5

    Default Re: I need a tutorial or something .. please help.

    ok rebooted the system and all that jazz, now i can run it and recieve no errors however it halts on the page, I tried installing it accross the network from a windows box but alas nothing there either, it just halts. Any ideas, and this is at step 6 btw.

  7. #7
    thanatosys is offline Member
    Join Date
    Nov 2005
    Posts
    5

    Default Re: I need a tutorial or something .. please help.

    ok now its even worse I can use mysql admin to access and login to mysql yet step 2 does not recognize that mysql is there, also i have the php-mysql package installed and i am using php4 any suggestions now.

  8. #8
    ylodi is offline Junior Member
    Join Date
    Nov 2005
    Posts
    1

    Default Re: I need a tutorial or something .. please help.

    Quote Originally Posted by thanatosys
    ok rebooted the system and all that jazz, now i can run it and recieve no errors however it halts on the page, I tried installing it accross the network from a windows box but alas nothing there either, it just halts. Any ideas, and this is at step 6 btw.
    There is no need for rebooting system, just restart web server (sudo /etc/init.d/apache2 restart).

    My installation of SugarCRM stuck at step 6. If I choose to create new user, that user is created in mysql, database is also created but there is no tables.

    And there is a JavaScript error on this page (body tag, onload - calling method).

    I'm using Ubuntu 5.10 server (php5).

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •