-
- 535 Posts
Quote from: rx2 at Dec 07, 2012, 12:01 AMQuote from: valokammi at Dec 06, 2012, 06:33 AMTry it without a default value. Whenever I have a default value for a template variable I need to filter via getResources &tvFilters the filter does not work. Once the TV does not have a default value it works. I had to be reminded of this today and found a 2 year old thread with this solution.
Not working. Shows only default text.
I know that there`s a solution somewhere, but I did not find it. Link would be nice.
http://forums.modx.com/thread/43621/tvfilters-issue#dis-post-251301
But I don't see the use if it didn't fix the problem.
in my local setup 2.2.4 and getResources 1.4.2
using a default value with tvFilters work very well.
CTRL+SHIFT+U - Clear Cache
CTRL+SHIFT+H - Hiding Heft Panel
CTRL+SHIFT+N - Fast Create Resource
CTRL+ALT+P - Preview Recource (in edit resorce window)
CTRL+ALT+S - Save
-
- 118 Posts
Ok. Thanx to all of you for helping me.
Situation is now this. I tried this on other site and it worked.
Site where it does not work is the problem, but now, where to start digging? Error log is clear.
Site is originally installed to own folder, because later version was EVO. I configured it and then I moved to www root folder. And did configurations that have to when moving site. Site start to run without problems. Well minor problem was that msql database didn`t have correct privileges at beginning. Error log have been empty since then.
I reinstalled (just only reinstall) Getresources, but no help.
Well now it is time to update to 2.2.6-pl. Lets have a look what happens.
Tassu, webmaster of Valokammi
-
- 118 Posts
Updated to 2.2.6, no help from there. Removed and reinstalled Getresoutrces (Originally it came with articles, reinstalled it too) Getresources install without errors.
Articles reinstall (with removing etc.) causes errors.
Error log:
[2012-12-08 14:41:52] (ERROR @ /connectors/workspace/packages.php) Could not open file for reading: articles-1.6.3-pl/xPDOTransportVehicle/155df8c3d6333bc1aa777d6ed1cfb81a/archivist-1.2.4-pl.transport.zip?revolution_version=Revolution-2.2.6-pl
[2012-12-08 14:41:52] (ERROR @ /connectors/workspace/packages.php) MODX could not download the file. You must enable allow_url_fopen, cURL or fsockopen to use remote transport packaging.
[2012-12-08 14:41:52] (ERROR @ /connectors/workspace/packages.php) Could not transfer package articles-1.6.3-pl/xPDOTransportVehicle/155df8c3d6333bc1aa777d6ed1cfb81a/archivist-1.2.4-pl.transport.zip to /home/xxxxxxxxxx/public_html/core/packages/.
[2012-12-08 14:41:52] (ERROR @ /connectors/workspace/packages.php) Could not open file for reading: articles-1.6.3-pl/xPDOTransportVehicle/155df8c3d6333bc1aa777d6ed1cfb81a/archivist-1.2.4-pl.transport.zip?revolution_version=Revolution-2.2.6-pl
[2012-12-08 14:41:52] (ERROR @ /connectors/workspace/packages.php) MODX could not download the file. You must enable allow_url_fopen, cURL or fsockopen to use remote transport packaging.
[2012-12-08 14:41:52] (ERROR @ /connectors/workspace/packages.php) Could not transfer package articles-1.6.3-pl/xPDOTransportVehicle/155df8c3d6333bc1aa777d6ed1cfb81a/archivist-1.2.4-pl.transport.zip to /home/xxxxxxxxxx/public_html/core/packages/.
[2012-12-08 14:41:54] (ERROR @ /connectors/workspace/packages.php) Could not open file for reading: articles-1.6.3-pl/xPDOTransportVehicle/85e9cbaa528843e2c0e73becf99e3de4/getpage-1.2.3-pl.transport.zip?revolution_version=Revolution-2.2.6-pl
[2012-12-08 14:41:54] (ERROR @ /connectors/workspace/packages.php) MODX could not download the file. You must enable allow_url_fopen, cURL or fsockopen to use remote transport packaging.
[2012-12-08 14:41:54] (ERROR @ /connectors/workspace/packages.php) Could not transfer package articles-1.6.3-pl/xPDOTransportVehicle/85e9cbaa528843e2c0e73becf99e3de4/getpage-1.2.3-pl.transport.zip to /home/xxxxxxxxxx/public_html/core/packages/.
[2012-12-08 14:41:54] (ERROR @ /connectors/workspace/packages.php) Could not open file for reading: articles-1.6.3-pl/xPDOTransportVehicle/85e9cbaa528843e2c0e73becf99e3de4/getpage-1.2.3-pl.transport.zip?revolution_version=Revolution-2.2.6-pl
[2012-12-08 14:41:54] (ERROR @ /connectors/workspace/packages.php) MODX could not download the file. You must enable allow_url_fopen, cURL or fsockopen to use remote transport packaging.
[2012-12-08 14:41:54] (ERROR @ /connectors/workspace/packages.php) Could not transfer package articles-1.6.3-pl/xPDOTransportVehicle/85e9cbaa528843e2c0e73becf99e3de4/getpage-1.2.3-pl.transport.zip to /home/xxxxxxxxxx/public_html/core/packages/.
[2012-12-08 14:41:55] (ERROR @ /connectors/workspace/packages.php) Could not open file for reading: articles-1.6.3-pl/xPDOTransportVehicle/9bfd7497f03fdb7e2afbe0667143922a/quip-2.3.2-pl.transport.zip?revolution_version=Revolution-2.2.6-pl
[2012-12-08 14:41:55] (ERROR @ /connectors/workspace/packages.php) MODX could not download the file. You must enable allow_url_fopen, cURL or fsockopen to use remote transport packaging.
[2012-12-08 14:41:55] (ERROR @ /connectors/workspace/packages.php) Could not transfer package articles-1.6.3-pl/xPDOTransportVehicle/9bfd7497f03fdb7e2afbe0667143922a/quip-2.3.2-pl.transport.zip to /home/xxxxxxxxxx/public_html/core/packages/.
[2012-12-08 14:41:55] (ERROR @ /connectors/workspace/packages.php) Could not open file for reading: articles-1.6.3-pl/xPDOTransportVehicle/9bfd7497f03fdb7e2afbe0667143922a/quip-2.3.2-pl.transport.zip?revolution_version=Revolution-2.2.6-pl
[2012-12-08 14:41:55] (ERROR @ /connectors/workspace/packages.php) MODX could not download the file. You must enable allow_url_fopen, cURL or fsockopen to use remote transport packaging.
[2012-12-08 14:41:55] (ERROR @ /connectors/workspace/packages.php) Could not transfer package articles-1.6.3-pl/xPDOTransportVehicle/9bfd7497f03fdb7e2afbe0667143922a/quip-2.3.2-pl.transport.zip to /home/xxxxxxxxxx/public_html/core/packages/.
Error points at allow_url_fopen which is on and there`s line in Configure Command: with-curl=/opt/curlssl/
So why that Error?
I dont know sure could these cause anything. Getrsources is working like it should, except this problem.
[ed. note: valokammi last edited this post 11 years, 5 months ago.]
Tassu, webmaster of Valokammi
-
- 118 Posts
This is sooo frustrating. Did all again from scratch but still don`t work.
Other tv`s work as they should (I have one for images). All other calls work. But not this one.
in production pages I have done this "ugly" way, I simple list page ids which have to show in call. But it`s not good for users. I don`t want them to have access to chunks. It would be so nice way with tv like this.
I have no ideas anymore, do you have?
Tassu, webmaster of Valokammi