Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
Brandon000 (Guest)
Brandon000 (Guest)
I got this when I downloaded 3.3.1 from 3.3:
 
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 6291456 bytes) in C:\wamp\www\Parti-Time Dance Shoes\admin\admin_upgrade.php on line 8611
 
The version on the panel still reads 3.3.
 
brandon
brandon
Seems like 3.3.1 has upgrade errors. Do not upgrade.
 
Eugene (Guest)
Eugene (Guest)
Hi,
 
Seems there is a problem with PHP5 which uses too lots of memory for storing arrays. On PHP4 admin_upgrade.php works without any problems. So in order to upgrade to 3.3.1 on web server with PHP5 please use the following script instead of admin_upgrade.php that come with your version
http://www.viart.com/downloads/admin_upgrade-3.3.zip
 
WBR,
ViArt Support Team
 
tv1122
tv1122
The memory problem is NOT just for admin_upgrade, also many others, such as admin_dump.php. admin_dump_apply.php etc. You may wonder why 3.2 works for PHP5, then 3.3 only works for PHP4?
 
So if your 4.0 come out, we should install PHP0.001?
 
Eugene (Guest)
Eugene (Guest)
Hi,
 
Please, find below some of our comments.
 
Actually, the size of the admin_upgrade.php has been increasing from version to version. In addition, version 3.3 has been updated with administrative messages (about 100 kb of code) that are included in all admin scripts. So far, we have reduced the 'admin_upgrade.php' to 500 kb as we have removed all upgrade actions for releases earlier than 2.5. Also, we are to count all other included files that have a total size of at least 200 kb.
 
All these changes could cause an increase of the memory usage when using PHP5. However, we want to mention that the problem depends on the configuration. So, not all PHP5 configurations face this problem, as they all function in different ways. In most of configurations the 'admin_upgrade.php' and some other administrative scripts work properly with 8 Mb limit that can only prove that PHP configuration does have sense.
 
In PHP version 5.2.0 the default memory limit is 16 Mb, all later versions have the default value as 128 Mb. So, in order to solve the problem we recommend to change the memory_limit setting in php.ini to its default value corresponding to your version of PHP as shown in the official documentation at: http://www.php.net/manual/en/ini.core.php#ini.memory-limit
 
In conlusion, we would like to pay your attention that an increase of the default value of memory_limit setting in the PHP version 5.2.0 and later may be caused by the PHP core functionality regarding resources usage.
 
WBR,
ViArt Support Team