Jump to content

Module page error


wxanl

Recommended Posts

Hello,

 

i recently installed prestashop afgter some years of absence.

I am running version 1.6.0.8 with default-bootstrap theme.

 

All worked fine but all of a sudden the module page is all wrong. It looks like there is no layout or style information available anymore and so i am unable to use any link on that page or configure a module.

I allready re-uploaded the Original admin theme but that did not help.

 

Anyone haveing the same problems or could point me in the right direction please ?

 

 

post-19864-0-63426800-1406534274_thumb.png

Link to comment
Share on other sites

Hi Nemo and thanx,

 

i did enable error reporting and tried to log on. I get an error right away and cannot log in. Might not be related but ...

Notice: Use of undefined constant _RIJNDAEL_KEY_ - assumed '_RIJNDAEL_KEY_' in DUMMYPATH/public_html/classes/Cookie.php on line 80 Notice: Use of undefined constant _RIJNDAEL_IV_ - assumed '_RIJNDAEL_IV_' in DUMMYPATH/public_html/classes/Cookie.php on line 80

Link to comment
Share on other sites

ah, easy fix, open that cookie.php file, and there you have

 

$this->_cipherTool = new Rijndael(_RIJNDAEL_KEY_, _RIJNDAEL_IV_);

 

 

change it to

 

$this->_cipherTool = new Rijndael('_RIJNDAEL_KEY_', '_RIJNDAEL_IV_');v

Link to comment
Share on other sites

Thank you :) I can once again log in.

 

The module page error is still there ....

 

I do however notice a message that a certain module might be unsafe. Does not show the name or anything but only qoutes.

This module is Untrusted

You are about to install "", a module that could not be securely identified by PrestaShop.

This generally happens when the module is not distributed through our official marketplace, PrestaShop Addons - or when your server failed to communicate with PrestaShop Addons. Since you did not download the module from PrestaShop Addons, we cannot assert that the module is safe (i.e. that it is not adding some undisclosed functionality like backdoors, ads, hidden links, spam, etc.). Use at your own risk.

Link to comment
Share on other sites

You mean this?

 

Notice: Use of undefined constant _RIJNDAEL_KEY_ - assumed '_RIJNDAEL_KEY_' in DUMMYPATH/public_html/classes/Cookie.php on line 80 Notice: Use of undefined constant _RIJNDAEL_IV_ - assumed '_RIJNDAEL_IV_' in DUMMYPATH/public_html/classes/Cookie.php on line 80

Link to comment
Share on other sites

I think that is the problem exactly. There are no css files at all. As i stated in my initial post, i allready did try to upload the Original admin theme files but that did not work.

 

I believe there is some CSS file missing somewhere, i just don't know which one ....

Link to comment
Share on other sites

The css wouldn't display in other pages either in that case, but just to be sure, can you check that  admin-theme.css sits in the admin folder/themes/default/css ? You can try embedding it by hand inside default/template/header.tpl at this point

Link to comment
Share on other sites

I just checked and found that the .css file is present at the location you mentioned.

Adding the css file manually to header.tpl did not do anything at all. 

I did install a test version on a different server to compare files and be able to copy files from test to live

if necessary.

Link to comment
Share on other sites

  • 1 month later...

Hi, have found out what is wrong? the problem is not that there is no CSS included, the whole HEADER.tpl is not being included, tha page starts from div, not <html

 

Same here and im freaking out now :P

 

EDIT:

A FIX HAS BEEEN FOUND!

 

More like workaround:

copy the contents (without begining comment) from <admin catalog>/themes/default/template/header.tpl

to <admin catalog>/themes/default/template/controllers/modules/header.tpl after the begining comment and voila, works like a charm!

 

Glad I've found it :D

Edited by MarkusVisse (see edit history)
  • Like 2
Link to comment
Share on other sites

Hi, have found out what is wrong? the problem is not that there is no CSS included, the whole HEADER.tpl is not being included, tha page starts from div, not <html

 

Same here and im freaking out now :P

 

EDIT:

A FIX HAS BEEEN FOUND!

 

More like workaround:

copy the contents (without begining comment) from <admin catalog>/themes/default/template/header.tpl

to <admin catalog>/themes/default/template/controllers/modules/header.tpl after the begining comment and voila, works like a charm!

 

Glad I've found it :D

 

Thank a lot for answering this thread and delivering a solution.

 

Unfortunately i did not have the time and patience to wait for a solution. So i did wipe the whole installation and started all over again...

 

However, i appreciate your time and effort answering this thread very much.

Link to comment
Share on other sites

×
×
  • Create New...