Keyword

Simple Image Gallery Pro 2.05 On K2 2.03 with Joomla 15.19 (Linux) - Not working :(?

  • Ido Lempert PPC-IDORAN
  • Ido Lempert PPC-IDORAN's Avatar Topic Author
  • Offline
  • New Member
More
14 years 1 month ago #86356 by Ido Lempert PPC-IDORAN
I installed the full version "Simple Image Gallery Pro 2.05"On local-host server XAMPAnd it works fine.But when I brought the site into the air.I do a new *.zip file upload (in new article) ,And I got an error:" * UNKNOWNARCHIVETYPE* Gallery upload error: Cannot extract archive! "I reinstalled the extension.I changed permissions to folders: cache, administrator/cache, tmp, media/k2/galleries (777)** I noticed something happening: When I upload a file in local server, It create new folder in "media/k2/galleries".If I create the folder by article Id in 'air' server . It delete the folder I created.?

Please Log in or Create an account to join the conversation.

  • Ido Lempert PPC-IDORAN
  • Ido Lempert PPC-IDORAN's Avatar Topic Author
  • Offline
  • New Member
More
14 years 1 month ago #86357 by Ido Lempert PPC-IDORAN
I read here
joomlaforum.ru/index.php?topic=84960.0
To allow the function exec.
(I do not read Russian .Translate with Chrome :) )

I spoke with the host. He said it is very dangerous because that they canceled it.
Is that one caused the problem? If so, how to skip the use of a function?

Please Log in or Create an account to join the conversation.

  • Ido Lempert PPC-IDORAN
  • Ido Lempert PPC-IDORAN's Avatar Topic Author
  • Offline
  • New Member
More
14 years 1 month ago #86358 by Ido Lempert PPC-IDORAN
YESSSS!!! :)

K it's workingץ
(Probably ruined the code)

I was change the file
"class.upload.php"
in
/administrator/components/com_k2/lib

Line 2443
if (strlen($mime = @exec("file -bi ".escapeshellarg($this->file_src_pathname))) != 0) {
To
if (FALSE) {

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum