Jump to content

Prestashop 1.6 installing error - PHP: Notice : Undefined offset: 2 in ~/classes/datas.php


Recommended Posts

Hi, I want to install prestashop 1.6 on my server but I get the following error trying to do it using the php script.

 

PHP: Notice : Undefined offset: 2 in ~/classes/datas.php

 

When I try to install it using the web browser I just can go until the step where you introduce the database data configuration and when I click the "Test database connection" button nothing happens, the same when press the "continue" button.

 

This is the server info:

 

# cat /etc/debian_version

6.0.9

# php -v
PHP 5.3.3-7+squeeze19 with Suhosin-Patch (cli) (built: Feb 17 2014 10:10:23)
Copyright © 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright © 1998-2010 Zend Technologies
    with Suhosin v0.9.32.1, Copyright © 2007-2010, by SektionEins GmbH

# apache2 -v
Server version: Apache/2.2.16 (Debian)
Server built:   Feb  1 2014 21:22:42

# mysql --version
mysql  Ver 14.14 Distrib 5.1.73, for debian-linux-gnu (x86_64) using readline 6.1
 

Could you please help me with this issue? should I install Prestashop 1.5 instead? should I upgrade PHP or something else?

 

Thanks a lot...

  • Like 1
Link to comment
Share on other sites

Hi, I think it is better if you post a new topic with your specific problem, so people can help you better.

 

It is a nice thing to chek the file

~/install/error_log

Here you can get more information about what is going wrong during the install.

 

Check out this link, it is about prestashop 1.5 but could be useful for you.

Link to comment
Share on other sites

Hi, I found error log plase: ( /var/log/ispconfig/httpd/exemple.com/error.log )

 

solution is described here: https://rtcamp.com/tutorials/php/increase-script-execution-time/

 

but now I have a new problem:

--------------------------------

  1. Install theme
    1. Table 'ps_linksmenutop' doesn't exist
    2. Table 'ps_linksmenutop_lang' doesn't exist

---------------------------------

 

how can I resolve this error?

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

Hi, I found error log plase: ( /var/log/ispconfig/httpd/exemple.com/error.log )

 

solution is described here: https://rtcamp.com/tutorials/php/increase-script-execution-time/

 

but now I have a new problem:

--------------------------------

  1. Install theme
    1. Table 'ps_linksmenutop' doesn't exist
    2. Table 'ps_linksmenutop_lang' doesn't exist

---------------------------------

 

how can I resolve this error?

 

 

Hi, you should reinstall PrestaShop with these new php.ini settings. It seems that those tables were never created during the install.

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...