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"

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

what language you're trying to install?

Maybe try with default language (english) - then in back office you will be able to download other language packs

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

yes i know, but you can select language of your prestashop, so im asking what language you selected (what language version you're trying to install)

Share this post


Link to post
Share on other sites

so, you're trying to install store on localhost? what OS you use? when you're installing prestashop, your computer is connected to the internet?

Share this post


Link to post
Share on other sites

i'm using windows stater 32bit and i also tried it on windows ultimate but still get the same problem and yes when i install the computer is always connected to the internet.

Share this post


Link to post
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)

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

hello

 

i know that this sounds weird... but installator needs an internet connection. It's because installator downloads the localization (languages) pack from official website

Share this post


Link to post
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.

Share this post


Link to post
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?

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

you have "clean" prestashop without modules and exmaples of the products? I suppose so,

it looks like shop without modules and without products

  • Like 1

Share this post


Link to post
Share on other sites

but this 404 appears without any reason? You changed something?

try to regenerate htaccess file (just remove it from root dir of your presta) - don't forget about backup of this file

  • Like 1

Share this post


Link to post
Share on other sites
  • 1 year later...

what you exactly expect? please clarify it a bit

Cześć.

Ja mam podobny problem.

Domyślam się, że chodzi o ustawienia serwera w .htaccess lub php.ini,

ale nie wiem które.

post-100199-0-75587300-1436541367_thumb.jpg

 

post-100199-0-75587300-1436541367_thumb.jpg

Share this post


Link to post
Share on other sites
  • 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).

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More