You get the message “Sorry! Attempt to access restricted file.” from vtiger after you have moved it to another path or even another server?
when you get the error "PHP Fatal error: Class 'tslib_cObj' not found" go to the file displayed in your error log and replace tslib_cObj with \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer
when you get the error "PHP Fatal error: Class 't3lib_div' not found" go to the file displayed in your error log and replace t3lib_div with \TYPO3\CMS\Core\Utility\GeneralUtility
When you receive this error in TYPO3 6 or 7 go to the error file and replace class whatever extends tslib_pibase, the tslib_pibase with \TYPO3\CMS\Frontend\Plugin\AbstractPlugin
To fix the encoding of email subject that you send with PHP wrap your subject in '=?UTF-8?B?' / "?=" and also use the PHP function base64_encode() to encode your original subject. Check out the code sample:
Open preferences window and go to PHP -> Code Style -> Formatter and there you click on "Edit..." of the current selected profile: Now go to the tab called "Line Wrapping" and there set the field "Maximum line width" to your wished line width: After click on the tab called "Comments" and there set the field "Maximum line width for comments" also to 120: Click ...
Learn how to get the first and last day of a month.
Here’s the snippet to create some xml with PHP’s SimpleXML Lib: