Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Responsive osCommerce - Bootstrap


Recommended Posts

I have an old oscommerce site with v2.2 RC2, yeah I know its old but I need to create all new site based on the old one quick.  php v2 is too old for my server host. Tried 2.3.4 but it wont even start to load for the set up. WSOD. I don't have time for this nonsense.  Last thing I can find is you all talk about  a BS version and a BS Gold. Are there plenty of updates for it?  From what you all are saying I don't understand any of it. Anyone speak English here?  What's up with this? Which is newest? I don't want to do a total new set up and find there is something else right around the corner it won't work with.  Anyway - who can point me in the right direction to hit the ground running? I thought I had the latest version, and I am finding out now no it is not. I liked the look and feel of it cause it reminded me of the 2.2 when I first did it. Why is the latest not on the normal oscommerce download page?  I am seeing samples of it and it is a white space and weird.  Not what I am used to.  Will it be hard for me to make my store look like the old store? Don't tell me this is the new trend - I hate it. Help....

Link to comment
Share on other sites

  • Replies 2.2k
  • Created
  • Last Reply
8 hours ago, jimsmega said:

I have an old oscommerce site with v2.2 RC2, yeah I know its old but I need to create all new site based on the old one quick.  php v2 is too old for my server host. Tried 2.3.4 but it wont even start to load for the set up. WSOD. I don't have time for this nonsense.  Last thing I can find is you all talk about  a BS version and a BS Gold. Are there plenty of updates for it?  From what you all are saying I don't understand any of it. Anyone speak English here?  What's up with this? Which is newest? I don't want to do a total new set up and find there is something else right around the corner it won't work with.  Anyway - who can point me in the right direction to hit the ground running? I thought I had the latest version, and I am finding out now no it is not. I liked the look and feel of it cause it reminded me of the 2.2 when I first did it. Why is the latest not on the normal oscommerce download page?  I am seeing samples of it and it is a white space and weird.  Not what I am used to.  Will it be hard for me to make my store look like the old store? Don't tell me this is the new trend - I hate it. Help....

Take a breath, Stefanie! I know all this stuff is frustrating. A modern version (which the official 2.3.4 isn't) won't look exactly like your familiar store because it needs to work on mobiles - half your visitors will be using them. You should be taking the BS community version everyone is talking about (Gold/Edge). Although it's not an official version, its catalog code is incorporated into the next official version (currently in beta) and we're assured there will be a migration path from Edge to one of the official releases. Customisation (addons) done in the community version will give less problem for upgrades if done properly. WSOD is probably a php version issue. Here's what I think you should do:

- download the Edge version

- create a subfolder in your webspace to use for trying out the new version (eg. /test)

- make sure you're running php5.4 or higher in that subfolder (but not your main store or you'll break it)

- create an empty database to use for your install

- run the install on the new shop by visiting /test

- check your new install works, and have a look at how the modules work in this version (boxes, content)

- create a copy of your live database

- run the migration scripts on your database copy (see answer to you here https://www.oscommerce.com/forums/topic/408979-upgrading-to-the-latest-version/?do=findComment&comment=1757560)

- change the test config files to point at the migrated database instead

- make it look how you want!

...if you have addons in 2.2 you may need to do some extra stuff to cater for them. When you get stuck, start a thread and we'll help on the detail. If I don't see it, message me.

 

Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released.

Looking for a payment or shipping module? Maybe I've already done it.

Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x

Link to comment
Share on other sites

  • 2 weeks later...
On 26/06/2017 at 0:04 PM, burt said:

MySQL 5.7 compatibility

https://github.com/gburton/Responsive-osCommerce/pull/563

Pending commit for testing.  2 lines of code to add.

Call out to folks working on their own server (physical or virtual) to test this please. It needs trying out on an installation running the default server options for MySQL 5.7 which won't be the case on shared hosting.

Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released.

Looking for a payment or shipping module? Maybe I've already done it.

Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x

Link to comment
Share on other sites

  • 2 weeks later...

Question, is there an addon for this version to make the image bigger? In the listing and in the product info, in the normal version when the user clicks on the image, the image gets bigger. I don't see that happening anymore.

Link to comment
Share on other sites

trier  I don't understand what you mean by "promote" but the Edge version is the latest version, if that helps.

fanaya2000 The size of the popup image has always been the full size of the image. It is never a good idea to artificially enlarge an image since definition can be lost.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

1 hour ago, Jack_mcs said:

trier  I don't understand what you mean by "promote" but the Edge version is the latest version, if that helps.

fanaya2000 The size of the popup image has always been the full size of the image. It is never a good idea to artificially enlarge an image since definition can be lost.

I don't get a popup. Maybe I didn't install something correctly? I click in the image and nothing happens.

Link to comment
Share on other sites

Hello @fanaya2000,

check in your admin area if you have the following module installed and activated:

admin -> modules -> header tags -> colorbox script

and then in the module check if you have the page "product_info.php" ticked

Link to comment
Share on other sites

7 minutes ago, raiwa said:

Hello @fanaya2000,

check in your admin area if you have the following module installed and activated:

admin -> modules -> header tags -> colorbox script

and then in the module check if you have the page "product_info.php" ticked

Thank you very much, that was the issue.

Link to comment
Share on other sites

I am learning oscommerce this is a good ecommerce platform, would like to know if I can use Gold Download and Edge (from Burt) for commercial use.

If this turns out to be a long term platform hopefully we will be able to afford a paid template in future.

Link to comment
Share on other sites

Do you mean "can I use this software for a commercial, money-making online store"? Of course! That's what about 99.999% of the other people here are doing. If you mean "can I sell copies of the store, or otherwise make money off this software itself", there are limits on that (e.g., you can sell services and templates). Please read the license carefully and consult with an Intellectual Property lawyer first. Even better, state here what you want to do, and the people here will tell you if it's acceptable.

You don't need any paid templates. You are free to modify the software and its configuration (CSS, etc.) yourself. In fact, templates tend to be a big problem for store owners -- best to avoid most of them.

By the way, you should use osC 2.3.4 BS Edge, not Gold. You don't use both of them together.

Link to comment
Share on other sites

  • 1 month later...

Hi,

I installed the 2.3.4-BS-Edge on a sub-domain and renamed the admin folder. The site comes up fine, but the admin login page gives a "The page isn’t redirecting properly" error. I looked online and on osC forums for a solution and nothing was relevant. This issue exists in the three browsers I tested it in.

I called my hosting tech support and they could not resolve it saying that it is redirecting to itself over and over again. I have not touched the code yet as it is a fresh install.

I think it is likely my /admin/includes/configure.php file settings and I've tried different variations.

One other thing that might be of relevance: my original hosting account is set to PHP5.3 and this sub-domain is set to PHP7.1.7 via AddHandler directive in htaccess and the php.ini file in that sub-domain. Though I don't think this could be the cause.

Any help would be greatly appreciated. Thanks.

 

 

osCommerce: made for programmers, ...because store owners do not want to be programmers.

https://trends.google.com/trends/explore?date=all&geo=US&q=oscommerce

Link to comment
Share on other sites

Hello @Demitry,

You may post us your admin/includes/configure.php to get more info.

Wipe out sensitive information like database access.

Link to comment
Share on other sites

ok, thank you Rainer. Please keep in mind that this is a sub-domain... a folder inside of another folder, as in /myAccountName/other_sites/test/ that can be accessed from a browser as test.mydomain.com

 

<?php
/*
  $Id$
  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2014 osCommerce
  Released under the GNU General Public License
*/
// define our webserver variables
// FS = Filesystem (physical)
// WS = Webserver (virtual)
  define('HTTP_SERVER', 'http://test.mydomain.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers
  define('HTTPS_SERVER', 'http://test.mydomain.com');
  define('ENABLE_SSL', false);
  define('HTTP_COOKIE_DOMAIN', '/');
  define('HTTPS_COOKIE_DOMAIN', '');
  define('HTTP_COOKIE_PATH', '/');
  define('HTTPS_COOKIE_PATH', '');
  define('HTTP_CATALOG_SERVER', 'http://test.mydomain.com');
  define('HTTPS_CATALOG_SERVER', '');
  define('ENABLE_SSL_CATALOG', false); // secure webserver for catalog module
  //define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
  define('DIR_FS_DOCUMENT_ROOT', '/home/myAccountName/public_html/other_sites/test/');
  define('DIR_WS_ADMIN', '/admin/');
  define('DIR_WS_HTTPS_ADMIN', '/admin/');
  //define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);
  define('DIR_FS_ADMIN', '/home/myAccountName/public_html/other_sites/test/admin/');
  define('DIR_WS_CATALOG', '/');
  define('DIR_WS_HTTPS_CATALOG', '/');
  //define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);
  define('DIR_FS_CATALOG', '/home/myAccountName/public_html/other_sites/test/');
  define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
  define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
  define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
  define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
  define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
  define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
  define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
  define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
  define('DB_SERVER', 'localhost');
  define('DB_SERVER_USERNAME', '*********');
  define('DB_SERVER_PASSWORD', '*********');
  define('DB_DATABASE', '*********');
  define('USE_PCONNECT', 'false');
  define('STORE_SESSIONS', 'mysql');
?>

 

osCommerce: made for programmers, ...because store owners do not want to be programmers.

https://trends.google.com/trends/explore?date=all&amp;geo=US&amp;q=oscommerce

Link to comment
Share on other sites

why you not use:

//define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, 
  //define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);
  //define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

It seems that your configure.php is wrong. Normaly, if you install your shop with the install routine, your configure files would be
correct.

  • The clever one learn from everything and from everybody
  • The normal one learn from his experience
  • The silly one knows everything better

[socrates, 412 before Christ]

Computers help us with the problems we wouldn't have without them!
99.9% of the bugs sit in front of the computer!
My programmed add-ons: WDW EasyTabs 1.0.3, WDW Facebook Like 1.0.0

if(isset($this) || !isset($this)){ // that's the question...

 

Link to comment
Share on other sites

Hi Manfred,

I did try it that way at first, but it was not working and I kept getting the same page error. What I posted was the latest version of it... after trying everything I could to get that admin login page to load.

I changed those variables because I thought they may be causing the problem by using the mydomain instead of the test sub-domain. So, I figured I would define the direct path.

I'd love to know of a tool that could pin-point this problem.

If you're saying it is not the /admin/includes/configure.php file,.. then it has to be something else.

osCommerce: made for programmers, ...because store owners do not want to be programmers.

https://trends.google.com/trends/explore?date=all&amp;geo=US&amp;q=oscommerce

Link to comment
Share on other sites

Hi Frank,

Thank you for the reply and the online header sniffer tools. I created another sub-domain called "dev2" and installed 2.3.4-BS-Edge on it without changing the admin folder name. I also reinstalled or re-created the database in the C-Panel and ran the SQL file in phpMyAdmin.

I tried to go through the auto-install, but it got stuck on the first step in trying to connect to the database. So, I manually filled out the two configure.php files and uploaded them. The admin section has the same issue and when I try to install it via the auto-installer, it still gets stuck on that first step in connecting to the database.  The catalog part is also unable to connect to the database though the home page displays with all the test products.

I renamed the main htaccess file in the main/parent account to eliminate it as the cause that might affecting any & all other folders & sub-domains, and it is not the cause of this issue.

I went to web-sniffer and the site was not pulling up so I tried the suggested alternative site, http://testuri.org/sniffer and I also ran this same page on https://httpstatus.io/ the screenshots are attached, but other than seeing that there is a 302 redirect on it, I cannot figure it out from this data. Is there anything that points to a cause from this info?

Next, I will try to install a clean 2.3.4.1 version to see if I gets the same issue. This will tell me if it is a BS-Edge bug or some issue with my server configuration or database user name and password. I did think that there may be an issue with the user name and password, because I am using underscore in the user name and a couple of special characters in the password. If the new BS-Edge is coded to strip those, then it would certainly cause a connectivity issue. However, this does not explain the redirecting.

I also looked at the tep_db_connect() function in BS-Edge and in the newest osC v2.3.4.1 and there is only one line difference, which I don't think is the issue.

 

 

 

headers.png

osCommerce: made for programmers, ...because store owners do not want to be programmers.

https://trends.google.com/trends/explore?date=all&amp;geo=US&amp;q=oscommerce

Link to comment
Share on other sites

yeah, I tried FF, Chrome, and IE. Nothing is working. I will try v2.3.4.1 now and then try the most basic user name and password and simplest database name.

I activated error logs and nothing was reporting and my hosting company tech support has no idea other than blaming it on the software.

osCommerce: made for programmers, ...because store owners do not want to be programmers.

https://trends.google.com/trends/explore?date=all&amp;geo=US&amp;q=oscommerce

Link to comment
Share on other sites

@Demitry

I installed a new subdomain, created a new database, installed the latest edge. It worked perfectly for me. This is the configure.php that was created:

  define('HTTP_SERVER', 'http://subdomain.domain.com');
  define('HTTPS_SERVER', 'http://subdomain.domain.com');
  define('ENABLE_SSL', false);
  define('HTTP_COOKIE_DOMAIN', '');
  define('HTTPS_COOKIE_DOMAIN', '');
  define('HTTP_COOKIE_PATH', '/admin');
  define('HTTPS_COOKIE_PATH', '/admin');
  define('HTTP_CATALOG_SERVER', 'http://subdomain.domain.com');
  define('HTTPS_CATALOG_SERVER', 'http://subdomain.domain.com');
  define('ENABLE_SSL_CATALOG', 'false');
  define('DIR_FS_DOCUMENT_ROOT', '/home/user/public_html/subdomain/');
  define('DIR_WS_ADMIN', '/admin/');
  define('DIR_WS_HTTPS_ADMIN', '/admin/');
  define('DIR_FS_ADMIN', '/home/user/public_html/subdomain/admin/');
  define('DIR_WS_CATALOG', '/');
  define('DIR_WS_HTTPS_CATALOG', '/');
  define('DIR_FS_CATALOG', '/home/user/public_html/subdomain/');

The only difference I can see is the cookie paths. It's either that or your server settings. Check if there is a redirect on that subdomain in cpanel perhaps.

osCommerce user since 2003! :thumbsup:

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...