Jump to content

[solved] Admin pages incomplete - please help


Recommended Posts

Hi,

 

my Prestashop installation seems to work fine, but some of the admin pages are rendered incomplete.

 

When I click tools - import, the import page starts getting displayed, but rendering of the page stops after the menu.

 

Even the source code is only there up to the line '<div id="content">', then the source code ends.

 

Any idea how to fix this?

 

Thanks

Ralf

Link to comment
Share on other sites

It's a fresh installation of 1.4.4.1, but I had the same problem with some previous installations, too. Re-installing from scratch helped, but I can't do this all the time. Hope to find the reason for the problem.

 

Modules added:

Germanext including the Germanext invoice module. (but previous installations with the same problem did not have Germanext installed)

Link to comment
Share on other sites

Hello,

Please check the settings in your php.ini "memory_limit = ...." (128 is good) and "max_execution_time =..." (60 is best).

These parameters are set by your provider, contact him.

Modify your variable to "true"


@ ini_set ('display_errors', 'true');

in your / config / config.inc.phpto allow viewing of errors

Link to comment
Share on other sites

The shop meets all requirements. See php info.

http://apa-numismatik.de/info.php

 

Turning on error messages brought a result. No idea what it means. :)

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in path/prestashop/admin/tabs/AdminImport.php on line 102

 

Line 101 and following in that file read like this:

 

'default_on' => array('label' => $this->l('Default'))

'image_position' => array('label' => $this->l('Image position'),

'help' => $this->l('Position of the product image to use for this combination. If you use this field, leave image URL empty.')),

'image_url' => array('label' => $this->l('Image URL')),

);

 

Link to comment
Share on other sites

Problem fixed. It seems there was a ) missing in the source code.

 

this code is working, line 86 through 105:

self::$required_fields = array('id_product', 'options');

$this->available_fields = array(

'no' => array('label' => $this->l('Ignore this column')),

'id_product' => array('label' => $this->l('Product ID').'*'),

'options' => array('label' => $this->l('Options (Group:Value)').'*'),

'reference' => array('label' => $this->l('Reference')),

'supplier_reference' => array('label' => $this->l('Supplier reference')),

'ean13' => array('label' => $this->l('EAN13')),

'upc' => array('label' => $this->l('UPC')),

'wholesale_price' => array('label' => $this->l('Wholesale price')),

'price' => array('label' => $this->l('Price')),

'ecotax' => array('label' => $this->l('Ecotax')),

'quantity' => array('label' => $this->l('Quantity')),

'weight' => array('label' => $this->l('Weight')),

'base_net' => array('label' => $this->l('Base net')),

'default_on' => array('label' => $this->l('Default')),

'image_position' => array('label' => $this->l('Image position')),

'help' => $this->l('Position of the product image to use for this combination. If you use this field, leave image URL empty.'),

'image_url' => array('label' => $this->l('Image URL')),

);

Link to comment
Share on other sites

yes and change:

'default_on' => array('label' => $this->l('Default'))
'image_position' => array('label' => $this->l('Image position'),

to:

'default_on' => array('label' => $this->l('Default')),
'image_position' => array('label' => $this->l('Image position')),

 

Have you modified the code ?

Link to comment
Share on other sites

×
×
  • Create New...