When I go to the step 6:
Warning: fgets(): supplied argument is not a valid stream resource in /wwwroot/site/sunson/gallery2/install/steps/CreateConfigFileStep.class on line 93
Warning: fclose(): supplied argument is not a valid stream resource in /wwwroot/site/sunson/gallery2/install/steps/CreateConfigFileStep.class on line 119
It would be thanks if someone can help me.
Posts: 32509
please fill out the support template.
(g2 version, ...)
and do you get any warnings in the systemcheck step of the installer?
Posts: 4
I use G2 beta
and I get this warning:
exec() allowed Warning
Posts: 32509
so exec() calls are disallowed on the system? that's a problem for G2, but i guess the core functionality should work without the exec call, i.e. i fail to understand why it should fail while creating the config.php file in the installer.
mindless, bharat, any ideas?
Posts: 8601
top2sky, edit your CreateConfigFileStep.class at line 93 and remove the @ character from before the fopen call, then retry the install.. post any error message you see at this step. gallery2/install/config.php-template exists and is readable by your webserver/php user, right?
Posts: 4
Core module is only partially installed.
Error installing Gallery Core
Something went wrong when we tried to install the core module. In the boxes below you can find some debug information. Report this in the Gallery Forums and we'll help you diagnose the problem.
Stack Trace:
Debug Output:
file_exists(/wwwroot/site/sunson/gallery2/g2//cache/entity)
file_exists(/wwwroot/site/sunson/gallery2/g2//cache/layout)
file_exists(/wwwroot/site/sunson/gallery2/g2//cache/module)
file_exists(/wwwroot/site/sunson/gallery2/g2//cache/derivative)
--------------------------------------------------------------------------------
(mysql): SHOW TABLES
--------------------------------------------------------------------------------
file_exists(/wwwroot/site/sunson/gallery2/modules/core/classes/helpers/../../../../modules/core/module.inc)
realpath(/wwwroot/site/sunson/gallery2/modules/core/classes/../../..)
Binding text domain: modules_core ->
/wwwroot/site/sunson/gallery2/modules/core/locale
file_exists(/wwwroot/site/sunson/gallery2/g2//versions.dat)
This is when I go to 7 step,This time the file config.php is created successfully
Posts: 8601
try again with an empty db and empty g2data dir.
Posts: 4
ok,but I can't delete g2data dir.
I exchange another dir,but I have no empty db,so it's not effect.
Posts: 8601
see G2 FAQ for how to delete g2data.
clear out your db to make it empty.
then try again with empty db and empty g2data dir.