upgrade problem - from 4.2.2 to 4.3.0

16.08.2017 05:27
#1
shenkwen
Joomshopping forum user no avatar
Name: shenkwen
30.03.2012
Posts: 6
Quote
upgrade problem - from 4.2.2 to 4.3.0

Hi there.

My joomla version is 3.7.4, I was trying to "install and update", after I upload the "JoomShopping-update-4.2.2-4.3.0.zip" the Joomla returns an error message saying something like "uploading from /home/bv/public_html/tmp/ failed due to security reasons". Then I tried uploading a 2nd time, this time it returns

"An error has occurred.1060 Duplicate column name 'basicprice' "

I found this link https://forum.joomla.org/viewtopic.php?t=894174#p3338980 that says



The warning is generated by /libraries/joomla/filesystem/file.php on line 471 when the file is found unsafe by the method JFilterInput::isSafeFile().

The method isSafeFile() is defined in /libraries/joomla/filter/input.php and it was introduced in 3.x to check the uploaded file for "suspicious naming and potential PHP contents which could indicate a hacking attempt".

Files get rejected by default if:
- there is a null byte in the file name
- the extension is forbidden, for example .php, inc, py etc
- there is a php tag in the content
- there is a short tag in the content
- if there is a forbidden extension anywhere in the content

If you your component allows PHP files to be uploaded and calls the method JFile::upload() but does not set the call parameter to allow unsafe or does not turn off the relevant safe file options, as listed above, the upload will fail.



So why does this happen? Does the .zip file contains something that was regarded as suspicious? And to upgrade joomshopping component, do I really have to upgrade through all the versions? ( I find this very awkward)

 
16.08.2017 07:49
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
Quote
Aw: upgrade problem - from 4.2.2 to 4.3.0

https://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/forum/posts/33/3844.html?lang=en&start=20#24

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.