![]() |
Hi,
i trie to setup my codeigniter framework with shield. For that i think i have finaly setup shield with this command "php spark shield ![]() After typing this command in putty, i recieved this message: "php spark Fatal error: Uncaught Error: Call to undefined function str_starts_with() in /v2.4u.tools/httpdocs/spark:28 Stack trace: #0 {main} thrown in /my_domain/httpdocs/spark on line 28" What I doing wrong?
Your PHP version? Function added in PHP 8.0
Anyone an idear?
php -m give this situation "[PHP Modules] bcmath bz2 calendar Core ctype curl date dba dom exif fileinfo filter ftp gd gettext gmp hash iconv igbinary imagick imap intl ionCube Loader json ldap libxml mbstring mysqli mysqlnd openssl pcntl pcre PDO pdo_mysql pdo_pgsql pdo_sqlite Phar posix redis Reflection session shmop SimpleXML soap sockets sodium SPL sqlite3 standard sysvmsg sysvsem sysvshm tidy tokenizer wddx xml xmlreader xmlrpc xmlwriter xsl Zend OPcache zip zlib [Zend Modules] Zend OPcache the ionCube PHP Loader + ionCube24"
Sometimes its hard to see how less i know :-((
I forget to tell shell the php version before do the command, so after that i do the following command " Code: /usr/local/php82/bin/php spark shield:setup Now the result is: Code: CodeIgniter v4.5.5 Command Line Tool - Server Time: 2024-11-28 18:33:28 UTC+01:00 What i now do wrong?
lets say i run this command :
Code: [andrew@darkstar ~]$ makepkg -s " pkgbuild does not exist" but then : Code: [andrew@darkstar ~]$ cd kooha-git In the above you can see the problem I was at ~ to begin with and theres no makepkg in home. but plenty in sub directories . in Code: /usr/local/php82/bin/php spark shield:setup
you've right, it was a problem ob the wrong directorie, now i could rund all commands without any error ;-)) Thanks !
|
Welcome Guest, Not a member yet? Register Sign In |