Skip to main content

error DIR_CACHE

This topic contains 2 replies, has 2 voices, and was last updated by  ClassiBase 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #7452 Reply

    Phasellus
    Participant

    Hello,
    After installing on my localhost server I got the following errors. Is there any chance how to fix it? (Apache 2.4.35, PHP 7.2.10, MySQL 5.7.23)

    Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in C:\server\www\sys\Framework.php on line 1848

    Warning: Use of undefined constant DIR_CACHE – assumed ‘DIR_CACHE’ (this will throw an Error in a future version of PHP) in C:\server\www\sys\helpers\SimpleCache.php on line 106

    #7502 Reply

    ClassiBase
    Keymaster

    Hello,

    We already use spl_autoload_register there. Not sure why it is displaying this notice.

    Regarding DIR_CACHE error, it only appears once after installation and we will fix it in our next update.

    Thank you for reporting.
    Regards.

    #8158 Reply

    ClassiBase
    Keymaster

    Some of this bugs should be fixed in version 2.
    Regards.

    #7669 Reply

    ORI9AMI
    Participant

    Similar errors after install of Classibase 1.9.2. Please advise on how to fix this. Error appear below.

    eprecated: __autoload() is deprecated, use spl_autoload_register() instead in /home/mysite/public_html/sys/Framework.php on line 1848

    Warning: session_start(): Cannot start session when headers already sent in /home/mysite/public_html/sys/Framework.php on line 75

    Warning: Use of undefined constant DIR_CACHE – assumed ‘DIR_CACHE’ (this will throw an Error in a future version of PHP) in /home/mysite/public_html/sys/helpers/SimpleCache.php on line 106

    Warning: Use of undefined constant DIR_CACHE – assumed ‘DIR_CACHE’ (this will throw an Error in a future version of PHP) in /home/mysite/public_html/sys/helpers/SimpleCache.php on line 23

    Warning: Use of undefined constant DIR_CACHE – assumed ‘DIR_CACHE’ (this will throw an Error in a future version of PHP) in /home/mysite/public_html/sys/helpers/SimpleCache.php on line 91

    Warning: Use of undefined constant DIR_CACHE – assumed ‘DIR_CACHE’ (this will throw an Error in a future version of PHP) in /home/mysite/public_html/sys/helpers/SimpleCache.php on line 91

    Warning: Use of undefined constant DIR_CACHE – assumed ‘DIR_CACHE’ (this will throw an Error in a future version of PHP) in /home/mysite/public_html/sys/helpers/SimpleCache.php on line 106

    Warning: Use of undefined constant DIR_CACHE – assumed ‘DIR_CACHE’ (this will throw an Error in a future version of PHP) in /home/mysite/public_html/sys/helpers/SimpleCache.php on line 91

    Warning: Use of undefined constant DIR_CACHE – assumed ‘DIR_CACHE’ (this will throw an Error in a future version of PHP) in /home/mysite/public_html/sys/helpers/SimpleCache.php on line 91

    Warning: Use of undefined constant DIR_CACHE – assumed ‘DIR_CACHE’ (this will throw an Error in a future version of PHP) in /home/mysite/public_html/sys/helpers/SimpleCache.php on line 106

    Warning: Use of undefined constant DIR_CACHE – assumed ‘DIR_CACHE’ (this will throw an Error in a future version of PHP) in /home/mysite/public_html/sys/helpers/SimpleCache.php on line 91

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: error DIR_CACHE
Your information:




  • Classifieds Business Newsletter

    Get discounts and tips about growing your classifieds website.

    Subscribe