arshidkv12 / phpBolt

Best php encoder - free | Encrypt php source code
https://phpbolt.com
225 stars 49 forks source link

Use of undefined constant PHP_BOLT_KEY - assumed 'PHP_BOLT_KEY' #17

Open jagadeeshanubavam opened 3 years ago

jagadeeshanubavam commented 3 years ago

The following error in php7.2 and 7.3 and I am using bolt.so version 1.0.2

Warning: Use of undefined constant PHP_BOLT_KEY - assumed 'PHP_BOLT_KEY' (this will throw an Error in a future version of PHP) in index.php on line 1

Parse error: syntax error, unexpected end of file inindex.php on line 1
delzey commented 3 years ago

You forgot to define your key... Add this somewhere in the config files... define('PHP_BOLT_KEY', 'YoUrKeYgOesHeRe');

newgenesys commented 2 months ago

Hello @delzey I am currently facing this error. Please where do I define the PHP_BOLT_KEY? what config file were you refering to?

Is it supposed to be within my project files or the phpBolt project?