Once you are at Sugar 4.0.1, you will need to have all the entry points defined. You will need to have the following line at the top of all of these entry files:
Code:
$GLOBALS['sugarEntry'] = true;
The following is a listing of all entry files that you will need to check for, the most prominent being index.php
Code:
sadek@sadek-laptop:/var/www/html/sugarpro401$ grep "$GLOBALS\['sugarEntry'\] = true;" -R .
./json.php: $GLOBALS['sugarEntry'] = true;
./vcal_server.php: $GLOBALS['sugarEntry'] = true;
./acceptDecline.php: $GLOBALS['sugarEntry'] = true;
./metagen.php: $GLOBALS['sugarEntry'] = true;
./image.php: $GLOBALS['sugarEntry'] = true;
./leadCapture.php: $GLOBALS['sugarEntry'] = true;
./vCard.php: $GLOBALS['sugarEntry'] = true;
./phprint.php: $GLOBALS['sugarEntry'] = true;
./sugar_version.php: $GLOBALS['sugarEntry'] = true;
./removeme.php: $GLOBALS['sugarEntry'] = true;
./cron.php: $GLOBALS['sugarEntry'] = true;
./tree_level.php: $GLOBALS['sugarEntry'] = true;
./emailmandelivery.php: $GLOBALS['sugarEntry'] = true;
./export_dataset.php: $GLOBALS['sugarEntry'] = true;
./json_server.php: $GLOBALS['sugarEntry'] = true;
./campaign_tracker.php: $GLOBALS['sugarEntry'] = true;
./dictionary.php: $GLOBALS['sugarEntry'] = true;
./modules/Administration/UpgradeWizard_prepare.php:$GLOBALS['sugarEntry'] = true;
./modules/Administration/DisplayWarnings.php:$GLOBALS['sugarEntry'] = true;
./modules/Administration/UpgradeWizard_commit.php:$GLOBALS['sugarEntry'] = true;
./index.php:$GLOBALS['sugarEntry'] = true;
./export.php: $GLOBALS['sugarEntry'] = true;
./soap.php: $GLOBALS['sugarEntry'] = true;
./pdf.php: $GLOBALS['sugarEntry'] = true;
./install.php: $GLOBALS['sugarEntry'] = true;
./tree.php: $GLOBALS['sugarEntry'] = true;
./maintenance.php: $GLOBALS['sugarEntry'] = true;
./process_workflow.php: $GLOBALS['sugarEntry'] = true;
After adding those lines to those files, please let us know if that resolves the issue for you.
Bookmarks