Menu

#11 Errors of fresh installer

open
installer (24)
5
2003-03-16
2003-03-16
No

Three annoyances when getting a fresh installer from
CVS will throw:

1) --------------------------

Warning: fopen("config/config.xml", "r") - No such file
or directory in
/www/htdocs/CVS_zzoss/zzoss/installer/lib/ZZOSS_Installer/Config.php
on line 103
Couldn't open file: config/config.xml

Instead, a message should be shown like:

"Please rename the file [filepath+name] to
[filepath+name] and adjust the parameters inside to
your needs."

2) --------------------------

Then, when renaming config.xml-dist and proceding, the
page with notification of wrong write permissions might
show up. There are the following errors thrown, which
should be suppressed:

Warning: fopen("data/installer/packages.ser", "w") -
Permission denied in
/www/htdocs/CVS_zzoss/zzoss/installer/lib/ZZOSS_Installer/Utils.php
on line 22

Warning: fwrite(): supplied argument is not a valid
File-Handle resource in
/www/htdocs/CVS_zzoss/zzoss/installer/lib/ZZOSS_Installer/Utils.php
on line 23

Warning: fclose(): supplied argument is not a valid
File-Handle resource in
/www/htdocs/CVS_zzoss/zzoss/installer/lib/ZZOSS_Installer/Utils.php
on line 24

Warning: fopen("data/installer/packages_resolve.ser",
"w") - Permission denied in
/www/htdocs/CVS_zzoss/zzoss/installer/lib/ZZOSS_Installer/Utils.php
on line 22

Warning: fwrite(): supplied argument is not a valid
File-Handle resource in
/www/htdocs/CVS_zzoss/zzoss/installer/lib/ZZOSS_Installer/Utils.php
on line 23

Warning: fclose(): supplied argument is not a valid
File-Handle resource in
/www/htdocs/CVS_zzoss/zzoss/installer/lib/ZZOSS_Installer/Utils.php
on line 24

Warning: fopen("data/installer/plugins.ser", "w") -
Permission denied in
/www/htdocs/CVS_zzoss/zzoss/installer/lib/ZZOSS_Installer/Utils.php
on line 22

Warning: fwrite(): supplied argument is not a valid
File-Handle resource in
/www/htdocs/CVS_zzoss/zzoss/installer/lib/ZZOSS_Installer/Utils.php
on line 23

Warning: fclose(): supplied argument is not a valid
File-Handle resource in
/www/htdocs/CVS_zzoss/zzoss/installer/lib/ZZOSS_Installer/Utils.php
on line 24

3) --------------------------

Maybe it is better when the installer is set to
development mode in config.xml-dist by default if we
get it from CVS.

Discussion


Log in to post a comment.

Monday.com Logo