Post by IP_CAM » Sat Oct 06, 2018 12:59 am

Am I missing some point?
Well, you probably do, we have not been talking about OC v.3 only TWIG files.
And not only Theme Files are involved, OC system files might also be part of it.
In addition, the Poster has no knowledge about OC Code. The only way would
therefore be, to get it made, as I suggested some postings ago, or then, end up
in misery. :choke:
But by use of this Extension, the Account-related matters could easy be done,
as it looks, if the Poster decides on an OC Version 2 or 3. it then only takes some
other Extensions, to hide other Functions, he does not want to show up.
https://www.opencart.com/index.php?rout ... n_id=23499
And it would also be done with OC v.1.5.x, by use of this one:
https://www.opencart.com/index.php?rout ... n_id=26490
But they do not come for free. And they are made to work in Default Theme
Setups, so, some additional charges could apply, if Theme Extensions like
Journal, Pavo, e.t.c., are part of this all. Just to have this mentioned too.
Whatever... , good Luck! ;)
Ernie
Last edited by IP_CAM on Sat Oct 06, 2018 8:57 am, edited 1 time in total.

Please don't send Personal OC Forum Messages, contact: jti@jacob.ch
---
Test Site: http://www.bigmax.ch/shop/
Github OC Downloads: https://github.com/IP-CAM
2'200+ FREE OC Extensions from the World's largest Github OC Repository Archive.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Fabienlolo » Sat Oct 06, 2018 2:29 am

I understand what you are saying,
but this is "Opencart 3.0 support" section, so I thought the used OC was a at least 3.0.
Now, what i can read, it is that some answering posts suggested other versions (previous versions) to achieve what seems to be erasing some core files, adding some extensions and why not some new theme to help.
From original post member point of view, smwoodcrafts, i believe he felt that he had to follow the recomendations to go with a 1.5 OC version to get what he wanted. But then
smwoodcrafts wrote: ↑
Wed Oct 03, 2018 1:43 am
Well, I re-read the thread and am still overwhelmed by the explanation of installing and using 1.5.6.5_rc with PHP 7.x. I'm just not getting it.
Now, If theme is not important (as he did not request any theme, althought i guess what i suggest is doable with different themes), am i right saying that OC v3.0.2 is an option if you delete/hide all undesired links from the .twig files? And the best thing is, it wouldn't take much time to do so and i believe it would be the easiest solution.
So again, from OC 3.0.2 point of view, is my suggestion manageable?

New member

Posts

Joined
Fri Jun 29, 2018 7:24 am
Location - Q.Roo, Mexico

Post by IP_CAM » Sat Oct 06, 2018 6:44 am

Well, the Discussion started about creating a SIMPLE Cart Solution. And, that it
started in the OC 3 Section, was more by accident, I assume, it is a new Poster,
and OC Versions usually don't make much sense for them in the first place. And I
already asked a Moderator, to move this Topic to another Place too, since it sure
does no longer match the OC-3 Forum.

Still, as one can find out easy, the latest v.3.0.2.x release already exists since 07.18.17,
and the Forum is still full of People, seemengly not getting along with it, as planned.
From my personal point of view, it would therefore not be very useful, to advise such
People, to use it, especially, if they are looking for a SIMPLE solution. And even more,
since much less free Knowledge and Extensions exist. And it's Version Follower will
already have a huge bunch of Fixes, from Misses, known already from 3.0.2.x, but no
longer implemented by OC intothis still 'latest' official 3.0.2.x Release.

This, because OC did not upgrade this Version anymore, but concentrates on v.3.1.x.,
for a while already. As you can read here about this:
https://github.com/opencart/opencart/is ... -409715744

It's therefore not of big help, if I would suggest a Version to someone, aware of, that it still
has a massive amount of known, but unsolved problems, especially, if someone needs
additional Extensions, to make it work as planned. In such a case, one better depends on
some already proven working Code and Versions, from my personal point of view, at least. ::)

But I am not intending, to talk someone out of OC v.3.x, I just try to explain a Situation,
as it presents itself, without any emotional feelings, I'm only mentioning Facts. ;)
But let us end this here, it's of no use, to argue... :D
Ernie

PS. But, if it is managable or not, it's just not a very professional Solution, if only some
Twig-Files do no longer contain some links, but anyone could still access some Sections,
to eventually add some carbage registration Spam into an existing installation. That's
what I mean, when I talk about also removing 'corresponding system routines' better in full.
One could always keep a 'virgin' Shop Copy, just to make sure, to have one, if needed ... 8)
Scammers and Spammers already 'know' Links, they don't have to look for them on an OC Site.
Last edited by IP_CAM on Sun Oct 07, 2018 10:02 am, edited 1 time in total.

Please don't send Personal OC Forum Messages, contact: jti@jacob.ch
---
Test Site: http://www.bigmax.ch/shop/
Github OC Downloads: https://github.com/IP-CAM
2'200+ FREE OC Extensions from the World's largest Github OC Repository Archive.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by smwoodcrafts » Sat Oct 06, 2018 10:30 am

Just to get to know a little about the cart, I installed OC3 in a subfolder to play around. This way, it doesn't interfere with my site that is active. I haven't had time to sit down and try to understand the procedure to install 1.5 yet so it works with PHP7. I have a craft show in a week and need to get ready for that. Any time that I do have is later at night. I honestly don't know why the creator of this cart wouldn't make certain things like accounts, affiliates etc a module that you can enable or disable. I don't know very many small businesses that need such things. Of course, small business is probably not the target customer for a cart this sophisticated. But it is in the price range. Places like Wix and Weebly are so stinking expensive for a one person operation such as mine. I truly appreciate all the help I have gotten. I just have to trudge along and figure this thing out.

User avatar
New member

Posts

Joined
Fri Sep 28, 2018 4:00 am

Post by IP_CAM » Sat Oct 06, 2018 10:45 am

I installed OC3 in a subfolder to play around
That's probably the best way, to start something, as Tester, but not
User. Comparable with looking for a future Wife (or husband), one
should also play around with them first, to get a basic idea, before
confirming a deal, which could end up in frustration, wasted time,
and financial losses! :laugh:
It might take a little longer, but it only add's to wisdom! ;)
Ernie
---
PS. But if you cannot get it installed with PHP7, what the heck, install
it with a former PHP Version, and then, switch to PHP7, after Install.
And if OC would implement most everything nice, how in the World
would they ever have been able, to make a living out of it ???

Please don't send Personal OC Forum Messages, contact: jti@jacob.ch
---
Test Site: http://www.bigmax.ch/shop/
Github OC Downloads: https://github.com/IP-CAM
2'200+ FREE OC Extensions from the World's largest Github OC Repository Archive.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by smwoodcrafts » Sat Oct 06, 2018 10:16 pm

LOL I am planning on installing OC1.5.6.5_rc as well. You made some very good points and I think that will be the way I ultimately go, but as you said, there's a little more up front work. One question, so if I were to backtrack and load an earlier version of PHP, then installed 1.5, then upgraded to PHP7, it would work?

User avatar
New member

Posts

Joined
Fri Sep 28, 2018 4:00 am

Post by IP_CAM » Sun Oct 07, 2018 1:30 am

... load an earlier version of PHP, then installed 1.5, then upgraded to PHP7
Well, if one also replaces the default 1.5.6.x system/library/encryption.php file,
viewtopic.php?f=202&t=206794&p=733801#p733629
and if one does NOT use Extensions like this one: (unfortunately! :-\ )
Web Filemanager for OpenCart
https://www.opencart.com/index.php?rout ... n_id=20624
likely resulting in some 'Count' Errors, like mentioned here:
counting non-countable types
https://stackoverflow.com/questions/475 ... nt-changes
and if one uses no files, like a catalog/model/module/module.php File, (if one exists !)
still using Count-routines like this:

Code: Select all

foreach($module as $array){
if(count($array[0]) > 0 && is_array($array)){  // OLD PHP 5.x VERSION COUNTING
for($i = 0; $i<count($array[0]); $i++){
but rather like this:

Code: Select all

foreach($module as $array){
if (is_array($array) && count($array[0]) > 0) {   // NEW PHP7 VERSION COUNTING
for($i = 0; $i<count($array[0]); $i++){
(sounds to me like: first look for and count modules, then, start check on details ...,
in contrary to the Coding further above...)
then, one usually has no problem.
---
In my SITE ROOT .htaccess file(s), my Hoster added this at the File top:

Code: Select all

AddHandler application/x-httpd-php70to72 .php
in order to let the Server decide, which PHP7 Versions to use, as I assume,
and since some Extensions might have Problems with PHP v.7.2x, but not with
lower PHP v.7.x Versions, I so don't have to care about, if all of my Extensions
tested already match PHP v.7.2x + requirements (yet :-* )
But this might not work on other Servers, so, better ask the Hoster first !
---
Only use the mysqli - DB- Driver, and configure it in the config.php
files accordingly, if one has a mysql-based Installation, or it won't work!

Code: Select all

// DB
define('DB_DRIVER', 'mysqli');
---
But even later OC Versions still seem to have some problems with PHP v.7.2,
possibly due to some extensions installed, so, the matter will still be part
of OC Forum Discussions, and we will find out about, before PHP v.7.0/7.1
will be taken from the Servers again, I guess. ;)
Ernie
---
PS: NOT ALL encryption.php Files, linked above, will work in an OC
by use of PHP v.7.2+ , just to have this mentioned too!
---

Please don't send Personal OC Forum Messages, contact: jti@jacob.ch
---
Test Site: http://www.bigmax.ch/shop/
Github OC Downloads: https://github.com/IP-CAM
2'200+ FREE OC Extensions from the World's largest Github OC Repository Archive.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by smwoodcrafts » Sun Oct 07, 2018 6:01 am

Ok, to recap and put in simple terms for this simple mind, I would upload and unzip OC1.5.6.4_rc in a subfolder so I can work on it "offline." Replace the encryption. php file in system/library/ with the one in in the Zip file you mentioned. Add the line

Code: Select all

AddHandler application/x-httpd-php70to72 .php
to the top of my .htaccess file and change the DB_driver to mysqli in both config.php like this

Code: Select all

// DB
define('DB_DRIVER', 'mysqli');
Thanks,
Dan

User avatar
New member

Posts

Joined
Fri Sep 28, 2018 4:00 am

Post by IP_CAM » Sun Oct 07, 2018 9:50 am

whereby, this:

Code: Select all

AddHandler application/x-httpd-php70to72 .php
might just not work, or worse, keep the place from working in full,
so, better get in touch with your Hoster, and ask first, if this
x-httpd-php70to72 Setting exists and is activated on your Server
or not, since they might not have all PHP v.7.x Versions installed.
Ernie
PS: Sorry for the extended replies, but now, it's written for good, and I
don't have to do it, in parts, ever again ! :laugh:

Please don't send Personal OC Forum Messages, contact: jti@jacob.ch
---
Test Site: http://www.bigmax.ch/shop/
Github OC Downloads: https://github.com/IP-CAM
2'200+ FREE OC Extensions from the World's largest Github OC Repository Archive.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by smwoodcrafts » Sun Oct 07, 2018 9:57 am

No problem man. I'm a simple person. ;D I always find it easier to put things in my own words to understand them a little better. Thanks for all your help. I'm sure you will be seeing questions from me in the 1.5 forums.

Dan

User avatar
New member

Posts

Joined
Fri Sep 28, 2018 4:00 am

Post by IP_CAM » Sun Oct 07, 2018 10:35 am

Well, my english is based on real life only, not on origin or school, and here,
it should all be understandable for everybody, since most are not even of
english language origin. That's, why I also use relatively many Pic's, another
great 'tool', to eventually be honored for it by our common Friend Googie,
without investing a single Penny on Add's.
But that's Business-Secrets-Talk, and such does not belong here... :laugh: :crazy:
Good Luck!
Ernie

Please don't send Personal OC Forum Messages, contact: jti@jacob.ch
---
Test Site: http://www.bigmax.ch/shop/
Github OC Downloads: https://github.com/IP-CAM
2'200+ FREE OC Extensions from the World's largest Github OC Repository Archive.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by smwoodcrafts » Sun Oct 07, 2018 9:49 pm

Ok, I must have missed something. I created a new database, I uploaded and unzipped OC1.5.6.5_rc and replaced the encryption.php file. I didn't follow my own writing and for got to add the line in the config.php files and tried to install. When it did the checks, it said mySQL extension was off. When I realized what I had done, I went back and added the line about mysqli in the config files. When I tried again I didn't get to the install screen, I got a white page with what I added to the config files on it. What did I miss? Oh and my php version is 7.0.32.

User avatar
New member

Posts

Joined
Fri Sep 28, 2018 4:00 am

Post by IP_CAM » Mon Oct 08, 2018 5:58 am

Well, OC will ONLY install into a virgin clean+ empty Database, and by Use of
2 virgin clean config.php Files, with not a single empty Line in it. :D
One of the reasons, why Peku's OC Edge 1.5.6.5 won't install, before
the config.php files have been cleaned out to contain absolutely
ZERO Data... 8)
Then, anything will be created, in the DB and the both config.php files,
during installation.
Ernie

Please don't send Personal OC Forum Messages, contact: jti@jacob.ch
---
Test Site: http://www.bigmax.ch/shop/
Github OC Downloads: https://github.com/IP-CAM
2'200+ FREE OC Extensions from the World's largest Github OC Repository Archive.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by smwoodcrafts » Mon Oct 08, 2018 6:16 am

But putting them in the config.php was one of the steps. What do I do to get past the point in step 2 where it say the MySQL extention is off?

User avatar
New member

Posts

Joined
Fri Sep 28, 2018 4:00 am

Post by IP_CAM » Mon Oct 08, 2018 6:55 am

If you would use my Installation, as told, you would not see such a message. 8)
Ernie

Please don't send Personal OC Forum Messages, contact: jti@jacob.ch
---
Test Site: http://www.bigmax.ch/shop/
Github OC Downloads: https://github.com/IP-CAM
2'200+ FREE OC Extensions from the World's largest Github OC Repository Archive.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by smwoodcrafts » Tue Oct 09, 2018 5:59 am

Finally had a little time and uploaded all your files and did the installation. Thank you so much for your patience with me. It did work and it is now installed. Now I can start playing with it to see if it is something I can use.

Dan

User avatar
New member

Posts

Joined
Fri Sep 28, 2018 4:00 am

Post by IP_CAM » Tue Oct 09, 2018 12:03 pm

Good for You ! Just make sure, not to end up, trying to find everything 'nice-to-have', like I did,
or it might take Years, to only check on, what exists, to possibly be of use, some day ... :crazy: :D
Good Luck! ;)
Ernie

Please don't send Personal OC Forum Messages, contact: jti@jacob.ch
---
Test Site: http://www.bigmax.ch/shop/
Github OC Downloads: https://github.com/IP-CAM
2'200+ FREE OC Extensions from the World's largest Github OC Repository Archive.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 17 guests