Support

UNiTE, Remote CLI, eXtract Wizard

#3544 Folder exlusion not working

Posted in ‘UNiTE and Remote CLI’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
Tool
UNiTE
Tool version
n/a

Latest post by nicholas on Tuesday, 10 November 2009 03:49 CST

user6496
Hi everybody,

I'm running version 2.3.3 of JoomlaPack on a 1.5.11-installation of Joomla. I'm hosting a download directory on my website that includes about a dozen files each at least 100mb in size. Since backing up this amount of data is not really an option and I only need backups of my Joomla installation, I wanted to exclude the folder from any backup. But once I click on "Toggle" to exclude the folder, nothing happens. I have tried it on two installations using both Firefox and IE8, nothing happens. No JS error, no highlight, nothing whatsoever. When I go on and take a backup, the folder is still included in my backup files.

Any ideas where this behavior might come from?

Thanks for reading and best whishes,
MrMister


BTW: When clicking on table view, I receive the following error:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in htdocs\libraries\joomla\database\database\mysql.php on line 344

Warning: Invalid argument supplied for foreach() in htdocs\administrator\components\com_joomlapack\views\def\tmpl\default_tab.php on line 38

dlb
On the JoomlaPack Configuration screen, on the Advanced pane, switch from AJAX to JavaScript. That may get you around the problem.

We have had problems in the past with the table itself not being created with the install. I haven't seen that in a while. Check your database for the table jos_jp_exclusion.

You may want to consider excluding the contents of the folder, not the folder itself. A restored site will expect the folder to be there.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

user7521
I have the same problem as MrMister. Unfortunately switching from AJAX to Javascript doesn't repair the problem. And I have jos_jp_exclusion table in my database. It is totally empty and it has three fields (id, class, value). So... any idea?

I am running JoomlaPack svn577M on Joomla 1.5.14

Thanks in advance

Álvaro

dlb
I just hate it when you guys go through my entire bag of tricks before you even post. :lol:

I'll flag this one for Nicholas, he has more tricks.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

nicholas
Akeeba Staff
Manager
Open your jos_jp_exlusion table with phpMyAdmin (or whatever tool your host gives you). With that still open, on another window visit JoomlaPack's directory exclusion page. Click on a directory. Then look again at the jos_jp_exclusion table. Is there any table row added or removed? If so, can you please copy and paste its contents here?

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user7521
No rows added :-(

I am sorry because I have no more clues. The only strange thing is the error message that MrMister already reported and it appears when you switch to tab view.

I have backed up with no problems but I can't exclude directories. I am going on testing just in case I find something significative... In my log file appears from time to time this info message:

INFO    |091105 17:47:44|Creating new CUBEObject storage file: /tmp/jp5SZWJb
INFO    |091105 17:47:44|Removing CUBE temporary file: /tmp/jp5SZWJb
INFO    |091105 17:49:32|No CUBEObject storage file set; I will create a new one.
INFO    |091105 17:49:32|Creating new CUBEObject storage file: /tmp/jpTyNRwy
INFO    |091105 17:49:32|Removing CUBE temporary file: /tmp/jpTyNRwy
INFO    |091105 17:49:32|No CUBEObject storage file set; I will create a new one.
INFO    |091105 17:49:32|Creating new CUBEObject storage file: /tmp/jpuFLrq4
INFO    |091105 17:49:32|Removing CUBE temporary file: /tmp/jpuFLrq4


but I don't think it is related

thanks

Álvaro

nicholas
Akeeba Staff
Manager
The log is certainly not related, it's normal JoomlaPack operation; every time you visit the control panel page it tries to purge any pending backups, hence the log entries.

It's very puzzling that the directory exclusion doesn't work. Which database driver is your site using?

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user7521
I have collected this info from phpmyadmin:

MySQL client version: 5.0.51a
Used PHP extensions: mysql

Similar errors appear for the other options related with the folders and files exclusion and inclusion

:-(

nicholas
Akeeba Staff
Manager
This is very puzzling. The last time we had a similar problem was when someone upgraded JoomlaPack 1.x to 2.x without uninstalling first.

Please do me a favour. Uninstall JoomlaPack. Remove any remaining JoomlaPack tables (they start with jos_jp_, where jos_ is to be substituted with your actual site prefix). Then, make sure that JoomlaPack's directories (components/com_joomlapack and administrator/components/com_joomlapack) have been removed. If not, remove them with the FTP client of your choice. WARNING: Do not leave ANY trace of those directories; re-check with your FTP client after you have deleted them. Finally, reinstall JoomlaPack.

Does this allow JoomlaPack to work correctly with filesystem related filters?

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user7521
Great¡

I did what you tell me and now it works perfectly :-)

After I unistalled Joomlpack component it lefts one table in the database. Its name was jos_jp_packvars (or something similar). I deleted it and then I checked the directories but none was there. I reinstalled the component and now, it works smoothly.

I had already reinstalled the component but I hadn't checked if it lacked some table... I guess this was the problem.

Thank you dlb and Nicholas for this useful component and this wonderful support¡

nicholas
Akeeba Staff
Manager
You're welcome! We are here to help you :D

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!