Closed freshmeat123 closed 10 months ago
Paging @jools-r for any insight.
@freshmeat123 - what happens if you access the setup routine from a browser instead of the command line?
Same error.
I think this is perhaps due to 1 or more errors in the documentation / setup procedure because we've tested multi-site successfully and cannot yet reproduce your error. I'm going to do some more investigation over the next day or so, but it would definitely be worth checking in with the troubleshooting forum in the meantime.
@freshmeat123: I didn't encounter that when trialling a new multisite setup, but to avoid the error can you try inserting the following at line 188 of /sites/site1/admin/setup/index.php
if (!function_exists('find_relative_path')) {
and then at the end of the same file add the closing brace after line 233:
}
That should stop any attempt to redeclare the function if it already exists.
Once you've done that, you can copy that file across to your other multisite sites.
Closing for now due to age and no feedback - can be taken to the forum if required.
Expected behaviour
Actual behaviour
When i try setup multi-domain setup accordingly official documentation i got this error:
When i run index.php from console i see that index.php run twice:
Steps to reproduce
Additional information
Textpattern version: 4.8.8-beta1 and 4.8.7 release
Web server vendor and version: nginx/php-fpm
Database server vendor and version: mysql80
PHP version: php8.0.13
Operating system: freebsd