HuasoFoundries/phpPgAdmin6

Errors During Initial Composer Installation

klaxian opened this issue · 5 comments

When initially installing via composer, I get the following errors. I realize these are just due to missing directories, but perhaps they could be created automatically?

php -r "chmod( DIR . '/temp', 0777);"
php -r "chmod( DIR . '/temp/twigcache', 0777);"
php -r "chmod( DIR . '/temp/jms', 0777);"

Warning: chmod(): No such file or directory in Command line code on line 1

Call Stack:
0.0000 394888 1. {main}() Command line code:0
0.0000 394888 2. chmod() Command line code:1

php -r "chmod( DIR . '/temp/logs', 0777);"
php -r "chmod( DIR . '/temp', 0777);"
php -r "chmod( DIR . '/temp/twigcache', 0777);"
php -r "chmod( DIR . '/temp/jms', 0777);"

Warning: chmod(): No such file or directory in Command line code on line 1

Call Stack:
0.0000 394888 1. {main}() Command line code:0
0.0000 394888 2. chmod() Command line code:1

php -r "chmod( DIR . '/temp/logs', 0777);"

I think the only missing directory is actually /temp/jms

Ok I'll dig in a bit and get my hands dirty. I just didn't want to step on any toes. Also, you know more about the codebase and these frameworks. I'll make PRs in the future if I have time.

Remember this is a spin-off of the original phpPgAdmin which is coded in procedural programming. I rewrote most of it, but the underlying logic is still another's work. I'll leave composer bug untouched for now so you can chip in.

Version RC6 is on the way

Yeah, I used the original phpPgAdmin for years, but I like your spin-off much better!