Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magento2 0.74.0-beta9 succeccfully installed but sample-data installation failed #1295

Closed
dangtrinhtran opened this issue May 21, 2015 · 8 comments
Labels
bug report Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Progress: needs update

Comments

@dangtrinhtran
Copy link

Hi, Magento2 developers!
I have successfully installed Magento 2 0.74-beta9 but sample-data installation failed.
"Installing configurable products:
..................................................
Fatal error: Maximum execution time of 3600 seconds exceeded in D:\projects\xamp
p\htdocs\magentov2\magento2\lib\internal\Magento\Framework\Object.php on line 50
1"

My php.ini
"
; Maximum execution time of each script, in seconds
; http://php.net/max-execution-time
; Note: This directive is hardcoded to 0 for the CLI SAPI
max_execution_time=18000

; Maximum amount of time each script may spend parsing request data. It's a good
; idea to limit this time on productions servers in order to eliminate unexpectedly
; long running scripts.
; Note: This directive is hardcoded to -1 for the CLI SAPI
; Default Value: -1 (Unlimited)
; Development Value: 60 (60 seconds)
; Production Value: 60 (60 seconds)
; http://php.net/max-input-time
max_input_time=-1

; Maximum input variable nesting level
; http://php.net/max-input-nesting-level
;max_input_nesting_level = 64

; How many GET/POST/COOKIE input variables may be accepted
; max_input_vars = 1000

; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
memory_limit=1024M
"

Please help me.
Thanks.

@dangtrinhtran dangtrinhtran changed the title Magento2 0.74.0-beta9 succeccfully installed, sample-data installation failed Magento2 0.74.0-beta9 succeccfully installed but sample-data installation failed May 21, 2015
@dangtrinhtran
Copy link
Author

After sample data successfully installed, my homepage doesn't show content.
Magento2 0.74.0-beta9
"magento/sample-data": "0.74.0-beta9"

commandline_magento2

magento2

and category page
magento2_cat_men

@sshrewz sshrewz added the PS label May 21, 2015
@anupdugar anupdugar added MX and removed PS labels May 22, 2015
@kokoc
Copy link
Member

kokoc commented May 27, 2015

@mrRonyTran Thank you for reporting the issue. However we are unable to reproduce this issue. Seems like the sample data installation process was interrupted. Could you please provide additional information from error.log file?

@dangtrinhtran
Copy link
Author

@kokoc I'm sorry, I have removed log file. I've installed multiple times but getting this error
"Fatal error: Maximum execution time of 3600 seconds exceeded in D:\projects\xamp
p\htdocs\magentov2\magento2\lib\internal\Magento\Framework\Object.php on line 50
1"
My php.ini
; Maximum execution time of each script, in seconds
; http://php.net/max-execution-time
; Note: This directive is hardcoded to 0 for the CLI SAPI
max_execution_time=18000

I don't know why, pls help me.
Thks

@kokoc
Copy link
Member

kokoc commented May 27, 2015

@mrRonyTran Your php.ini is configured properly. Could you place <?php phpinfo(); code somewhere in document root directory and check that web server uses correct php.ini file and settings are correct?

Please note: .htaccess files could override these values

@kokoc
Copy link
Member

kokoc commented May 27, 2015

@mrRonyTran we found a source of timeouts. It's located in Magento\SampleData\Model\Installer:78. You can remove this line as temporary workaround.

Internal task is created: MAGETWO-37970

@kokoc kokoc added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development and removed Progress: needs update labels May 27, 2015
@dangtrinhtran
Copy link
Author

@kokoc Ok, thanks, I will try again.

@dangtrinhtran
Copy link
Author

@kokoc Hi, after change line 78 in Magento\SampleData\Model\Installer to set_time_limit(36000);, it is OK. Thank you for your helps.

@vpelipenko
Copy link
Contributor

@mrRonyTran, internal ticket is fixed and closed. Please, verify the fix and let us know your opinion.

magento-team pushed a commit that referenced this issue Jul 7, 2017
[east] MAGETWO-68810: [Backport] - Special Characters like % in widget inside of WYSIWYG gives an error - for 2.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Progress: needs update
Projects
None yet
Development

No branches or pull requests

5 participants