ERROR 500

Antoine

Hello i install pos on my new raspberry 4 and when i complete a receiving or a sell i get same screen: error 500. Only on this 2 screen

On my server in HOSTINGER i got no problem - its ok

but on my raspberry....

I re-install the app 2 times,

i re-install LAMP

and i have same screen.

 

i proprely install:

  • PHP 5.4 or greater (5.6 or higher for braintree + stripe credit card processing)
  • Mysql 5 or greater (5.6.4 or higher recommended)
  • GD 2 Library
  • php xml
  • php zip

 

Please help me, its 1 weak i'm search i found nothing

Where  from error???

Comments

2 comments

  • Comment author
    Chris Muench

    We are recommending php 7

    You will need to perform debugging steps to figure out the exact error.
    Open up index.php in the phppos root folder:

    FIND:
    define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'production’);

    REPLACE:
    define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : ‘development’);

    open application/config/database.php

    FIND:
    $db['default']['db_debug'] = FALSE;

    REPLACE:
    $db['default']['db_debug'] = TRUE;

    Then see the errors.

    Do NOT forget to undo these changes afterwords.

    0
  • Comment author
    Antoine
    • Edited

    hello, thx about reply, it was simple. i have to change file proprietary of my root directory

    My php error speak about not permission to mkdir in log.PHP file


    0

Please sign in to leave a comment.