by Captivea - SugarCRM Advanced Partner

Need a way to have customers sign a receipt or for project managers to draw a mock-up in real time right inside of Sugar? Add drawing fields to any SugarCRM module right from within Studio. Especially great when out in the field using a tablet. Signatures or drawings on the spot.

Free 30 day trial
Try it Now

By clicking you consent to share your profile with the developer

#996 - Attempted Install of Module Wiped Out Admin Console : PHP 5.3 version required

Closed Bug? created by donkennedy Verified Purchase 9 years ago

Attempted to install the module and it completely wiped out the admin console. I attempted to access the upgrade url directly and make the suggested modifications to the config_override.php file, then do a repair and rebuild. It came up with a long list of action to resync the database to vardefs... then it just reported a database failure and the Admin console is still gone. Help!!!!

  1. Captivea member avatar

    Dear DonKennedy,

    Please first accept my apologizes for any problem encountered while setting up the module. Please send us the sugarcrm edition used (CE, PRO, ENT, ULT), version, and hosting environnement (on premise, on demand, ....)

    Please note that there's no modifications to be done in the config_override.php file listed on the installation guide provided in the Documentation section. What modifications did you perform on that file ?

    This module adds only a sugar field type, there's no vardefs modifications out of the box. So any reconstruction should not list any modification in database. Seems you had previous modifications not done in the database regarding your sugarcrm filesystem.

    In the meantime, our team will download and install a SugarCRM CE base instance and double check one more time, there's no issue with the ZIP provided on Sugaroutfiters.

    Please keep us updated with flavor and version while we are performing our own tests.

    Regards Captivea

  2. donkennedy member avatar

    donkennedy Verified Purchase

    9 years ago

    SugarCRM CE 6.5.18 on a Bluehost VPS.

    After hitting the button to install the module, the screen below the menu went blank. Further attempts to navigate to the admin console (the index php) were unsuccessful. So I navigated directly to the link that allows for a repair/rebuild and it came up with the suggested line to modify the config_override.php file. At any rate, that did not help, so I changed it back. The admin console is still blank.

    • Captivea member avatar

      ok you try to make a direct URL to the repair. This is a forbidden action and you're not allowed to do that by Sugar

      (you should have received a cross script attack warning telling you to modify the config_override.php) This is not linked to module installation.

      ==========

      The blank page during install leads me to a configuration error on the VPS server, more exactly on the PHP configuration file (value set to max_execution_time ?) Installing a module requires more than 30 seconds (that is most of the time the default PHP installation value)

      Two solutions there : - try to understand the PHP error (that has been logged in apache's error.log file) and debug it (that will restore the administration) - restore a FileSystem backup

      Please note that as already mentionned the module itseld does not cause any change to the database layout (so reparing should not ask you to perform a SQL query) ==> you should have other changes in the pipeline ?

      Of course depending on your IT skills, our advise would also be to contact your CRM reseller/provider in order to ask for a direct support as this is directly related to your hosting environnement and sugarcrm customization already performed.

  3. Captivea member avatar

    Result from Engineering team :

    BOTH CE AND PRO 6.5.18 version :

    installing the module results to a screen to enter sugaroutfiters serial number. When validated, the field type is available via studio > module > Fields > Add field button Admin page is working without any problem Reparation don't cause any modification like SQL modification to validate. Field created in studio on accounts module is working like expected. No bug.

    • Captivea member avatar

      Our test methodology implies to download a fresh ZIP file of Sugar directly from their servers. We install the software on our server, with PPH MySQL and all PHP extensions required turning ON like a REAL Production environnement.

      Then we launch the install. At the end, connected like Admin we go to Admin > Module loader and upload the ZIP file provided on SugarOutfitters.

      This ensures us that any customer running a base instance of CRM on a well configurated server will allow to use the module without any problem.

  4. jason member avatar

    jason Verified Purchase

    9 years ago

    Hello folks,

    Just stepping in here as we see this sort of issue from time to time in general by some SugarCRM users. It is almost always due to too restrictive of file permissions on the server. Sugar creates hundreds of files on the fly such as during an install or doing a Quick Repair and Rebuild. What can happen when permissions are not correct is that files either do not get created or get created with the wrong permissions. This then causes screens to not load or show as being blank like the admin screen in this case.

    The fix is to first fix the permissions then fix the default permissions for the specific server environment. I am not familiar with Bluehost, but here are some general guides for doing this on Linux.

    http://support.sugarcrm.com/04_Find_Answers/02KB/02Administration/100Install/Required_File_System_Permissions_on_Linux

    http://support.sugarcrm.com/04_Find_Answers/02KB/02Administration/100Install/Setting_File_Permissions_and_Ownership_in_config.php

    http://www.shanedowling.com/sugarcrm-permissions-script/

    http://forums.sugarcrm.com/f3/sugarcrm-permissions-50083/

    Hopefully this gets you on your way!

    Cheers, Jason Eggers SugarOutfitters

  5. donkennedy member avatar

    donkennedy Verified Purchase

    9 years ago

    My developer fixed the problem and said this:

    You get an error : Parse error: syntax error, unexpected T_STATIC in /home4/homeimq3/public_html/cin/modules/cap_License_Drawing/OutfittersLicense_Drawing.php on line 428 (The message is surprising since there is nothing like Static on line 428)

    That happens most probably because your php version is older than 5.3

    I have temporarily removed that call when opening the admin page so that you can at least open your admin page (modified /public_html/cin/custom/modules/Administration/Ext/Administration/administration.ext.php) Be careful. If you do a quick repair, this problem will happen again unless you uninstall that module (which you probably should do until they fix that)

    I guess you will need help from Captivea and/or SugarOutfitters to fix that.

  6. Captivea member avatar

    Hi Don,

    As mentionned in our private conversation, we're waiting for your PHPinfo() results to check with you your current version of PHP/Apache. Here at Captivea we are using the recommended stack documented by SugarCRM on their website (ie using PHP 5.3)

    I personnally double checked under Apache 2.2.22 and PHP 5.3.13 on thursday evening.

    I am sorry for the delay, I was away the office without a way to answer your message.

  7. donkennedy member avatar

    donkennedy Verified Purchase

    9 years ago

    No problem, thanks for responding. If you are unsure where to direct me next based on the php and apache info I emailed to you, I would be happy to pay for some consulting time for you to log into our instance and see what the problem is. I'd really like to be able to use your plugin! Thanks!

    • Captivea member avatar

      Ok you are on a PHP 5.2 instance (5.2.17) Don't forget to delete the phpinfo file from your production server.

      Seems our licence module (attached to all Sugar outfiters modules we resell) are based only on to work on PHP 5.3

      You should consider to upgrade your service running PHP 5.3 (5.2 is really old and deprecated)

      You can contact me directly via email if you want any consulting rates or advise but for now the modules works well as soon as the PHP stack is upgraded to 5.3

      Regards Captivea

  8. donkennedy member avatar

    donkennedy Verified Purchase

    9 years ago

    Being on Bluehost, I don't have the option of PHP 5.3. It is either 5.2 or 5.4. After doing some research and speaking with Bluehost, I was assured that Sugar would run fine on 5.4, so I changed the simple php.ini to 5.4 and the module loaded up just fine.

    • Captivea member avatar

      Yep Officially the only first version of Sugar compatible 100% with 5.4 is SugarCRM 7.5 but I heard also that it could work on 6.5 You have just to know that you could encounter some small bugs but as you're on the communauty edition, you don't have the editor support so you'll have to ask questions directly on the forums of Sugarcrm.com

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
  • "This is a must have for anyone who needs a signature capture field! Thanks to Captivea for making it!"

    Read More Reviews