Interview Questions.

Top 100+ Oscommerce Interview Questions And Answers

fluid

Top 100+ Oscommerce Interview Questions And Answers

Question 1. Html Text Has Priority Over An Image For The Banner?

Answer :

yes, HTML Text has precedence over an photo for the banner.

Question 2. By Default, Oscommerce Saves All Uploaded Image Files To The Images Folder?

Answer :

Yes, By default, osCommerce saves all uploaded photograph files to the pics folder.

HTML 5 Interview Questions
Question three. Which Class Property Is An Array Containing One Or More Allowable File Upload Types?

Answer :

$extensions class property is an array containing one or greater allowable record upload kinds.

Question four. In The Class Method I.E Set_extensions($extensions), $extensions Can Either Be A String Containing One Extension Type, Or An Array Containing Many Extension Types?

Answer :

Yes, In the elegance technique i.E set_extensions($extensions), $extensions can either be a string containing one extension kind, or an array containing many extension sorts.

HTML five Tutorial
Question five. How To Setup Oscommerce To Use Smtp?

Answer :

osCommerce might be setup to use the SMTP functionality interior its lower back-quit, however there are some guide adjustments wished so that you can absolutely setup the SMTP capability of this utility.

Follow those steps to finish the setup:

Access the osCommerce administrative panel. The URL need to be just like http://yourdomain.Com/admin.
Go to Configuration > Email Options.
Choose "SMTP" as the Transport Method.
Zend Interview Questions
Question 6. How To Secure Oscommerce?

Answer :

In order to relaxed OsCommerce please follow these steps:

Download all of your OsCommerce documents
Create a backup in case something is going wrong later
Scan all of the documents with an antivirus software program and delete the suspicious ones
Check manually for suspicious code to your documents. If you have got doubts about elements of the code, test the original OsCommerce files
Make sure there aren't any .Php (.Pl, .Cgi) files on your pix listing. Executable documents are not presupposed to be there under any circumstances.
Once you perform the above steps add your documents on your webserver.
Make certain that your set up is the latest OsCommerce model. If no longer, improve it following the reputable commands
Password shield your admin directory moreover or limit its access by IP
Disable the subsequent functions in PHP:

disable_functions =exec,passthru,shell_exec,proc_open,popen,curl_exec,curl_multi_exec
Besides that, make sure that register_globals and allow_url_include are turned off.

Depending on your host and webserver attempt to discover additional protection in mod_security rules or suhosin rules relevant to OsCommerce.
Question 7. Oscommerce Security Check?

Answer :

If you've got any doubts that your OsCommerce security has been compromised please observe those steps:

Check when you have any .Personal home page files in the pics listing. By default OsCommerce does now not store any .Hypertext Preprocessor files there.
Check for suspicious admin users. This can be finished by way of logging on your OsCommerce admin backend and deciding on the option 'Administrators' from the Configuration menu. By default there may be only one administrator.
Download all your documents and experiment them with an antivirus software. This can help find a few famous exploits but now not all.
Zend Tutorial AJAX Interview Questions
Question eight. What Are Oscommerce Admin Login Problems?

Answer :

If you can not log into your OsCommerce admin place attempt the following:

Open your OsCommerce database through PhpMyAdmin. If you are not certain which it's miles check the record consists of/configure.Personal home page and search for a consistent referred to as 'DB_DATABASE'.
Run the following  queries:
CREATE TABLE IF NOT EXISTS directors (
 id int(eleven) NOT NULL auto_increment,
 user_name varchar(32) NOT NULL,
 user_password varchar(forty) NOT NULL,
 PRIMARY KEY  (identity)
) ;
INSERT INTO directors (identity, user_name, user_password) VALUES
(1, 'adm', '2272bd2219e0bbc353e33f1e774c9d1e:eleven');

The above will create a brand new administrator with login 'adm' and password 'pass11'.
Question 9. How To Optimize Oscommerce For Better Performance?

Answer :

osCommerce is one of the maximum famous unfastened purchasing cart packages presently to be had.

Here are a few guidelines on a way to improve the performance of your osCommerce shopping cart:

Check your website the use of this on-line device. It will come up with valuable records on what modifications can be made which will improve its performance.
Reduce the quantity of merchandise shown in your principal web page.
Optimize your osCommerce database.
Keep the variety of extra contributions as low as possible. Install simplest the most vital ones.
Disable all default osCommerce features you are not using.
Keep the quantity of external links as little as viable.
MySQL Interview Questions
Question 10. How To Configure Oscommerce To Work With A New Domain?

Answer :

In order to configure osCommerce to work properly with any other domain, you have to alter the two configure.Php documents in consists of/ and admin/includes/ folders to reflect the brand new area.

The settings that should be changed in consists of /configure.Php are:

HTTP_SERVER - you must alternate this on your new area call, e.G. Http://newdomain.Com:
outline('HTTP_SERVER', 'http://newdomain.Com');
HTTP_COOKIE_DOMAIN - again, this need to be changed to mirror your new area name:
outline('HTTP_COOKIE_DOMAIN', 'newdomain.Com');
If you are the use of SSL you must additionally modify:

HTTPS_SERVER - as an instance:

define('HTTPS_SERVER', 'https://newdomain.Com');
HTTPS_COOKIE_DOMAIN - set this to:
outline('HTTPS_COOKIE_DOMAIN', 'newdomain.Com');
In admin/includes/configure.Hypertext Preprocessor you ought to modify:
HTTP_SERVER - you must alternate this in your new area call, e.G. Http://newdomain.Com:
define('HTTP_SERVER', 'http://newdomain.Com');
HTTP_CATALOG_SERVER - once more, this ought to be changed to your new area call:
outline('HTTP_CATALOG_SERVER', 'http://newdomain.Com');
If you are the usage of SSL, you should also exchange HTTPS_CATALOG_SERVER to:
outline('HTTPS_CATALOG_SERVER', 'https://newdomain.Com');

AJAX Tutorial
Question 11. E-trade Application Comparison: Oscommerce Vs Cre Loaded?

Answer :

In this we are able to listing the maximum important professionals and cons of osCommerce and CRE Loaded Standard. Hopefully, this can help you on your preference of a unfastened shopping cart software.

CRE Loaded:

pros:

very clean to use;
the standard installation includes a number of more modules;
well-prepared admin location;
better templates and template management;
smooth to upgrade;
cons:

a number of the default modules are rarely used;
on the other hand, some useful modules are part of the paid CRE Loaded package deal;
osCommerce:

pros:

smooth installation;
loads of additional contributions which substantially make bigger the software's functionality;
enough documentation and discussion board assist;
 cons:

the set up of most contributions requires adjustments in the utility's code and this can result in problems;
new versions and upgrades are released very not often;
older variations do no longer paintings properly with MySQL 5;
the installation of a new template is surely a entire new osCommerce set up;
upgrading osCommerce isn't always an smooth mission;
Drupal Interview Questions
Question 12. E-trade Application Comparison: Oscommerce Vs Zen Cart?

Answer :

osCommerce and Zen Cart are  of the most popular free shopping cart answers. But which one is higher? Which this type of two could be more suitable for your desires. In this text we've attempted to make a comparison between osCommerce and Zen Cart.

OsCommerce:

pros:

easy installation;
a variety of extra contributions which substantially increase the utility's functionality;
enough documentation and forum guide;
 cons:

the set up of maximum contributions requires adjustments in the application's code and this will cause issues;
new variations and improvements are released very rarely;
older variations do now not paintings nicely with MySQL 5;
the installation of a brand new template is surely a complete new osCommerce set up;
upgrading osCommerce isn't always an easy assignment; 
Zen Cart:

professionals:

less difficult to use with extra intuitive admin region;
more at ease;
greater modules covered in the default installation;
cons:

mediocre default templates;
upgrading Zen Cart isn't always an clean challenge both;
fewer extra modules/contributions;
HTML five Interview Questions
Question thirteen. How Can I See The Exact Version Of My Oscommerce?

Answer :

In order to check the version of your osCommerce, you need to open the includes/application_top.Hypertext Preprocessor file placed on your osCommerce installation folder.

Look for these two lines:

// define the undertaking version

outline('PROJECT_VERSION', 'osCommerce Online Merchant v2.2 RC2a');

The cost after PROJECT_VERSION defines your current osCommerce model.

MySQL Tutorial
Question 14. I’m Getting A 1054 Error In My Oscommerce After A Website/account Transfer?

Answer :

Sometimes, after a internet site or account switch, your osCommerce might also give a 1054 - Unknown column 'p.Products_id' in 'on clause' mistakes whilst surfing your products  or whilst the use of the hunt tool.

The most common purpose for this difficulty is that your account has been moved from a server jogging MySQL four to a server jogging MySQL 5.

As an answer, you could try applying this osCommerce contribution.

In most instances, this could remedy the 1054 trouble. If, however, the hassle persists, the first-rate solution could be to have your account  migrated to a server walking MySQL 4.

Question 15. How To Transfer My Oscommerce From One Host To Another?

Answer :

Transferring your osCommerce utility includes copying your files and database and editing the two configure.Php documents in consists of/ and admin/consists of/ folders to work with the brand new server settings.

The most critical settings which must be modified in consists of/configure.Php are:

HTTP_SERVER - you must set this for your area call, e.G. Http://yourdomain.Com:

define('HTTP_SERVER', 'http://yourdomain.Com');

DIR_FS_CATALOG - absolutely the path for your keep, e.G. /home/user/public_html/shop/:

outline('DIR_FS_CATALOG', '/home/person/public_html/keep');

DB_SERVER - you ought to set this to localhost:

define('DB_SERVER', 'localhost');

DB_SERVER_USERNAME - the username with privileges to get entry to the shop database:

define('DB_SERVER_USERNAME', 'user_osc1');

DB_SERVER_PASSWORD - the password for accessing the database:

define('DB_SERVER_PASSWORD', 'oscpassword');

DB_DATABASE - the store database:

outline('DB_DATABASE', 'user_osc1');

In admin/includes/configure.Personal home page, in conjunction with the settings above, you have to additionally regulate:
DIR_FS_DOCUMENT_ROOT - the absolute direction to your store, e.G. /domestic/user/public_html/store/:

outline('DIR_FS_DOCUMENT_ROOT', '/home/person/public_html/keep/');

DIR_FS_ADMIN - the absolute direction to the admin folder, e.G. /domestic/user/public_html/store/admin/:

define('DIR_FS_ADMIN', '/home/person/public_html/keep/admin/');
Magento Interview Questions
Question sixteen. How To Add A Banner In Oscommerce?

Answer :

You can without difficulty upload a custom banner on your osCommerce save from the application's admin region > Tools > Banner Manager.

Drupal Tutorial
Question 17. How To Generate The Necessary Certificates For Paypal Ipn?

Answer :

The PayPal IPN contribution for osCommerce gives OpenSSL public/non-public key encryption to safely ship the order statistics to PayPal at some stage in checkout.

Here is statistics on how to generate the necessary certificate:

You ought to have OpenSSL established to your pc. Linux distrubutions must have it hooked up by way of default, and a Windows version can be downloaded from here.
You must generate a personal key the usage of this command:

openssl genrsa -out my-prvkey.Pem 1024

This will create a 1024-bit RSA personal key inside the record my-prvkey.Pem.

You must generate a public certificate the use of this command:

openssl req -new -key my-prvkey.Pem -x509 -days 365 -out my-pubcert.Pem

This will create a public certificate in the document my-pubcert.Pem.

Then you ought to upload your public certificate to the PayPal internet site:

four.1. Log in in your PayPal account.
Four.2. Click the Profile tab.
Four.3. In the Seller Preferences column you ought to click on the Encrypted Payment Settings link. The Website Payment Certificates web page ought to appear.
4.4. Scroll all the way down to the Your Public Certificates phase and click on the Add button. The Add Certificate page must seem.
Four.5. Click the Browse button and select the public certificate which you want to add to PayPal out of your local pc.
4.6. Click the Add button. After you upload the general public certificates successfully, it seems inside the Your Public Certificates section of the Website Payment Certificates page.

A certificate ID will be assigned on your public certificates. You want this certificates ID to encrypt your charge buttons by means of using PayPal's Encrypted Website Payments software.
Node.Js Interview Questions
Question 18. How To Configure Oscommerce To Work With Ssl?

Answer :

In order to configure osCommerce to work with SSL you should open the document public_html/catalog/consists of/configure.Php and make the subsequent changes:

outline('HTTP_SERVER', 'http://www.Yourdomain.Com'); // eg, http://localhost - ought to not be empty for effective servers
define('HTTPS_SERVER', 'https://yourdomain.Com'); // eg, https://localhost - need to no longer be empty for efficient servers
define('ENABLE_SSL', real); // secure webserver for checkout manner
outline('HTTP_COOKIE_DOMAIN', 'www.Yourdomain.Com');
outline('HTTPS_COOKIE_DOMAIN', 'yourdomain.Com');
define('HTTP_COOKIE_PATH', '/catalog/');
outline('HTTPS_COOKIE_PATH', '/catalog/');
outline('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/catalog/');

Similar to the above adjustments ought to be made in the report public_html/catalog/admin/consists of/configure.Php that's answerable for the admin region configuration.

In the above instance we are configuring an osCommerce set up inside the catalog directory with domain yourdomain.Com. You must modify the above settings for your details.

Zend Interview Questions
Question 19. How To Install Ecommerce On My Hosting Account?

Answer :

By default all Siteground debts include no pre-set up packages. An Ecommerce % can also include numerous features and most often starts offevolved with an OsCommerce, a CreLoaded or a Zencart installation.

Magento Tutorial
Question 20. Oscommerce Does Not Use The Private Ssl?

Answer :

After purchasing your private SSL you have to manually reconfigure your software to apply it.

CSS Advanced Interview Questions
Question 21. Zencart / Oscommerce / Creloaded Shows Security Warnings.?

Answer :

After a ZenCart / osCommerce / CRELoaded set up you could acquire the subsequent caution:

"Warning: I am capable of write to the configuration document: /home/user/public_html/includes/configure.Php. This is a capacity protection risk..."

In order to repair this trouble you may follow those steps:

Log for your cPanel and go to the File manager;
First navigate for your keep's listing after which go to the consists of listing in which you may locate the configure.Personal home page report;
Click on the file in query and from the pinnacle right menu trade its permissions to 444;
You will ought to change similarly the permissions of the document configure.Personal home page in your keep's admin/includes directory.
Question 22. How To Install A Different Template To An Existing Oscommerce?

Answer :

osCommerce does not aid a template installer option, as Joomla CMS or phpBB forum do, for instance. Installing a new template for osCommerce is without a doubt a new set up of the osCommerce files.

The installation of the template will not affect your database which means that you will no longer lose your information and products.

Node.Js Tutorial
Question 23. What We Do If The Requested Url /account.Hypertext Preprocessor Was Not Found On This Server?

Answer :

This trouble is most usually due to incorrectly configured SSL settings on your OS Commerce. If you don now not have non-public SSL and your OS Commerce is enabled you may acquire this error.

Enabling/disabling SSL in osCommerce is pretty straightforward. You must edit /consists of/configure.Hypertext Preprocessor to disable SSL and the code takes care of the relaxation. This is an example of SSL enabled configuration:

// Define the webserver and route parameters
// * DIR_FS_* = Filesystem directories (nearby/bodily)
// * DIR_WS_* = Webserver directories (digital/URL)

outline('HTTP_SERVER', 'http://www.Yourdomain.Com'); // eg, http://localhost - have to now not be empty for effective servers

define('HTTPS_SERVER', 'https://yourdomain.Com'); // eg, https://localhost - have to now not be empty for productive servers

outline('ENABLE_SSL', real); // comfy webserver for checkout process?

Define('HTTP_COOKIE_DOMAIN', 'www.Yourdomain.Com');
define('HTTPS_COOKIE_DOMAIN', 'yourdomain.Com');
outline('HTTP_COOKIE_PATH', '/catalog/');
outline('HTTPS_COOKIE_PATH', '/catalog/');
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/catalog/');
In order to disable the SSL you'll should update
define('ENABLE_SSL', actual);
with
outline('ENABLE_SSL', false);

WordPress Interview Questions




CFG