Jump to content

Install problem - create default shop and languages


Recommended Posts

Hi there, I am very new and I would like to install prestashop. The problem I have is during stage 6 of the installation which gives me this error.

 

Can anybody please help me.

 

Thank you

 

 

Create default shop and languages

  • Cannot copy flag language "/home3/makebean/public_html/prestashop/install/langs/en/flag.jpg => /home3/makebean/public_html/prestashop/img/l/1.jpg"
Link to comment
Share on other sites

  • 2 months later...

Hi Members i'v been having the same problem installing the prestashop i get this error "Create default shop and languages" at 23% of the intallation, ive tried everything and used the advice the forum members provided but nothing seems to be working can someone who has some light on this regard please assist.

help would be highly appreciated

Link to comment
Share on other sites

Vekia thanks for assiting I'm not trying to install any language but trying to install prestashop itself on my localhost but when it gets 23% of the intallation proccess it give me this error "Create default shop and languages" which is where i get stuck

Link to comment
Share on other sites

My test server is not connected to the internet for security reasons and I cannot make it connect to the internet.

 

So I have the exact same problem, I'm on windows XP localhost not connected to the internet, server running Apache 2.2 and PHP 5, every time installing at 23% it reports the "An error occured during installation". I selected English/ US eastern time zone.

 

 

The error message I found from my Apache error log ALWAYS says this:

 

 

[Tue Jul 02 12:25:40 2013] [error] [client 127.0.0.1] PHP Fatal error: Uncaught exception 'PrestaShopException' with message 'Property Language->iso_code length (5) must be between 0 and 2' in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\p6\\classes\\ObjectModel.php:837\nStack trace:\n#0 C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\p6\\classes\\ObjectModel.php(265): ObjectModelCore->validateFields()\n#1 C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\p6\\classes\\Language.php(102): ObjectModelCore->getFields()\n#2 C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\p6\\classes\\ObjectModel.php(465): LanguageCore->getFields()\n#3 C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\p6\\classes\\Language.php(195): ObjectModelCore->add(true)\n#4 C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\p6\\classes\\Language.php(714): LanguageCore->add(true, false, false)\n#5 C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\p6\\classes\\Language.php(806): LanguageCore::checkAndAddLanguage('en', false, false, Array)\n#6 C:\\Progra in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\p6\\classes\\ObjectModel.php on line 837, referer: http://localhost/p6/install/index.php

 

Help please!

Edited by dogiecutiepie (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...

sorry, error number 1, fixed by editing php.ini for that messages. erase ; and change condition to No.

 

error number 2, still search for fixing that problem. wait for tomorrow. I dont have internet connection at home, so I must go to internet cafe for search solving problem.

Link to comment
Share on other sites

yes, it's true. May be this will explain:

 

post-342683-0-45889500-1373681949_thumb.gif

 

It’s look like an error from iso_code. I use ‘en’ iso_code, but the code want to download and install language pack. So, there is no default one at there. All must to download at prestashop. Code work for it.

 

post-342683-0-46716800-1373682069_thumb.gif

 

This display error isn't appear on my monitor, no recommended requirement at the document that my pc must to connect with the internet. so, internet connection is a must.

Link to comment
Share on other sites

[14-Jul-2013 04:51:11] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1572864 bytes) in C:\wamp\www\prestashop\prestashop\translations\en\admin.php on line 2052

 

 

$_LANGADM['AdminOrdersafdbd71037839ec5a581febacab7bad7'] = 'No customers found';

 

 

wow,.... to much problem here...

I use wamp. Any complete tutorial for installation?

Link to comment
Share on other sites

here I make update on php.ini

 

memory_limit = 64M ; Maximum amount of memory a script may consume (8MB)

 

restart apache service,...

 

open localhost/prestashop...

 

nothing appear...

 

php error log:

 

[15-Jul-2013 11:56:06] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 24576 bytes) in C:\wamp\www\prestashop\prestashop\classes\Product.php on line 1866

Link to comment
Share on other sites

ok, there is two php.ini on wamp server:

 

1. C:\wamp\php

2. C:\wamp\Apache2\bin

 

I change on C:\wamp\Apache2\bin:

memory_limit = 256M ; Maximum amount of memory a script may consume (8MB)post-342683-0-00944400-1373863232_thumb.jpg

 

only appear a little on top.... :-(

 

whats wrong again?...

 

no error message on php_error.log

Link to comment
Share on other sites

  • 1 year later...
  • 2 years later...
  • 2 years later...

I had the same issue installing an old Prestashop 1.6.1.9 in local WAMP server. The solution to skip the 23% error, is to remove some code that is trying to dowonload languages packs, in install\models\install.php as described here:

https://www.prestashop.com/forums/topic/476182-install-language-problem-23/?tab=comments#comment-2167657

After this, the install could break at 34%, while populating tables in database: the solution is to switch PHP at version 5.6 (if you are installing PS 1.7 this should not be required).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...