Installation problem in Mac XAMPP local


  • My mac is macOS Catalina, XAMPP version is 7.2.34. I Downloaded the folder from the website, rename folder as "hotelcommerce", and copy all folder under /Applications/XAMPP/xamppfiles/htdocs.
    I start local server http://localhost/hotelcommerce/install/ and return 500 internal error. Then I turned on debug mode, the error shows:

    Notice: tempnam(): file created in the system's temporary directory in /Applications/XAMPP/xamppfiles/htdocs/hotelcommerce/classes/PrestaShopAutoload.php on line 158
    
    Fatal error: Uncaught Error: Class 'Tools' not found in /Applications/XAMPP/xamppfiles/htdocs/hotelcommerce/classes/PrestaShopAutoload.php:168 Stack trace: #0 /Applications/XAMPP/xamppfiles/htdocs/hotelcommerce/classes/PrestaShopAutoload.php(68): PrestaShopAutoload->generateIndex() #1 /Applications/XAMPP/xamppfiles/htdocs/hotelcommerce/classes/PrestaShopAutoload.php(80): PrestaShopAutoload->__construct() #2 /Applications/XAMPP/xamppfiles/htdocs/hotelcommerce/config/autoload.php(31): PrestaShopAutoload::getInstance() #3 /Applications/XAMPP/xamppfiles/htdocs/hotelcommerce/install/init.php(50): require_once('/Applications/X...') #4 /Applications/XAMPP/xamppfiles/htdocs/hotelcommerce/install/index.php(27): require_once('/Applications/X...') #5 {main} thrown in /Applications/XAMPP/xamppfiles/htdocs/hotelcommerce/classes/PrestaShopAutoload.php on line 168
    

    I check the class file Tools.php and it is there within same fold as PrestaShopAutoload.php did. Note that I did not change any of the code downloaded except I turn on debug mode.

    Please advise. Thank you community!

  • Global Moderator

    @peterxwl

    This issue occurs due to file access permissions.

    Please try the solution provided in the following post
    https://forums.qloapps.com/topic/332/xampp-installation-not-working/3