Jump to content

horst

PW-Moderators
  • Posts

    4,077
  • Joined

  • Last visited

  • Days Won

    87

Everything posted by horst

  1. @Soma: yes both, mixed, - installed and uninstalled. But don't know exactly which, when and why
  2. <thats-my-first-lol-post-ever>LOL</thats-my-first-lol-post-ever>
  3. I'm so sorry. - I did not want this.
  4. Hi Ryan, many thanks for looking at this. I will do a phpinfo() from local install and send it to you. The modules are: ImagesManager Thumbnails ImageMinSize HorstNogajskiPortfolio (it hooks into ImagesManager->setMetadata) FieldtypeTextUnique ProcessLoginHistory Minify ModulesManager In meantime I have setup a second copy and have disabled most of the modules, (only ImageMinSize and FieldtypeTextUnique is installed) but with no luck. Local it works, online same error as before.
  5. @Ryan, if you want I can give you FTP- and DB-Access. It is my new Portfolio, I have worked on the last two weeks whenever I've found time. So, many work has to be done for JS and Styles, but also a lot of PW coding what I don't want do from scratch again (if possible).
  6. Hi Adam, there was a thread some days ago about that repeaters and sorting: http://processwire.com/talk/topic/3788-sorting-pages-by-repeater-fields-first-entry/ Hopefully there is something useful for you to find.
  7. You can edit the title when you use Edit-Link of your initial (first) post.
  8. @kongondo: I think this is not right. The images reside in the site/assets/files/ folders, and they can be accessed directly. This is normal behave. @svitcov: your img-urls have no filename, something like myimagename.jpg!
  9. Hi, your src of the images i sonly the path to the folder, the files-basename is missing! <img src="/site/assets/files/1011/" /> What do you use in the code of your template-file?
  10. Hi Ryan, have tried the last Dev-Branch, with PHP 5.2 I get Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /htdocs/wire/core/Modules.php on line 241 so, assume that the Dev-Branch is for PHP 5.3.+ When switching to it I have nearly same Error as before, (other Line, but same code): Fatal error: Call to a member function hasRole() on a non-object in /htdocs/wire/core/Page.php on line 1348 I'm checking for returned NULL, and it never passes this point. The very first arrivel throws the error. When I catch it, the var_dump is: object(Language)#219 (25) { ["isDefaultLanguage":protected]=> bool(true) ["template":protected]=> object(Template)#182 (12) { ["filename":protected]=> NULL ["filenameExists":protected]=> NULL ["fieldgroup":protected]=> object(Fieldgroup)#160 (11) { ["settings":protected]=> array(2) { ["id"]=> int(97) ["name"]=> string(8) "language" } ["removedFields":protected]=> NULL ["fieldContexts":protected]=> array(0) { } ["data":protected]=> array(2) { [1]=> object(Field)#151 (9) { ["settings":protected]=> array(5) { ["id"]=> int(1) ["type"]=> object(FieldtypePageTitleLanguage)#141 (7) { ["allowTextFormatters":"FieldtypeText":private]=> bool(true) ["data":protected]=> array(0) { } ["useFuel":protected]=> bool(true) ["className":"Wire":private]=> string(26) "FieldtypePageTitleLanguage" ["localHooks":protected]=> array(0) { ... With the identical DB I have no errors on local setup. How can that be? (I have double checked the DB with dumping both to sql-files and compare with diff tool)
  11. Topic is solved. Reason: human error I idiot simply have exported the wrong DB to the online installation! ----------------------------------------------------------------------------- Hi, have some trouble when try to move local installation online. I have copied all files via FTP, have deleted sessions and cache files, have set write permissions to folders and updated DB-credentials. Have transferred the complete DB from local to Online. Online PHP version is 5.2.12-nmm4, but I also have switched it to CGI-Version 5.3.18-nmm1. It behaves exactly the same: When try to access root '/' or '/processwire/' or any other url I get the Error: Fatal error: Call to a member function hasRole() on a non-object in /htdocs/wire/core/Page.php on line 1275 The Line in page.php is $template = $this->getAccessTemplate(); var_dump($template) is NULL after that line, - $this->getAccessTemplate() tries to return PageAccess::getAccessTemplate($this); // the method in PageAccess: /** * Returns the template from which we get our role/access settings from * * @return Template|null Returns null if none * */ public static function getAccessTemplate(Page $page) { $parent = self::getAccessParent($page); if(!$parent->id) return null; return $parent->template; } whereas var_dump($this) at this point is: object(Language)#216 (23) { ["isDefaultLanguage:protected"]=> bool(true) ... the default-language! Any help is apreciated.
  12. Hi Ovi, Hi Kongondo, haven't worked with it. Don't know it. But Kongondo seams to know it: Without knowing anything about Blog Profile, Kongondos suggestion looks very good and promising:
  13. Hi Ovi, the comments get saved, too! So, where are the comments stored in your hirarchy? I think (in PW-language), the comments are Pages too! Without knowing your setup and structure, I think it should be possible to hook into page saveready or after page save - of the comments page. Module: - check if page is a comment, if no: return - if yes, get the product-page and count +1 the hidden field
  14. Actually you can build these functionality by using a Repeaterfield that holds your fields for en + de.
  15. Hi Kixe, the Local Audio Files MP3-DB isn't meant to be a Player. The only reason why there is the YahooPlayer in it, is to show some of the possible functionallity of the DB and because it could be embedded with only one line of code. (lazy me) The Local Audio Files MP3-DB was created to manage your MP3-Collection and let you import hundreds or thousands songs at once, and read the ID3-Tags to build the DB. It gives you some comprehensive tools to assist in building forms and playlists and that like. But all frontend stuff, including Player embedding has to be done by your self. So if you have some time you may want have a closer look to it and may be than you find it useful to setup your Audio MP3 Flash Player on top of it. (This was my intention when writing it) Anyway, nice to see other audio related work here!
  16. Hi Kixe, sorry not much time, (will look at it later) //for example: wire()->addHookProperty("Page::player", null, "PageHookPlayer"); function PageHookPlayer($param) { // your code if('code'==$param) { // show player ... } don't know if you can use it like $page->player['code'], but you can use it like $page->player('code'). <kuckstDuHier>http://processwire.com/api/hooks/</kuckstDuHier>
  17. Yes, and best for _all_ parts, cells, gutter, padding, etc.
  18. If you give .span3 in "/site/templates/css/bootstrap-responsive.css" Line 146 a height: 320px; (for example) it is solved. So I'm not a css expert (lol) but it has something to do with the different heights of the thumbs. And as of .span3 is invisible, from aspect of design it may be better to set the thumbs visibly to the same height?
  19. @Soma: yeah, thats right, but LC_ALL includes LC_CTYPE, and LC_CTYPE for character classification and conversion is responsible for use of str_tolower, strtoupper etc.
  20. @slkwrm BigThumbUp! @ranzwertig When switching the userlanguage, it is done with setlocale. Especially here: LC_CTYPE for character classification and conversion. But I don't know what PHP uses for a character type for the de_DE that it does conflict with UTF-8. I'm not shure, but maybe if one haven't enabled mb_str-functions, if it also could be done with str_tolower(utf8_decode($text))? please, can you try it once? And what is the difference between setlocale LC_CTYPE and ini_set('default_charset','utf-8') ?
  21. I use and love HamsterPlayGround it is small and lightwight and use own scripts that let you do everything you can think of with mails: PlayGround But if you don't want play, only need one quick up and ready, you may look here: http://www.janaserver.de/start.php?lang=en JanaServer comes with HTTP, HTTPS, Proxy, SMTP, POP3, IMAP, DNS servers, but you can configure it to run none, one or any number of them. Not fancy but stable.
  22. Hhm, weird. When logged in with german user, there are broken umlaute only in frontend, not in backend. (label and inputfields are ok) Do you use TextFormatter for Titlefield, (HTML Entity Encoder), or not. Can you switch once and compare?
  23. horst

    .htaccess

    and, if not already done: check if module expire is available, (<IfModule mod_expires.c>) and IfNot it will do nothing.
  24. Hhm, sorry, - I don't know. Just want to help with what I've experienced by my self. But at all, it sounds really weird. There are many users who use DE-Language-Pack with all setup to UTF-8 and have not that issue. So, there must be something different with your setup.
×
×
  • Create New...