JoomlaPack 2.2.1 : Failed Smart algorithm on JoomlapackCUBE

I was in a big problem that joomlaPack works well in Local but when it’s uploaded in godaddy hosting server, it’s not working anymore. It shows the following message in the log file:

Failed Smart algorithm on JoomlapackCUBEDomainDBBackup
CUBE :: Error occured in domain ‘PackDB
Could not open \home\content\b\e\u\beulaho\html\tmp/1eaffe96 for append, in DB dump.

I searched in google and found lots of solutions but none of them is working for me.

Then edited the following file
/administrator/components/com_joomlapack/classes/core/utility
/tempfiles.php

So, I just replaced all the DS by ‘//’ in the whole file.

Example, Replace
return $configuration->getTemporaryDirectory().DS.$fileName;
To
return $configuration->getTemporaryDirectory().‘\\’.$fileName;

That’s all. Special thanks to Riz for giving me Idea.

6 Responses to JoomlaPack 2.2.1 : Failed Smart algorithm on JoomlapackCUBE

  1. Martin says:

    Thank you so much for this post!! It really worked. Just be careful typing ‘\\’, while substituting…

  2. Annaz says:

    Thanks for the solution, that worked excellent for me also! I was struggling with backup for a few days till found your post. Thanks again for sharing…

  3. Thanks , it is really good idea.thanks for sharing your experience

    veer singh verma

  4. Svetlana says:

    Thanks a lot!
    I was tired to find a way…
    Thanks God I found your post!

    Svetlana, Moscow

  5. delight says:

    Thank God. thank u for sharing this.

Leave a comment