Error to create an sub-domain in OpenCart 1.5.6, - subdomain

Good morning,
I create all steps as usually for create an sub-domain:
1. I create an sub-domain using CPanel;
2. I specified from setting on ¨Address URL¨ as usually in OpenCart form :
http://demo1.my-shopping.ro/
So, I don´t see the theme choose instead of those message which can be see if you will type in browser the address of my sub-domain.
What I don´t understand is if the steps is so simple, why don´t work?
I waiting much early is possible your answer and advice or other suggestion which can help me to resolve the error.
Thank you in advance for support and collaboration.
Best regards.

first of all you need to create sub domain i.estore2.yourdomain.com as shown above or you can host it on sub category also i.e www.yourdomain.com/store2/ then goto yourdomain.com/admin and in opencart admin panel goto settings click Insert button fill details as show below then move you clone to those folder e.g store2 and edit config.php as show below
`<?php
// HTTP
define('HTTP_SERVER', 'http://yourdomain.com/store2/');
// HTTPS
define('HTTPS_SERVER', 'http://yourdomain.com/store2/');
?>

Related

Multiple Shiny apps using the ui to populate the second app

I currently have a app that manages projects. The user sees a list of projects and can select one. They can should (it would be nice) be able to click a run button and have another app open. The parameters stored in the project they selected are populated into the second application. The issue I am having is firing the second application. runApp generates the following.
ui code line:
actionButton("RunProj", "Run"),
Warning in run(timeoutMs) :
Unhandled error in observer: Key / already in use
observeEvent(input$RunProj)
I would like to trigger the second app and pass in the location of the project directory I have looked at parseQueryString and still trying to figure out a way to include that. Maybe via a redirect?
Any suggests would be much appreciated.
Regards,
Rich
I'm not 100% sure if I understand your intention correctly but here is a few things I think you may want to think about.
In one project, if you want to run a few kinds of analyses, you may want to try navbarPage
If there are many different types of analyses, you may want to try shinydashboard
If you know the link to each app and you really want to add those "run" buttons, you can add a button manually in ui.R. I think you can write some codes in server.r to generate the link based on your database.
tags$a(href="the link to your apps", class= "btn btn-default", "Run App")

Personal wiki: changing the names of several pages

In my wiki I sent in a request to add a new namespace called 'Exchange', however adding the new namespace will delete all pages with the name 'Exchange:blahblah'. So I would need to change the page name for all these pages before requesting to add the namespace. The problem is that there are just under 1000 pages such as 'Exchange:blahblah' and changing the names of all of them would take up too much time.
My question is how, if possible, can I change the names of all these pages without having to manually alter the name individually. That is, if I wanted to change every exchange page from 'Exchange:blahblah' to 'Exchange1:blahblah', then is there a quick and easy way to change them all. All the pages are under the same category, if that helps.
Any advice would be greatly appreciated.
Add the namespace then run php maintenance/namespaceDupes.php --fix --move-talk from shell. See its documentation for details.

Sonarqube Configuration Option Missing

I cannot seem to get the Configuration Button to appear in the Top right hand corner to amend Rule contents (I can Deactivate or Change Severity but would like to be able to change contents also).
I have tried this both using the default admin/admin and my own user both of which have the Global Permission 'Administer Quality Profile and Gates' set for User and Group.
This has been tried with both the In-Built Profile (Sonar way) and my own created from a copy of 'Sonar Way'.
We are using Version 4.5.2 but the same issues seem to exist with Version 5.1 which I have also downloaded.
Don't know whether this is something stupid I am doing, a Plug-In required or possibly a Paid Option but any help or information would be gratefully received as all the Documentation and YouTube vids seem to suggest we are configured correctly and should be able to do this.
Regards,
Dave.
There's no link named "Configuration" in version 4.5. I suppose you mix management of "Quality Profiles", which requires the permission "Administer Quality Profiles and Gates" and global management console, named "Settings", which requires the permission "Administer System".
Screenshot: https://www.evernote.com/l/APs76rLwBZJHEaI7a5C7di--y3peIf42BiY

how to add another environment in advanced template

I m using yii2 2.0-dev AdvancedTemplate and need to add another environment (API),
similar to the currently working Frontend, Backend.
I tried to copy the files and search trough the settings but there are still some errors
and I feel this is the wrong way to do it...
There should be automated/console way to do this... but I find nothing in the docs.
Any ideas ?
Just create folder API in /environments/[prod|dev|other] and call ./init command

How to get all data in JSON format from OpenCart 1.5.4 using vqmode and jQueryMobile

I'm starting to make a mobile application to my shopping cart opencart 1.5.4 and would like to make all types of operations from the application, ie the customer to have all that I offer in OC, see Categories , the goods, create a new user account, log into the account, add to shopping cart, and finally to pay. but I want to make is native code in the app because I will use the phone functions.
for that reason I need to work around with web services, either nusoap or json (I prefer the latter since oc is designed for use).
I read in other questions OcJoy has a solution for this, but I do not know where to download or buy it.
however, would appreciate someone to give me a light with examples of how to do it.
In another post answered by OcJoy, says to list the products had to modify the code in catalog / controller / product / catalog.php, however, the file does not exist in my OC 1.5.4
I would greatly appreciate help with this situation.
Ok, I would create a xml file with this code...
<modification>
<id><![CDATA[JSON infor for APP]]></id>
<version><![CDATA[0.8]]></version>
<vqmver><![CDATA[2.3]]></vqmver>
<author><![CDATA[Jeremy Fisk (jeremyfisk#clear.net.nz)]]></author>
<file name="catalog/controller/product/category.php">
<operation>
<search position="replace" error="log"><![CDATA[$this->response->setOutput($this->render());]]></search>
<add><![CDATA[if(isset($this->request->get['json'])) {
echo json_encode($this->data['products']);
die;
} else $this->response->setOutput($this->render()); ]]></add>
</operation>
</file>
and then save it in the vqmod/xml folder... this means that if you navigate to http://example.com/index?route=product/category&path=26 it will show the page like normal, however if you add the json atribute to the url you will get the json data... the url for this would be http://example.com/index?route=product/category&path=26&json
This same code could be modified to add json data for the cart, for checkout, for product pages etc etc...
I trust this is off assistance to you and i look forward to hearing how you get on...
Regards
Jeremy