This also follows other but similar contexts at
http://forum.opencart.com/viewtopic.php ... 23#p447623
Well, now, things are lookin' up for the long haul. The now fewer instances where workable adjustments don't work can be subdued.
newdepth27 contributed:
http://forum.opencart.com/viewtopic.php ... 06#p326417
export remedied in/admin/controller/tool/export.php on line 75,
// ini_set("memory_limit","128M");
and import remedied in admin/model/tool/export.php on line 1589,
// ini_set("memory_limit","512M");"
So, we know that the export.php overrides server-honored php.ini and .htaccess;
and that export.php is honored along with php.ini and .htaccess;
and that those two lines are the overrides (line numbers may vary among in versions).
JNeuhoff contributed:
http://forum.opencart.com/viewtopic.php ... 06#p326426
. . . "think I'll remove these lines . . . and let it always use whatever PHP settings are in the php.ini or .htaccess."
So, we know that export.php can kick in its own php.ini values AS IT NEEDS THEM ON THE SPOT.
and that routinely php.ini and .htaccess can sustain lower values than the tool needs.
Then the tricky part is whether the server honors those changes immediately. Tests with phpinfo.php suggest yes.
It appears, then, that there are a couple of potentially "complete" solutions.
(1) Use phpinfo.php to verify that changes have effect, i.e., server honors php.ini
how: upload into /admin/, address it as http: // [...]/admin/phpinfo.php in browser address bar
file:
http://forum.opencart.com/download/file.php?id=18153
(2) Reset both php.ini files
to elevate execution, mem, post, upload maxima
to 300, 512M, 999M, 998M
or if appropriate
even to 300, 1024M, 999M, 998M
e.g.,
http://forum.opencart.com/viewtopic.php ... 80#p444711
max_execution_time = 300
memory_limit = 256M ;[or even 512M]
post_max_size = 999M
upload_max_filesize = 998M
(3) Reset inside export.php, at EACH of the two lines, for mem AND for three additional values,
to elevate execution, mem, post, upload maxima -- ALL FOUR PLUS ANY OTHERS FOUND TO BE CRUCIAL
to 300, 512M, 999M, 998M
or if appropriate
even to 300, 1024M, 999M, 998M
(3)(a) Modify in export.php the existing two lines plus six added lines (1+3, 1+3);
(3)(b) Equip export.php to require once an external short file with nothing more in it than those values;
(3)(c) Equip export.php with input from admin panel, which will be open anyway to export or import using the tool.
Item (1) is just a confirmation tool. Item (2) can support sustained php.ini settings, at lesser values than are required by item (3). Item (3) can support extraordinary demands by export.php. Items (3)(a), (3)(b), (3)(c) offer differing or mutually complementary means to change (3).