Did a comparison of file changes btw 1.5.5d and 1.5.5e and can't find the file
/admin/includes/classes/upload.php
in the 1.5.5e file system.
Am I missing something?
Did a comparison of file changes btw 1.5.5d and 1.5.5e and can't find the file
/admin/includes/classes/upload.php
in the 1.5.5e file system.
Am I missing something?
I believe this is relevant from the announcement
the change log should probably list that the file was dropped from the admin/includes/classesConsolidate to a single upload class, shared between admin/catalog
Mike
GeekHost - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!
Ya, it was supposed to say the file was deleted, not merely "changed".
See the new zip dated 03/03/2017: https://www.zen-cart.com/showthread....14#post1326914
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Turns out it should have also mentioned that another file was changed too:
/admin/includes/functions/database.php
This was changed in v155d but not everybody got it, so best to update it too. :)
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Having now caught up with this and found out about the 'missing' file as detailed above. If do the upgrade to 'e' from 'd' then my admin logon fails. However, when looking at the debug log I see that:
/includes/classes/upload.php
is 'failing'. If I revert this file to the 'd' version, leaving all the other changes at their 'e' versions, then everything works.
The live site works perfectly ether way of course. Any ideas ?
Michael
This is the acual debug error message. I am afraid I am not really up-to-speed with php, so not sure what is wrong ?:
[03-Mar-2017 04:49:24 America/Phoenix] PHP Parse error: syntax error, unexpected '[' in /home/content/78/11924578/html/includes/classes/upload.php on line 25
and this is line 25:
function __construct($file = '', $destination = '', $permissions = '644', $extensions = [])
Michael
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Just cheked with my hosting company (GoDaddy) and it reports PHP 5.3
Michael
Bookmarks