HI
how are you?
i'm have a issue installing WebsiteBaker.
I created a brand new server installation running the below,
Freebsd 11.1 release
Apache/2.4.33 (FreeBSD) PHP/7.2.5
Database client version: libmysql - mysqlnd 5.0.12-dev - 20150407
mysql Ver 14.14 Distrib 5.6.40, for FreeBSD11.1 (amd64) using EditLine wrapper
PHP extension: mysqli curl mbstring
PHP version: 7.2.5
So what happens is that after fillingout the intallation fields with database info etc, i click save and get a http 500 error.
I check the error log and see this line.
[Wed May 23 16:49:06.007308 2018] [php7:error] [pid 1043] [client 192.168.0.77:57085] PHP Fatal error: Uncaught RuntimeException: Security warning! Illegal file access detected!! in /usr/local/www/apache24/data/install/save.php:127\nStack trace:\n#0 {main}\n thrown in /usr/local/www/apache24/data/install/save.php on line 127
Attached also is my php info output if it helps.
Any advice offered to get this going please?
Thanks SO much
Peter
---
please take care about your configuration data. never publish it.
(in your case it is a private IP range which is not reachable from public, so it does not matter.)
Manuela
Quote from: thunderstormy on May 23, 2018, 07:08:51 AM
[Wed May 23 16:49:06.007308 2018] [php7:error] [pid 1043] [client 192.168.0.77:57085] PHP Fatal error: Uncaught RuntimeException: Security warning! Illegal file access detected!! in /usr/local/www/apache24/data/install/save.php:127\nStack trace:\n#0 {main}\n thrown in /usr/local/www/apache24/data/install/save.php on line 127
Comparing the secure token created in index.php, failed. Something went wrong with the stored token in SESSION. But in moment i don't know the reason, sorry. We never had this issue before. Maybe Darkviper has some Tips.
Dietmar
Thanks Luisehahne
i'll see what Darkviper says :)
Peter
hi
Sessions was mentioned so just something else i tried just now was i had not defined a session folder in php.ini so i added one as /tmp but made no difference.
I played around with the session settings in php.ini but as well made no difference.
Peter
the session token or whatever you call it is being created, as you can see from the dir listing. im just throwing out things here, it may trigger a idea :)
total 80
drwxrwxrwx 2 root wheel 512 May 23 15:09 .ICE-unix
drwxrwxrwx 2 root wheel 512 May 23 15:09 .X11-unix
drwxrwxrwx 2 root wheel 512 May 23 15:09 .XIM-unix
drwxrwxrwx 2 root wheel 512 May 23 15:09 .font-unix
srwxrwxrwx 1 mysql wheel 0 May 23 15:09 mysql.sock
-rwxrwxrwx 1 www wheel 49 May 24 14:59 sess_6kf7n1ebis477nle9c70rqvfq4
-rwxrwxrwx 1 www wheel 18 May 24 11:55 sess_6kgo8hpne5qf6v4fnm0gde012u
-rwxrwxrwx 1 www wheel 57 May 24 11:54 sess_6t0jcbtmla2bcgl9veod90thjm
-rwxrwxrwx 1 www wheel 18 May 24 11:54 sess_7jpj85jtp14drunogatuk85hir
-rwxrwxrwx 1 www wheel 18 May 24 11:54 sess_bkifalqjdq0vba6vb41mmid1dc
-rwxrwxrwx 1 www wheel 18 May 24 11:54 sess_c22v6l70n9cvt92qrkhkgkql4n
-rwxrwxrwx 1 www wheel 18 May 24 11:54 sess_cro7ga4mki4gmdef8bugj068if
-rwxrwxrwx 1 www wheel 49 May 23 17:35 sess_ej0id016s88a98in0cpfiq8sqo
-rwxrwxrwx 1 www wheel 18 May 24 11:54 sess_g875r9ndc0d2roe1orcq2qcrj7
-rwxrwxrwx 1 www wheel 75 May 24 15:08 sess_l3uv8o68jq5hd0esqifeo51bs3
-rwxrwxrwx 1 www wheel 18 May 24 11:55 sess_n58co9odbt2opdio86b6af8e71
-rwxrwxrwx 1 www wheel 75 May 23 17:11 sess_ng4ihmkodeim5da7od6jhlndp7
-rwxrwxrwx 1 www wheel 18 May 24 11:54 sess_t297tm83rndccdiog42g8gqnbo
-rwxrwxrwx 1 www wheel 57 May 24 11:54 sess_tjqjsborcldn9em0etbv72i00t
-rwxrwxrwx 1 www wheel 18 May 24 11:54 sess_tvf6ntcano89iuch8bk67n7u1f
drwxrwxrwx 42 www wheel 512 May 24 11:27 twig
Peter