{"id":167,"date":"2009-11-14T13:11:08","date_gmt":"2009-11-14T07:11:08","guid":{"rendered":"http:\/\/hasibul.info\/blog\/?p=167"},"modified":"2009-11-18T19:03:36","modified_gmt":"2009-11-18T13:03:36","slug":"moving-joomla-site-virtuemart-problem-frontend-and-admin-panel-points-to-old-path","status":"publish","type":"post","link":"https:\/\/hasibul.info\/blog\/2009\/11\/14\/moving-joomla-site-virtuemart-problem-frontend-and-admin-panel-points-to-old-path\/","title":{"rendered":"Moving Joomla Site &#8211; VirtueMart problem &#8211; frontend and admin panel points to old path."},"content":{"rendered":"<p>I recently encountered a problem with a Joomla website which had VirtuMart in it. I moved the whole joomla site from a demo server to an active server with the actual domain pointing to it. Everything worked fine as I did the required changes in the configuration.php of the joomla folder. But the VirtueMart component was still pointing to the old demo server path. I then googles a bit and found a very good solution. I changed the config file of the virtuemart component located at:<\/p>\n<blockquote><p><strong>\/administrator\/components\/com_virtuemart\/virtuemart.cfg.php<\/strong><\/p><\/blockquote>\n<p>The following two paths need to be changed with the new path:<\/p>\n<ol>\n<li><strong><span><span>define( <\/span><span>&#8216;URL&#8217;<\/span><span>, <\/span><span>&#8216;http:\/\/demoserverURL\/joomlafolder\/&#8217;<\/span><span> ); <\/span><\/span><\/strong><\/li>\n<li><strong><span>define(\u00a0<span>&#8216;SECUREURL&#8217;<\/span><span>, <\/span><span>&#8216;http:\/\/<\/span><\/span><span><span>demoserverURL\/joomlafolder\/<\/span><\/span><span><span>&#8216;<\/span><span> );<\/span><\/span><\/strong><\/li>\n<\/ol>\n<p><span><span>Instead of the &#8220;demoserverLink\/joomlafolder&#8221; use your actual joomla folder link. <\/span><\/span><\/p>\n<p><span><span>You might face a new problem while doing this. If you are using ftp to download the file &#8220;<\/span><\/span>virtuemart.cfg.php&#8221; and re-upload it with the changed path, you may get an &#8220;<strong>Permission Denied<\/strong>&#8221; error. There is a good solution for this too. Install a joomla component named &#8220;<strong>Extplorer<\/strong>&#8221; or &#8220;<strong>JoomlaXplorer<\/strong>&#8220;. This component is a joomla admin panel component that gives you the power to upload\/delete\/edit files in the joomla site. After installing any one of these two components just browse through the file and edit the above mentioned two lines of the &#8220;virtuemart.cfg.php&#8221; file.<\/p>\n<p>I could get rid of the problem this way, I hope the solution will be useful for anyone facing the same problem.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently encountered a problem with a Joomla website which had VirtuMart in it. I moved the whole joomla site from a demo server to an active server with the actual domain pointing to it. Everything worked fine as I did the required changes in the configuration.php of the joomla folder. But the VirtueMart component&hellip;<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5,13,40,17,6,12,1],"tags":[262,41,260,42],"how-to":[],"_links":{"self":[{"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/posts\/167"}],"collection":[{"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/comments?post=167"}],"version-history":[{"count":0,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/posts\/167\/revisions"}],"wp:attachment":[{"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/media?parent=167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/categories?post=167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/tags?post=167"},{"taxonomy":"how-to","embeddable":true,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/how-to?post=167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}