Cannot refer to uploaded files

Just done an install, tried to upload a file and refer it to a page 'file:/test/image_21.png'
but I got 404 file:/test/image_21.png error message.


This my env

PHP 7.4.29 (cli) (built: Apr 12 2022 10:55:38) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with the ionCube PHP Loader + ionCube24 v11.0.1, Copyright (c) 2002-2022, by ionCube Ltd.
    with Zend OPcache v7.4.29, Copyright (c), by Zend Technologies

Server version: Apache/2.4.6 (CentOS)
Server built:   Mar 24 2022 14:57:57

Wackowiki version: 6.0.25

Server version: 8.0.19 MySQL Community Server - GPL

Any ideas?
thanks and regards

Comments

  1. Re: Cannot refer to uploaded files

    The patch was added to the master and 6.0 branch.

    Additionally I turned SQL strict mode on, installed 6.0.30 and did a upgrade to 6.1.9. I got another Fatal error due to a incorrect datetime value for column revision.reviewed_time. That issue has been fixed too.

    Regarding installing WackoWiki 6.0.30 with SQL Strict mode on, it worked in my case with the current 6.0 branch head (using MariaDB 10.4.24, PHP 8.1.5). It would be nice to know why the installer failed in your case. Sometimes the PHP error log give you some hints.

    THANKS for the feedback.
    • WikiAdmin
    • 16.05.2022 20:23 edited