Jump to content
bennik

Admin page is not getting css or js file ( Context Error Exception Site)

Recommended Posts

Hi everyone,
I am desperate and I am hoping that you can help me out.

I am no _ developer , but very sad and desperate owner of my website.
I had a well functioning website / online shop til few days a go where I asked a extern developer to help me out with a small modification since I do not know anything about the IT-world.
The developer suddenly told me that something went wrong and they have had to restore my website from the back up and they are not able to fix the problem. 
They told me there were problem with the permission and have asked my server support ( simply.com) to change all permission to ALL files to permission 777 and since my server support will not and can not give this kind of support , the developer just left the case and I am now left with a not-well functioning back office and no website.

Can any one help? Please note I am no developer . I can understand to get into file manager through my server website ( simply.com) , and I have some access to my back office page .
Down below you can see what I see when I type my website: ( I have added my ip adresse so I can see , but luckily I was able to put my website into maintenance mode so my clients will not see all this. Thanks a lot ( please see the picture and below ) 

(1/1) ContextErrorException

Warning: htmlspecialchars() expects parameter 1 to be string, array given

in 1c00f78dace25d509ec3a1f54176b7ae2000accf_2.module.pslanguageselectorpslangu.php line 33

at content_5e76672f368b08_13610887(object(SmartyCustomTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyCustomTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232

at Smarty_Internal_TemplateBase->_execute(object(SmartyCustomTemplate), null, null, null, 0)in smarty_internal_templatebase.php line 116

at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false)in SmartyCustomTemplate.php line 44

at SmartyCustomTemplateCore->fetch()in Module.php line 2447

at ModuleCore->fetch('module:ps_languageselector/ps_languageselector.tpl')in ps_languageselector.php line 61

at Ps_Languageselector->renderWidget('displayNav1', array('smarty' => object(SmartyCustomTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart)))in Hook.php line 975

at HookCore::coreRenderWidget(object(Ps_Languageselector), 'displayNav1', array('smarty' => object(SmartyCustomTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart)))in Hook.php line 927

at HookCore::exec('displayNav1', array('smarty' => object(SmartyCustomTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart)), null)in smarty.config.inc.php line 167

at smartyHook(array('h' => 'displayNav1'), object(SmartyCustomTemplate))in SmartyLazyRegister.php line 83

at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayNav1'), object(SmartyCustomTemplate)))in 142a8b66f07bf045826d5a4f442b5d3b2fd14eb6_2.file.header.tpl.php line 78

at Block_2974365545e76672f353d64_42081760->callBlock(object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_2974365545e76672f353d64_42081760), object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_2974365545e76672f353d64_42081760))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyCustomTemplate), 'Block_2974365545e76672f353d64_42081760', 'header_nav')in 142a8b66f07bf045826d5a4f442b5d3b2fd14eb6_2.file.header.tpl.php line 31

at content_5e76672f359b05_18570091(object(SmartyCustomTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyCustomTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('file:_partials/header.tpl', null, 'layouts/layout-full-width.tpl', 0, 31536000, array(), 0, false)in bc6d80b094ba0d5646e41bc2827799126ec9a2c4_2.file.layout-both-columns.tpl.php line 188

at Block_18713637585e76672f310bf9_38617153->callBlock(object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_18713637585e76672f310bf9_38617153), object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_18713637585e76672f310bf9_38617153))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyCustomTemplate), 'Block_18713637585e76672f310bf9_38617153', 'header')in bc6d80b094ba0d5646e41bc2827799126ec9a2c4_2.file.layout-both-columns.tpl.php line 62

at content_5e76672f31b1b1_63092830(object(SmartyCustomTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyCustomTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('layouts/layout-both-columns.tpl', null, 'layouts/layout-full-width.tpl', 0, 31536000, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyCustomTemplate), 'layouts/layout-both-columns.tpl')in 1e88505ed44dbcd8f02c9f166527bb092bb7ab66_2.file.layout-full-width.tpl.php line 42

at content_5e76672f308e73_91332714(object(SmartyCustomTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyCustomTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('layouts/layout-full-width.tpl', null, 'layouts/layout-full-width.tpl', 0, 31536000, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyCustomTemplate), 'layouts/layout-full-width.tpl')in 151e57b8ef0a8930d2142e9e7a34bc0a03653039_2.file.page.tpl.php line 33

at content_5e76672f301191_15387638(object(SmartyCustomTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyCustomTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('page.tpl', null, 'layouts/layout-full-width.tpl', 0, 31536000, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyCustomTemplate), 'page.tpl')in 7adfae6363088fd69e1baa91a6574edaa1f78c6a_2.file.index.tpl.php line 33

at content_5e76672f2f5924_80105743(object(SmartyCustomTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyCustomTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232

at Smarty_Internal_TemplateBase->_execute(object(SmartyCustomTemplate), null, 'layouts/layout-full-width.tpl', null, 0)in smarty_internal_templatebase.php line 116

at Smarty_Internal_TemplateBase->fetch('index.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false)in SmartyCustom.php line 112

at SmartyCustomCore->fetch('index.tpl', null, 'layouts/layout-full-width.tpl')in FrontController.php line 683

at FrontControllerCore->smartyOutputContent('index.tpl')in FrontController.php line 667

at FrontControllerCore->display()in Controller.php line 312

at ControllerCore->run()in Dispatcher.php line 515

at DispatcherCore->dispatch()in index.php line 28

Udklip_1.png

Share this post


Link to post
Share on other sites

Your screenshot is a warning message, maybe the developer left the debug mode on?

  • Like 1

Share this post


Link to post
Share on other sites

I am no idea. She will not answer anymore. What I did was to restore from an old back up. 
I needed to makes small modification , but I will have to live with the website as it is now, since I can not pay to another developer again, and the one who was editing my website has vanished  :(

Share this post


Link to post
Share on other sites

Maybe here we'll help you as much as we can, can you give us a link to your store?

Share this post


Link to post
Share on other sites

Hi Daresh, 
Thank you very much. 
Yes. The help, if possible, will be lovely.
The website is www.benush.es

There are 3 issues I would like to fix.
I am using back office , prestashop version 1.7.6.2, and also I know how to get access to the codes through the File manager in the website of my server (simply.com) 

1) If you enter into the website and try to add a product into the basket, the basket do not get updated right away , unless I update manually or change the page. 
This updating issue also shows in the check out section about the transport cost. For example, depends on the country the shipping cost changes. This changes of cost of shipment will be showed first when you go to the next step " payment section" . 
Thgís suddenly change of price (cost of shipment) are causing me many "abandoned shopping basket" 

I would like this updates of prices to be shown right away , when a customer choose a product or/and chose the country .

2) In the check out section , when the language Spanish is chosen , in you chose the country Spain, you will have to chose the "state" .This word "state", is translated to "estado" in spanish . But the correct word in spanish is "Provincia" 
I would like to change this word , but do not know from where. ( screenshot attached ) 

3) I would like the header section, where you can choose language, see account and shopping basket to be fixed on top of the page. So people when they scroll down through the page, they can always see this section on top . For example as this website  (  https://www.chocolateworld.be/  )   Screen shot attached. 

 

Do you think you will be able to guide me through this? 

 

Thanks again. 

Bennik

ESTADO.JPG

HEADER.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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