-
Posts
3,023 -
Joined
-
Last visited
-
Days Won
20
Everything posted by szabesz
-
I was thinking of it too, but even in that case the password reset should work but he reported the opposite.
- 7 replies
-
- reset
- locked out
-
(and 1 more)
Tagged with:
-
Installation stops after database information page
szabesz replied to devlisa's topic in Getting Started
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 -
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.
- 28 replies
-
- 1
-
-
- urlsegment
- filter
-
(and 1 more)
Tagged with:
-
"published" and "modified" always have the same value
szabesz replied to Marcel Stäheli's topic in API & Templates
+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). -
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
- 7 replies
-
- 2
-
-
- reset
- locked out
-
(and 1 more)
Tagged with:
-
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.
-
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\"}');
-
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:
-
How much does a gender reassignment surgery cost?
-
Cool new feature in CodeKit 3.2 (one might never use it but who knows...): Styling Remote Websites
-
Rendering unpublished pages to unauthenticated user
szabesz replied to ZGD's topic in General Support
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: -
Rendering unpublished pages to unauthenticated user
szabesz replied to ZGD's topic in General Support
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"); -
Rendering unpublished pages to unauthenticated user
szabesz replied to ZGD's topic in General Support
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? -
Installation Error Call to a member function execute() on a non-object
szabesz replied to vwatson's topic in General Support
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. -
"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!
- 4 replies
-
- 1
-
-
- installation
- profile
-
(and 2 more)
Tagged with:
-
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.
-
Choosing between Page Reference and Options field types
szabesz replied to Robin S's topic in General Support
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. -
Hi, Something like this? https://stackoverflow.com/questions/3124636/detect-ajax-calling-url
-
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
-
Hi, Did you check where session files are actually saved? Eg.: https://stackoverflow.com/questions/4927850/location-for-session-files-in-apache-php
-
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
-
Hi, related discussion and hints here: