Iro Haruro
Chevereto Noob
Thanks for deleting my post!
Obviously you missed the circumstance, that this post is about a different server and a different problem.
I wrote:
Following your advise, and considering your quote about " standard servers" and "any substandard servers" having issues, I downloaded installer.php from the doc you linked above and put in in "/"
calling /installer.php in Browser gives an empty page.
calling root@buster:/var/www/html# php installer.php in console gives me:
Obviously your code does not do proper handling at all, yet assumes some non standard configuration.
So I installed libzip4 php-zip php7.3-zip (even though bzip2 and gzip were already present) via apt install php-zip
Browser still gives empty page. On command-line it throws loads of HTML.
In error logs:
[CODE title="installer.error.log"]root@buster:/var/www/html# cat installer.error.log
--------------------------------------------------------------------------------
2019-10-10 08:56:23
Obviously you missed the circumstance, that this post is about a different server and a different problem.
I wrote:
Same here.
Due to the problems posted here, I tried a different ("new") server w. Debian 10 buster.
Got over the errors described in this thread and am now stuck at "/install" called via http, wenn accessing "/".
Gives me 404:
Not Found
The requested URL /install/ was not found on this server.
When I try to "trick" it w. either accessing /app/install/installer.php or by using a symlink, I get:
"This file cannot be directly accessed."
Stuck again
Edit: How did I install the software?
Like on the other box, by wgetting https://github.com/Chevereto/Chevereto-Free/archive/master.zip unzipping, mv-ing to /html/ (=the html root dir of the server), chmodding app, content and images directories to 777 and calling "/" from browser.
Following your advise, and considering your quote about " standard servers" and "any substandard servers" having issues, I downloaded installer.php from the doc you linked above and put in in "/"
calling /installer.php in Browser gives an empty page.
calling root@buster:/var/www/html# php installer.php in console gives me:
<h1>[PHP] Class 'ZipArchive' not found</h1><p>in /var/www/html/installer.php:254</p>
<pre><code></code></pre>root@buster:/var/www/html
Obviously your code does not do proper handling at all, yet assumes some non standard configuration.
So I installed libzip4 php-zip php7.3-zip (even though bzip2 and gzip were already present) via apt install php-zip
Browser still gives empty page. On command-line it throws loads of HTML.
In error logs:
[CODE title="installer.error.log"]root@buster:/var/www/html# cat installer.error.log
--------------------------------------------------------------------------------
2019-10-10 08:56:23
PHP:
Class 'ZipArchive' not found: in /var/www/html/installer.php:254
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
2019-10-10 09:12:28 [PHP] preg_match() expects parameter 2 to be string, null given: in /var/www/html/installer.php:2777
Trace:
#0 /var/www/html/installer.php:2777
preg_match
--
Arg#0
'/nginx/i'
--
Arg#1
NULL
--------------------------------------------------------------------------------
[/CODE]
...this probably because when called from console, it didn't get the host/path/"URL".
So I fiddeled and poked a bit and finally managed to get to...:
[SIZE=7][B]No PHP 7.3 support[/B][/SIZE]
We're sorry, but Chevereto-Free doesn't support PHP 7.3 yet. Switch to PHP 7.2 or install our paid edition.
[B]Seriously[/B]?!