Jump to content

hheyne

Members
  • Posts

    82
  • Joined

  • Last visited

Everything posted by hheyne

  1. Wow, that sounds promising ;-) This could be possible. I thought about a solution with PW-Selectors instead of native PDO-MySQL-Queries. You must also look into the ssp.class.php. This file is included in the server-processing.php. All the stuff can be found in the download-file of the actual DT version.
  2. @Peter Knight: Yes I tried ListerPro in the backend. Very great tool! Unfortunately I need something like jQuery Datatables in the frontend ;-) I started yesterday after hours of frustrating „try by error” with serverside jQ DT to implement it with the „foreach” approach to show the customer something. After the first „beta-release” in June I hope to have the time to rewrite the SSP stuff for processwire. Maybe someone else had done this so far in the meantime ;-) This would be a great helper to work with huge amounts of data in the frontend. The customers like the usabilty of jQ DT in the frontend.
  3. @szabesz: As far as I know the example doesn't use serverside scripts. @Macrura: The amount of rows are around 1.000 - 10.000. Actually my problem is that the customer wants me to fetch extra informations which are located under the fetched pages. So I have to fetch 1.000 Pages (instead of 100 which are displayed) to get the whole data for the customer. Maybe it would be helpful if I make more use of MarkupCache in this areas ... but in this case the whole data must also be fetched ... not so often but at least once. I could delete the cache if some of the pages changes. I looked at the SSP-example ... has somebody rewritten the SSP-example for processwire?
  4. Hello, has anybody here done this with processwire: https://datatables.net/examples/server_side/ I want to use this solution because I have to work with a huge amount of data. TIA Henning
  5. I use this script: #!/bin/bash #wget https://codeload.github.com/ryancramerdesign/ProcessWire/zip/master wget https://codeload.github.com/ryancramerdesign/ProcessWire/zip/dev mv dev dev.zip unzip dev.zip mv ProcessWire-dev $1 I saved it as getpw.sh. When you call it with a parameter like ./getpw.sh mydomain.tl the processwire files will be fetched and installed under the directory which has the name of the first parameter (mydomain.tl) dev gets the dev-part of processwire and master the stable part of processwire.
  6. What about 2 PageArrays? Sort them depending of existence of the fields and then you can concatenate them afterwards.
  7. I upgraded the system to 3.0.12. And voilá ... it works. But I'm afraid that my mind is blocked ... is there a possibility to fetch data from the other multisite installation via $this->wire->something? I need to work with a huge catalog which belongs to one of the both multisites. TIA
  8. Thanks again for the quick answer. I tried it and nothing happened. Then I downgraded PW to 2.7.2. After the downgrade it works with PW 2.7.2. I will try tomorrow to upgrade the system to 3.0.12 again. Maybe it works this way.
  9. Is multi-domain-configuration working in PW 3? I tested it as described above but there is no result for the second domain in index.config.php. It looks like PW don't get the content of the index.config.php which I copied to the DocumentRoot of the installation.
  10. Thank you for the answer ... I thought this could be done with ProcessWire 3 and namespace support
  11. Hello, I have two Processwire installations which should share an entire part (a collection of plants). Now I tried to include the installation with all the content (plants) (site1) into the other installation (site2). This gives me the error: Compile Error: Cannot redeclare class ProcessWire\ProcessWire (line 696 of /var/www/virtual/site2/site/assets/cache/FileCompiler/var/www/virtual/site1/wire/core/ProcessWire.php) Is there a trick, a hint what I have to do? Must I do something with the namespaces? Is there something to do in the config.php? In site1 I use PW 3.0.11 and in site2 I use PW 3.0.12.
  12. Hi Wanze, I myself never saw those URLs but sistrix whines about it. Every page has a canonical tag with the right URL and every page has a redirect to one domain and one hostname but sistrix says it finds duplicate content. I'll ask the seo guy tomorrow for more details.
  13. Hello, I have several times discussions with the seo guys about urls in processwire. There are some which are valid with the regular url and also with domain.xx/index.php?it= What do you think about this? Is it possible to redirect the "domain.xx/index.php?it=" url to a "seo-friendlier" url? I have this within several projects.
  14. If you want to get only the first instance of unternehmen you can use $kunden->unternehmen->first. It's all the same as with images.
  15. Maybe a hook which changes the names to the individual titles of the new generated page. Just take a closer look to the HelloWorld.module in the modules directory. I have a page with 6 languages and ran into the same stuff. I was short in time and the idea came just after the launch. Maybe this is an idea which could let to the right solution.
  16. Is there a newer version then 0.0.4? I use version 0.0.4.
  17. I switched on uberspace.de from php 5.6 to 7.0. Now It comes to the following error-message just after clicking on the module-entry in the backend: Compile Error: 'continue' not in the 'loop' or 'switch' context (line 655 of /site/modules/ProcessWireUpgrade/ProcessWireUpgrade.module) When I go back to 5.6 everything works like before. I use PW 2.7.1
  18. I thinks it could be a problem with to low memory on the host. Try to give PHP more memory. memory_limit=256 should be a safe value for complex repeater structures.
  19. OK. I got it. I used the switch in the wirepdf modul configuration and set it from core fonts "c" so "s". Now it works.
  20. It seems like I'm to stupid to change the font. I followed the instructions for mpdf but I can only set default fonts like Helvetica, Times. The given example dejavu also don't work. I have converted an oft-font to ttf and put everything in the right place. Any hints how to change to individual fonts?
  21. Hello again. I solved the problem on my own. I have had problems with installing pw on 1and1. I made there an entry about the connection type: $config->dbEngine = 'InnoDB'; After deleting that line everything works fine. That line of code wasn't there in my dev-area.
  22. Hello, today I run into an interesting problem. Everytime when I trie to add an field it says SQLSTATE[HY000]: General error: 1214 The used table type doesn't support FULLTEXT indexes. I think the problem startet after I installed „formbuilder 0.2.5”. Had anyone here same or equal problems? Today I switched the database from one hoster to another hoster (the problem appears on both of them). Henning I use PW 2.5.29
  23. Today I found the time to move the database to 1und1. I found that the given password has two interesting characters: " and ' This was the problem. I simply escaped one of them in the config file. Never use passwords with " or '. Now I have another problem. I will post it in a seperate thread.
  24. Hi Robert, thank you for your post. This is/was my plan b I'll try it and wether if it works or not I will report the result so that others won't have such trouble.
  25. It's a mass hoster. There are no specific rights for databases :-( I solved it now temporary with a database connection via Hetzner. So the site is now online and I have time to solve the problem.
×
×
  • Create New...