Toda Posted May 18, 2022 Share Posted May 18, 2022 I changed the server for my shop. But it is still pointing to the old URL. I tried to make all the changes in the .htaccess but no result. Then, I tried to find ps_shop_url. It does not seem to exist in PHP my admin area. Could anyone please guide me how to fix the issue? jparts.jp should have been my new URL. But it takes me back to http://aliyana53.sg-host.com/ Thanks and regards Link to comment Share on other sites More sharing options...
El Patron Posted May 18, 2022 Share Posted May 18, 2022 It would appear that your dns is not setup correctly either in host or from you domain registrar. for faster service contact your hosting company, they can generally help with this type of issue. on your hosting, you created the jparts.jp webspace and copied files there yes, but do contact your hosting because without hands on we can only guess what is issue. you can update ps_shop_url via admin, if you cannot access admin then via phpmyadmin, I think configure table. you man need to search... to update admin Link to comment Share on other sites More sharing options...
Toda Posted May 19, 2022 Author Share Posted May 19, 2022 Thank you again for willing to help. The hosting provider has verified that there is no issue with the DNS. I tried to find ps_shop_url in the config table. But, unfortunately, there was no entry liuke that in it. Maybe I am making a mistake. Is there any other way out to solve the issue? Thanks Link to comment Share on other sites More sharing options...
Mian Waqas Posted May 19, 2022 Share Posted May 19, 2022 2 hours ago, Toda said: Thank you again for willing to help. The hosting provider has verified that there is no issue with the DNS. I tried to find ps_shop_url in the config table. But, unfortunately, there was no entry liuke that in it. Maybe I am making a mistake. Is there any other way out to solve the issue? Thanks Hi, DBprifex_shop_url is a table (not in config table & make sure ur db prefix start with PS_) serach this on the root. if it does not exit there then please make sure you are not using multistore? if not then your databse is not created/migrated correctly. Regards Link to comment Share on other sites More sharing options...
Toda Posted May 19, 2022 Author Share Posted May 19, 2022 Thanks. Surprisingly, ALL the tables in the old server as well as the new one start with the prefix soft. I am unable to find the table you suggested. Maybe the solution lies somewhere else. Thanks Link to comment Share on other sites More sharing options...
Mian Waqas Posted May 19, 2022 Share Posted May 19, 2022 14 minutes ago, Toda said: Thanks. Surprisingly, ALL the tables in the old server as well as the new one start with the prefix soft. I am unable to find the table you suggested. Maybe the solution lies somewhere else. Thanks Look for soft_shop_url table in the database it must be there. (it is a table not column) - This is the first place and first step where you have to change the url. Regards Link to comment Share on other sites More sharing options...
Toda Posted May 19, 2022 Author Share Posted May 19, 2022 Thank you. I was able to find the info you advised me and actually made the required changes. However, now the site is giving a different problem as you can see below the error message it is showing. Is there any easy fix for this? Thanks and regards ___________________________________________________________________________________________________________________________ Whoops, looks like something went wrong. (1/1) ContextErrorException Notice: Trying to access array offset on value of type null in HookDisplayFooter.php line 90 at HookDisplayFooter->run()in ps_googleanalytics.php line 113 at Ps_Googleanalytics->hookDisplayFooter(array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 997 at HookCore::coreCallHook(object(Ps_Googleanalytics), 'hookDisplayFooter', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 421 at HookCore::callHookOn(object(Ps_Googleanalytics), 'displayFooter', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 934 at HookCore::exec('displayFooter', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1), null)in smarty.config.inc.php line 167 at smartyHook(array('h' => 'displayFooter'), object(SmartyDevTemplate))in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayFooter'), object(SmartyDevTemplate)))in 220000143fe022e71f6d32bc742ad3106a8baecc_2.file.footer.tpl.php line 92 at Block_14412076316285f0b648f618_17950078->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_14412076316285f0b648f618_17950078), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_14412076316285f0b648f618_17950078))in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_14412076316285f0b648f618_17950078', 'hook_footer')in 220000143fe022e71f6d32bc742ad3106a8baecc_2.file.footer.tpl.php line 39 at content_6285f0b6492209_95010134(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123 at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114 at Smarty_Template_Compiled->render(object(SmartyDevTemplate))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/footer.tpl', null, 'classiclayouts/layout-full-width.tpl', 0, 31536000, array(), 0, false)in 36cefc2eff21b6944c71cd1524713c8f5335425b_2.file.layout-both-columns.tpl.php line 333 at Block_4715959196285f0b6130156_55901530->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_4715959196285f0b6130156_55901530), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_4715959196285f0b6130156_55901530))in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_4715959196285f0b6130156_55901530', 'footer')in 36cefc2eff21b6944c71cd1524713c8f5335425b_2.file.layout-both-columns.tpl.php line 102 at content_6285f0b6132142_39855038(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123 at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114 at Smarty_Template_Compiled->render(object(SmartyDevTemplate))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, 'classiclayouts/layout-full-width.tpl', 0, 31536000, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 116 at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl')in b1916fe71a55482f8bf184f8327f91fcabb8cf5d_2.file.layout-full-width.tpl.php line 42 at content_6285f0b61228a1_25682030(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123 at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114 at Smarty_Template_Compiled->render(object(SmartyDevTemplate))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, 'classiclayouts/layout-full-width.tpl', 0, 31536000, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 116 at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-full-width.tpl')in 6f09290900416e743d35252d7d4aef764ff457c8_2.file.page.tpl.php line 33 at content_6285f0b611bcb3_80060813(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123 at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114 at Smarty_Template_Compiled->render(object(SmartyDevTemplate))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, 'classiclayouts/layout-full-width.tpl', 0, 31536000, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 116 at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'page.tpl')in c467efa9cd14648cb3479b37c4c94cd558693c99_2.file.index.tpl.php line 33 at content_6285f0b6113b40_54893046(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123 at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114 at Smarty_Template_Compiled->render(object(SmartyDevTemplate))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(SmartyDevTemplate), null, 'classiclayouts/layout-full-width.tpl', null, 0)in smarty_internal_templatebase.php line 116 at Smarty_Internal_TemplateBase->fetch('index.tpl', null, 'classiclayouts/layout-full-width.tpl', null, false, true, false)in SmartyDev.php line 40 at SmartyDev->fetch('index.tpl', null, 'classiclayouts/layout-full-width.tpl')in FrontController.php line 727 at FrontControllerCore->smartyOutputContent('index.tpl')in FrontController.php line 709 at FrontControllerCore->display()in Controller.php line 326 at ControllerCore->run()in Dispatcher.php line 518 at DispatcherCore->dispatch()in index.php line 28 Link to comment Share on other sites More sharing options...
Mian Waqas Posted May 19, 2022 Share Posted May 19, 2022 Did you cleared the cache? Please disable Ps_Googleanalytics module and then check. Is debug mode off? Regards Link to comment Share on other sites More sharing options...
El Patron Posted May 19, 2022 Share Posted May 19, 2022 when you created your hosting you opted in to to use an internally generated domain name. did you create your production domain and then copy files from temporary generated domain name? (it would connect to existing mysql). here is example, where I am using a temp internal domain that I can test with, to move to production I would create prod domain and copy files over. then switch dns hope this helps Link to comment Share on other sites More sharing options...
Toda Posted May 22, 2022 Author Share Posted May 22, 2022 Thank you soooooooooo much for the great help. Now the site has started showing up. It was amazing. Thank you so much for this. Kind regards 1 Link to comment Share on other sites More sharing options...
Toda Posted May 22, 2022 Author Share Posted May 22, 2022 Thank you again for the generous support. I feel indebted to all of you. Now, I have finally started seeing my site. But, now 404 error started appearing on all the links in the site no matter what link I click on. I hope that problem can also be solved easily. But, How. I need to find it out. Thanks and regards Link to comment Share on other sites More sharing options...
El Patron Posted May 22, 2022 Share Posted May 22, 2022 Try Regenerate httacess search if you don't know how. It's weekend so thanks for patience. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now