Jump to content

szabesz

Members
  • Posts

    3,023
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by szabesz

  1. I was thinking of it too, but even in that case the password reset should work but he reported the opposite.
  2. Hi, so you passed "Database Config" (see on this page too) but "Admin Panel Information" is missing from the page while "Test Database and Save Configuration is there"? Any PHP error log entries? You might have a HTTP Host name issue. Try to use 127.0.0.1 instead of localhost. Edit: added missing link to @clsource's blop post
  3. Meaning you exported it and installed ProcessWire while choosing it during the install process? It should work, however, normally I just copy over all files and the database too, adjust site/config.php and .htaccess and it should work if requirements are met. In some rare cases you might also need to trucate the cache table of the db, see: urlSegments are integral part of the system, they should work if everything else works too I guess.
  4. +1 I would not rely on system internal values for such a thing since you should let your editors decide what date to pick, and they should not change system internal values whatever they may be. BTW, I often push it a bit further and create an "Event Date" too, to signal when a particular event took place (if appropriate, of course, so such a field is optional).
  5. Something (someone?) must have changed your site I guess. Loosing all passwords and at the same time you have a site that "somehow" changed? Do you have a backup? BTW, more troubleshooting tips can be found here, for example: https://processwire.com/docs/tutorials/troubleshooting-guide/page2 https://processwire.com/docs/install/troubleshooting/#general-troubleshooting-upgrade-tips
  6. I've run into the very same issue today when copying a site from one server to another. Deleting all records of the cache table solved the issue.
  7. Hi, this is the diff which should help (before and after): -INSERT INTO `templates` VALUES (2,'admin',2,8,0,'{\"useRoles\":1,\"parentTemplates\":[2],\"allowPageNum\":1,\"redirectLogin\":23,\"slashUrls\":1,\"noGlobal\":1,\"compile\":3,\"modified\":1474288506,\"ns\":\"ProcessWire\"}'); +INSERT INTO `templates` VALUES (2,'admin',2,8,0,'{\"useRoles\":1,\"parentTemplates\":[2],\"allowPageNum\":1,\"redirectLogin\":23,\"https\":1,\"slashUrls\":1,\"noGlobal\":1,\"compile\":3,\"modified\":1498842443,\"ns\":\"ProcessWire\"}');
  8. A bit OT but it is Friday afternoon after all, so it is time to relax a bit Funny clip I've just come accross:
  9. How much does a gender reassignment surgery cost?
  10. Can be related?
  11. Cool new feature in CodeKit 3.2 (one might never use it but who knows...): Styling Remote Websites
  12. I see, I do not have experience in this area (others might join the discussion to help you out ) but as a tip: you might be interested in this one:
  13. Why would a page query redirect to 404? Am I missing something? We are not talking about accessing those pages directly via the browser, are we? BTW, $pages->get()returns one page only, if you need a PageArray with more than one Page in it, you can use find() with include=all, eg: $pages->find("template=product, include=all");
  14. Hi https://processwire.com/api/ref/pages/get/ Quote: "Use this method when you need to retrieve a specific page without exclusions for access control or page status." Is it what you are looking for?
  15. @clsource You must be the only person on the planet who reads these RSS feeds Nevertheless, this issue should be fixed, of course.
  16. Even though the installer reports that the environment is ok, you might want to share the details of it since it is probably a server issue.
  17. "AllowOverride directive is used to allow the use of .htaccess within the web server to allow overriding of the Apache config on a per directory basis." Just search the web: https://www.google.hu/search?q=what+is+AllowOverride+All Happy ProcessWire tinkering!
  18. Hi, There is a list of reserved words which cannot be used for a Field, see: https://github.com/processwire/processwire/blob/master/wire/core/Fields.php#L36 I do not remember exactly when, but limit was added to this list, hence you cannot upgrade without first renaming the Field in question in the admin. You will probably need to change some code too, in order to accommodate to this change.
  19. I think there are good examples when page references are overkill, such as simple form options (list of countries, list of contact types in a simple contact form, etc...) As a rule of thumb I use this reasoning: am I absolutely sure I do NOT WANT more than simple options? If in doubt, I use page references just to make things extendable in the future.
  20. Hi, Something like this? https://stackoverflow.com/questions/3124636/detect-ajax-calling-url
  21. As far as I can see, it is set in Session.php: https://github.com/processwire/processwire/blob/master/wire/core/Session.php#L263 ... if(ini_get('session.save_handler') == 'files') { if(ini_get('session.gc_probability') == 0) { // Some debian distros replace PHP's gc without fully implementing it, // which results in broken garbage collection if the save_path is set. // As a result, we avoid setting the save_path when this is detected. } else { ini_set("session.save_path", rtrim($this->config->paths->sessions, '/')); } } @session_start(); ... So I guess it is possible to set it in config.php with $config->paths->sessions, see I tried it with absolute path and it works for me, e.g.: $config->paths->sessions = "/Users/user/MAMP/siteroot/site/assets/mysessions"; I think "/tmp" can be the system default which gets purged so that is why you have issues with it. But I'm just guessing, I'm not a Linux admin kind
  22. Hi, Did you check where session files are actually saved? Eg.: https://stackoverflow.com/questions/4927850/location-for-session-files-in-apache-php
  23. Hi, As far as I know, since ProcessWire 3.0.29 we have RewriteRule "(^|/)\.(?!well-known)" - [F] there by default. See: https://processwire.com/blog/posts/pw-3.0.29/#summary-of-added-pull-requests
  24. Hi, related discussion and hints here:
×
×
  • Create New...