Post by dejohnson21 » Wed Sep 05, 2018 9:02 pm

Hello,
I am right now unable to install version 1.5.6.4 in my PHP 7 Debian setup. It is asking for the Mysql extension which appears to have been removed in this PHP 7 version. How can I get around this?
thanks,

Newbie

Posts

Joined
Wed Sep 05, 2018 9:00 pm

Post by straightlight » Thu Sep 06, 2018 12:42 am

config.php and admin/config.php files - change: mysql to: mysqli . This should resolved the issue. Posted in the wrong forum section. Please notice the forum breadcrumb links.

The most generated errors being found on Opencart forum originates from contributed programming. The increased counters are caused by posted redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by IP_CAM » Thu Sep 06, 2018 1:54 am

Default OC v.1.5.6.x Install does not work with PHP7, read here, how to fix this:
viewtopic.php?f=202&t=206794#p733629
Ernie

For Sale: Top URL's, including an OpenCart V-Pro Shop!
A wide range of matching Designs can be seen here: http://www.opencart.li
For Information on URL's offered, please contact me at: jti@jacob.ch
Hundreds of Mods in 380+ Repositories for OC v.1.5.x - v.2.3.x
to be found on my Github Site: https://github.com/IP-CAM
Image


User avatar
Legendary Member

Posts

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

Post by dejohnson21 » Tue Sep 11, 2018 5:46 am

Hello IP_CAM. I have followed your instructions here (viewtopic.php?f=20&t=206762&p=733511#p733490) to make a fresh install. And have been successful at it. Please tell me, by merging your php7_files will there be changes to my 1.5.6.4 installation? what are the changes? Could you advise me on an specific way to make a fresh 1.5.6.4 installation with as few as possible changes to this version? on php7?
thanks a lot,

Newbie

Posts

Joined
Wed Sep 05, 2018 9:00 pm

Post by IP_CAM » Tue Sep 11, 2018 9:15 am

Well, there will only be ONE File to change in a Default 1.5.6.4/1.5.6.5_rc Software, it's the
/system/library/encryption.php File:
viewtopic.php?f=198&t=204707&p=725370#p725077
to make those and later OC Versions work with up to PHP v.7.2x so far.
---
And another possible change could be an additional .HTACCESS File Line inserted, telling
the server, what PHP-7 Version shall be used. BUT this depends on the Hoster only, and not
all of them have/use the same Setup. In my case, I can select individual PHP Versions, or
then let the Server decide, wich PHP Version works best, by use of the FIRST of the 4 lines
shown below:

Code: Select all

AddHandler application/x-httpd-php70to72 .php
or:
AddHandler application/x-httpd-php72 .php
or:
AddHandler application/x-httpd-php71 .php
or:
AddHandler application/x-httpd-php70 .php
If you want to make a clean 1.5.6.x Installation, you just have to replace the INSTALL Directory
Content, placed in the ZIP File on the Page linked below, after you have edited the 3 HREF-links
in the install\view\template\step_4.tpl File, to match your Shop URL, to prevent
the nasty forever Install-Page Reload. ;)
viewtopic.php?f=20&t=206762&p=733511#p733490
---
My Installation Routine only accepts mysqli.php Drivers, it will be looked for and selected
automatically, IF EXIST! :D And if not, there is no setup.... :laugh:
---
Still, if you have an already fully working 1.5.6.(1-5) Database, you do not need to make a new
install again, but only place a complete Shop Software on the Server, including the fully defined/
declared config.php Files, also linking to the valid DB, and it will work, as soon as you call
your Shop.
Just don't forget to re-activate VqMod, if it exists, by use of:

Code: Select all

http://yourshop. com/shop/vqmod/install/index.php
---
But, better DON'T make another new 1.5.6.4 Install, but only use 1.5.6.5_rc, it still had some nasty
little 1.5.6.4 Misses fixed. And since then, no further Postings about Problems and/or Misses have
been found anywhere..., another OC Exclusive, without even trying to 'sound' political... ::)
https://github.com/opencart/opencart/bl ... angelog.md
It can be downloaded here, and it's called: Opencart-1.5.6.5_rc
https://github.com/IP-CAM
---
Or then, look for this on the same Github Page:
Opencart-1.5.6.5-Edge, to have the real Look + Code of an OC 2+ styled Website, even OcMod! :o
But it can be switched off, since if it not advised to use VqMod and OcMod in one Installation,
it only raises a lot of Problems, if one wants to change existing things, and does likely end up
in strange Error Pages, if OcMod Cache is not cleaned up first, before VqMod Cache is cleaned.
This Place is already full of such comments, as one can easy find out. Just not regarding 1.5.6.5 ...
---
And you also have a choice of a nice range of free Theme Styles, by simply changing a stylesheet.css
file, taken from other free OC 2.0.x Version Themes, to so change a Site Layout from (Samples)
http://www.ipcam.li/shop/ to: http://www.ipcam.li/cart/
depending on special Occasions, by a stylesheet file, and a couple of background Images only! :D
I found about 80 of such Files, matching my OC Setup, without the one's, linked here,
as you can see by clicking the opencart.li Link in the bottom section of this posting.
One of those two Theme stylesheet.css File used can be found here, among with it's pics!
https://www.grandcms.com/extensions/the ... tion_id=31
or another ~12 OC v.2.0.x Layouts of still downloadable Theme stylesheet.css Files + Pics:
https://web.archive.org/web/20170719101 ... me.com:80/
like this:
https://web.archive.org/web/20170204101 ... demo/1080/
---
STILL, in such a Case, existing and still NON-responsive 1.5.6.x VqMod Extensions might need some
slight Code Changes, to further match Anchors/Tags in responsive OC 2 + Bootstrap Theme Files.

I would build such a Setup as Test Shop only FIRST, to avoid any problems with suddenly missing
functions and/or errors on Pages, and play around a while, before finally replacing the Live-Shop.
Just make a couple of Copies from your DB in your Server Admin DB Section, and don't use the
original for testing purposes, then, nothing can go wrong, whatever will happen.

Good Luck! ;)
Ernie
---
another nice one, found on that archived Site , it's just missing the Fontawesome Pics 8)
since they don't show up in archive.org ! But it worked on spot, when testing it last night.
Image

Attachments

banner-400x400.png

banner-400x400.png (243.19 KiB) Viewed 865 times


For Sale: Top URL's, including an OpenCart V-Pro Shop!
A wide range of matching Designs can be seen here: http://www.opencart.li
For Information on URL's offered, please contact me at: jti@jacob.ch
Hundreds of Mods in 380+ Repositories for OC v.1.5.x - v.2.3.x
to be found on my Github Site: https://github.com/IP-CAM
Image


User avatar
Legendary Member

Posts

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

Post by dejohnson21 » Wed Sep 12, 2018 10:55 pm

Thanks so much IP-CAM.
I did not have a working store, I am starting a new one. I am using 1.5.6.4 because I have a theme I like a lot that works on that version.
This is what I have done: I uploaded all 1.5.6.4 files to my server (local install on Debian Stretch). Then I merged all the files (including the ones in the 'system' folder) in your php7_files with my files. This allowed me to perform a successful installation.
1. Is the '/system/library/encryption.php' included in your php7_files a workable one? And do I need it? Do I need the 'bcrypt.php' file?
2. Would it have been enough to just merge the files '/install' files in your php7_files? Does your '/system/database/mysqli.php' file make changes to OC functionality somehow? Do I need it to make 1.5.6.4 work with PHP7?
I have very basic VQmods so that should not be a problem for me. In any case I will try your 1.5.6.5 versions at some point.
If you provide me with a BTC or BCH address I will send a small tip your way.
thanks again.

Newbie

Posts

Joined
Wed Sep 05, 2018 9:00 pm

Post by straightlight » Wed Sep 12, 2018 11:34 pm

1. Is the '/system/library/encryption.php' included in your php7_files a workable one?
The provided solution I tweaked for this file is working as intended and without bcrypt.

The most generated errors being found on Opencart forum originates from contributed programming. The increased counters are caused by posted redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by IP_CAM » Thu Sep 13, 2018 1:27 am

The provided solution I tweaked for this file is working as intended and without bcrypt.
This is correct. And I just left/addded the bcrypt.php file, just in case, and since I never checked, if one of
the other PHP-7 encryption.php files available might still use it, so, it's better to leave in it's place.
viewtopic.php?f=202&t=206794&p=733801#p733629
In addition, I so don't have to modify some 'OC Systemtest' extensions, looking for this file,
or then complain about, if it does no longer exist .... ;)
Ernie

For Sale: Top URL's, including an OpenCart V-Pro Shop!
A wide range of matching Designs can be seen here: http://www.opencart.li
For Information on URL's offered, please contact me at: jti@jacob.ch
Hundreds of Mods in 380+ Repositories for OC v.1.5.x - v.2.3.x
to be found on my Github Site: https://github.com/IP-CAM
Image


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 2 guests