Zen Cart Logo
Forums / General Questions / Looking to migrate to ZenCart from OSC

Looking to migrate to ZenCart from OSC

Views: 13,055

Results 181 to 200 of 200
8 Jul 2014, 4:47 PM
#181
digibooks avatar

digibooks

Zen Follower

Join Date:
May 2014
Location:
UK
Posts:
317
Plugin Contributions:
0

Looking to migrate to ZenCart from OSC

DigiBooks:

Hi all

Found a slight bug (possibly?)

I have some accounts that have been set to - Banned - not allowed to login or shop.

This is set when they fail to pay a subscription. I set up a test account - banned it and I get two messages:

Error: Access denied. (which is the one I want to amend the text to say that it's a subscription issue

and

Error: Sorry, there is no match for that email address and/or password.

... the name and password does exist - it's just that they have been banned ... is there a solution to this please?

Thanks in advance

I have to add to this that I see the logic ... banned and can't login so email/password is wrong ..... but if I select the other options that are Pending Approval then the customer can still download books ... so there's a bit of inconsistency somewhere

9 Jul 2014, 10:06 AM
#182
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Looking to migrate to ZenCart from OSC

DigiBooks:

.....
I have some accounts that have been set to - Banned - not allowed to login or shop.

This is set when they fail to pay a subscription. I set up a test account - banned it and I get two messages:

Error: Access denied. (which is the one I want to amend the text to say that it's a subscription issue

In the file /includes/languages/english/login.php you find around Line #36 :

define('TEXT_LOGIN_BANNED', 'Error: Access denied.'); 

The same define does exist in includes/languages/english/YOUR_TEMPLATE/login.php

So you will need to edit the latter to your liking.

9 Jul 2014, 8:36 PM
#183
digibooks avatar

digibooks

Zen Follower

Join Date:
May 2014
Location:
UK
Posts:
317
Plugin Contributions:
0

Re: Looking to migrate to ZenCart from OSC

frank18:

In the file /includes/languages/english/login.php you find around Line #36 :

define('TEXT_LOGIN_BANNED', 'Error: Access denied.');

> 
> The same define does exist in includes/languages/english/YOUR_TEMPLATE/login.php
> 
> So you will need to edit the latter to your liking.

Hi Frank

I can see what you're getting at but the problem as I see it is this:

If an active customer tries to login and entered email/password incorrectly they get the message saying that no match is found for email/password.

However if you ban the customer from logging in and shopping you get:

(1)  Access Denied

(2)  No match found for email/password

Surely you should only get message 1????? because they do exist but they have been banned.

I even tried choosing other options like account is pending approval yet it still allows the customer to shop and download books so I'm beginning to think there is a bit of a bug in the system somewhere.
10 Jul 2014, 6:50 AM
#184
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Looking to migrate to ZenCart from OSC

DigiBooks:

....
Surely you should only get message 1????? because they do exist but they have been banned.....

Alan, I tried to replicate your issue on a brand new 1.5.1 install and on a store upgraded to 1.5.1

In each of the 2 stores I 'banned' myself and then tried to log in with my own credentials. All I am getting is: 'Error: Access Denied' but no second message. So, no bug in a standard installation.

Not sure what could be wrong in your installation :dontgetit ?? Did you make any modifications in your includes/modules/pages/login/header_php.php file?

10 Jul 2014, 11:35 AM
#185
digibooks avatar

digibooks

Zen Follower

Join Date:
May 2014
Location:
UK
Posts:
317
Plugin Contributions:
0

Re: Looking to migrate to ZenCart from OSC

frank18:

Alan, I tried to replicate your issue on a brand new 1.5.1 install and on a store upgraded to 1.5.1

In each of the 2 stores I 'banned' myself and then tried to log in with my own credentials. All I am getting is: 'Error: Access Denied' but no second message. So, no bug in a standard installation.

Not sure what could be wrong in your installation :dontgetit ?? Did you make any modifications in your includes/modules/pages/login/header_php.php file?

Hi Frank

OK ... re-read your last comment ...... I think it could possibly be to do with the template I installed ... I will check in that templates settings for login.php to see if they have added anything outside of the standard file. If so I will do a compare between the two and remove anything that may have been added.

Thanks

10 Jul 2014, 8:50 PM
#186
digibooks avatar

digibooks

Zen Follower

Join Date:
May 2014
Location:
UK
Posts:
317
Plugin Contributions:
0

Re: Looking to migrate to ZenCart from OSC

Hopefully a simple question ....

I have changed the site dates to UK format but when I switch to Maintenance Mode it displays in US format (2014-07-10) ... is there a simple solution please.

Thanks

10 Jul 2014, 9:51 PM
#187
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Looking to migrate to ZenCart from OSC

Edit the file:
/includes/modules/pages/down_for_maintenance/header_php.php

and change the define inside to:

  define('TEXT_DATE_TIME', date('d-m-Y h:m:s', strtotime($maintenance_on_at_time->fields['last_modified'])));

You can adjust the date part:

date('d-m-Y h:m:s'

to your liking ...

14 Jul 2014, 9:16 PM
#188
digibooks avatar

digibooks

Zen Follower

Join Date:
May 2014
Location:
UK
Posts:
317
Plugin Contributions:
0

Re: Looking to migrate to ZenCart from OSC

Having finally completed the site how I want it to be ... v1.5.3 is launched :blink:

I have set up a testbed for the latest version and I'm working to re-enter all the changes to the various files I made on v1.5.1.

On question though .. when I have done all this ... do I need to do anything to the databases? I see that v1.5.3 changes from mysql to mysqli and I'm not sure if the data we already will just run or if something needs to converted.

Thanks in advance

14 Jul 2014, 9:28 PM
#189
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Looking to migrate to ZenCart from OSC

DigiBooks:

Having finally completed the site how I want it to be ... v1.5.3 is launched :blink:

I have set up a testbed for the latest version and I'm working to re-enter all the changes to the various files I made on v1.5.1.

On question though .. when I have done all this ... do I need to do anything to the databases? I see that v1.5.3 changes from mysql to mysqli and I'm not sure if the data we already will just run or if something needs to converted.

Thanks in advance

As most if not all updates, should eventually run the zc_install and do aa database upgrade only, not a complete install.

There may be program changes necessary in order to access/manipulate the data of the database depending on how the various plugins were written. (Ie, if search for mysql_ may need replacement of the equivalent mysqli_ command)

14 Jul 2014, 9:44 PM
#190
digibooks avatar

digibooks

Zen Follower

Join Date:
May 2014
Location:
UK
Posts:
317
Plugin Contributions:
0

Re: Looking to migrate to ZenCart from OSC

mc12345678:

As most if not all updates, should eventually run the zc_install and do aa database upgrade only, not a complete install.

There may be program changes necessary in order to access/manipulate the data of the database depending on how the various plugins were written. (Ie, if search for mysql_ may need replacement of the equivalent mysqli_ command)

Maybe I have misinterpreted the upgrade instructions then .... I read it as to install a fresh new install on a demo site ... then run a comparison between a fresh offline copy of v1.51 and the site as we run it now to locate the changes we need to make ... and then add these changed files to the 1.5.3 demo site

14 Jul 2014, 9:48 PM
#191
digibooks avatar

digibooks

Zen Follower

Join Date:
May 2014
Location:
UK
Posts:
317
Plugin Contributions:
0

Re: Looking to migrate to ZenCart from OSC

OK I see the link I missed to do an update without losing customiszation

14 Jul 2014, 10:45 PM
#192
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Looking to migrate to ZenCart from OSC

Glad you found more information to help, but the instructions that were partially described in the previous post would only address a portion of the total upgrade. It would be. Great way to start a new demo site that doesn't have any data, but is to function as if a live site, but the database still (againin the "typical upgrade") need to be updated through the zc_install process. If nothing else the database table that identifies what version the database is at would likely be updated.

Make sense? If updating the version, then need zc_install, if duplicating a store at the same version, can update the code and not have to update the database (other than possibly needing to run the cache fix utility in accordance with it's instructions.)

27 Jul 2014, 1:39 PM
#193
digibooks avatar

digibooks

Zen Follower

Join Date:
May 2014
Location:
UK
Posts:
317
Plugin Contributions:
0

Re: Looking to migrate to ZenCart from OSC

Hi All

Been rather busy lately hence lack of time on here. I recently installed the mylivechat sidebox which has been working well .. until their servers crashed today. Does anyone know if the Crafty Syntax Live Help Sidebox will work in v1.5.1? It says it is for 1.3.8 and I cannot locate a further update on this.

Thanks in advance

27 Jul 2014, 2:42 PM
#194
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Looking to migrate to ZenCart from OSC

DigiBooks:

Hi All

Been rather busy lately hence lack of time on here. I recently installed the mylivechat sidebox which has been working well .. until their servers crashed today. Does anyone know if the Crafty Syntax Live Help Sidebox will work in v1.5.1? It says it is for 1.3.8 and I cannot locate a further update on this.

Thanks in advance

I haven't used it, but my guess is it will probably work. It is pretty basic.

27 Jul 2014, 9:32 PM
#195
digibooks avatar

digibooks

Zen Follower

Join Date:
May 2014
Location:
UK
Posts:
317
Plugin Contributions:
0

Re: Looking to migrate to ZenCart from OSC

Ok the sidebox appears but no link ... any ideas please?

27 Jul 2014, 9:37 PM
#196
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Looking to migrate to ZenCart from OSC

did you change the link for $cs_dir in tpl_craftysybtax_sidebox.php ?

27 Jul 2014, 9:39 PM
#197
digibooks avatar

digibooks

Zen Follower

Join Date:
May 2014
Location:
UK
Posts:
317
Plugin Contributions:
0

Re: Looking to migrate to ZenCart from OSC

Design75:

did you change the link for $cs_dir in tpl_craftysybtax_sidebox.php ?

Yeah I have this set to: $cs_dir = "http://digibooks.org.uk/livesupport"; whixh is a valid directory

27 Jul 2014, 9:45 PM
#198
digibooks avatar

digibooks

Zen Follower

Join Date:
May 2014
Location:
UK
Posts:
317
Plugin Contributions:
0

Re: Looking to migrate to ZenCart from OSC

Odd though ..the source code is coming out as: src="/http://digibooks.org.uk/livesupport/livehelp_js.php?department=2&pingtimes=10&username=Guest">

Can't see why there is a preceding "/" before http:

27 Jul 2014, 9:49 PM
#199
digibooks avatar

digibooks

Zen Follower

Join Date:
May 2014
Location:
UK
Posts:
317
Plugin Contributions:
0

Re: Looking to migrate to ZenCart from OSC

DigiBooks:

Odd though ..the source code is coming out as: src="/http://digibooks.org.uk/livesupport/livehelp_js.php?department=2&pingtimes=10&username=Guest">

Can't see why there is a preceding "/" before http:

OK sorted it ..the bloody program is wrong!!!

30 Jul 2014, 10:51 PM
#200
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Looking to migrate to ZenCart from OSC

DigiBooks:

OK sorted it ..the bloody program is wrong!!!

That may be, but it is also suggested that you use the zen_href related function instead of hard coding the link, which may have also been part of the issue if the link was supposed to be to the site on which the store is hosted. Ie, in a way pointing to itself.