All Activity
- Past hour
-
This saved me, thanks. In case anyone else is struggling..... "To allow a user to edit a page, the "page-publish" had to also be checked." So now users can publish/unpublish pages........ If you don't want that, use template > advanced > don't allow unpublished pages
- Last week
-
Then try the following: if (!is_null($_SERVER['REQUEST_URI']) && strpos($_SERVER['REQUEST_URI'], $this->wire('config')->urls->admin) === 0) { Have not tried it with bootstrapping but the code inside the if condition is not important for running forms. It is only there to add CSS and JS files to the backend, so you can prevent the running of the code inside the condition by checking the existence of $_SERVER['REQUEST_URI'] first.
-
Hi @cwsoft, thanks for your questions and your help. You are right, I should no longer worry about the database as long as the rsult fits. At the moment I am working with a local copy of the site in order not to publish half-finished results. I implemented variable sorting (by name, date or newest first) by visitor, and had some problems finding the right conditions, especially with the reverse part. The result I found looks a bit crazy, but it works. So I think, we can close this topic here.
-
patrick started following ProcessWire Commerce: Help Needed
-
ProcessWire Commerce: Help Needed
patrick replied to kongondo's topic in ProcessWire Commerce (Padloper) Support
I tried to install ProcessWire Commerce, but I get the following error message: Module reported error during install (PwCommerce): SQLSTATE[42000]: Syntax error or access violation: 1103 Incorrect table name '' -
And a JS error is preventing anyone from showing on the map.
-
What will happen to developer directory?https://directory.processwire.com/ It is not mentioned anymore on the website but you can still find it on Google. You cannot login anymore. At this point I think it should either be deleted or relaunched. 😆 Regards, Andreas
-
This gives the same error. I fill this is related with the module because this is not the first time I bootstrap PW and never had an issue before to install this module. You are using REQUEST_URI, but when bootstrapping, isn't it expected that it's not defined? It's easy to test, just include PW index.php in any script and run it directly (no web page involved).
-
d'Hinnisdaël started following Weekly update – 8 August 2025
-
Rather late to the party, but congratulations to everybody involved on the website redesign! It's turned out really well. Such a clear and fun design for a CMS, I like it better with every minute. One thing that doesn't quite work yet (I think) are the admin screenshots on the homepage. These could be much more lively and colorful. As in: examples of working with images and other multimedia content in the backend. Sure, the tables and custom fields are important, the search, filter, etc. But it's all rather dry. And I kind of miss the skyscrapers, they lent themselves to integrating images easily. Or maybe it's time for trees or birds. As someone said before, keeping the skyscrapers comes with some free brand recognition. I agree that not of all the animations make actual sense or match the text beside them, but that's... okay? They're fun to look at, and the text is large and easy to read.
-
SQLite support would be especially great to signal that ProcessWire prioritizes ease of installation. It's a sane, pragmatic default that avoids the hassle of networked databases. I would assume 80% of new sites to just use that over MySQL if it was available. That said, the selector engine and quite a few third-party modules probably do rely a lot on the strongly typed columns of MariaDB, so I'm not sure how feasible this really is. Types in SQLite are very unintuitive, coming from the MySQL world.
-
This issue has nothing to do with the module itself, but it seems that the $_SERVER array is not loaded at that moment. You can try the following: // Replace the following line inside the FrontendForms.module file on line 858 if (strpos($_SERVER['REQUEST_URI'], $this->wire('config')->urls->admin) === 0) { with this line if (!is_null($_SERVER) && strpos($_SERVER['REQUEST_URI'], $this->wire('config')->urls->admin) === 0) { Let me know if it works
-
+1 with @adrian and If chmod is disabled for so-called security reasons, huge doubts arise about the rest of the servers' security...
-
Another question/issue. I'm starting a new project, it will include bootstrapping code. I made a simple test, and I get an error from FrontendForms, error comes from the include of index.php. The test script: <?php namespace ProcessWire; include __DIR__ . "/../vendor/autoload.php"; include __DIR__ . "/../index.php"; The error: Is it a bug or do I have to do anything to avoid this?
-
Lance O. started following Adding classes to Repeater items for custom styling in admin
-
Migrating an older site and getting errors in the installer
digitex replied to digitex's topic in General Support
I think I fixed it. I did a clean install with a blank profile then I imported the SQL straight into phpmyadmin then copied the assets, templates and modules into the site folder. Using the export profile and creating a custom installer is supposed to be seamless but not so much. Things look like they're going to be ok. -
Migrating an older site and getting errors in the installer
digitex replied to digitex's topic in General Support
I went ahead and finished the installation to see what happens and I got this error which is bizarre to me: Error: Exception: Template 'admin' is used by the homepage and thus must have the 'guest' role assigned. (in wire/core/Templates.php line 287) I can't understand why the home template got replaced by admin which should not be publicly accessible. I'm pulling my hair out. -
digitex started following Migrating an older site and getting errors in the installer
-
Honestly I would find another host - having chmod disabled is likely to continue to cause problems.
-
You need to contact your ISP to sort out if there is a way to set the required file/folder permissions the way required to setup PW on your shared host environment. Maybe read this tutorial on securing file permissions too https://processwire.com/docs/security/file-permissions/
-
Hey, Just to let you know : @kolkalo informed me that lautre.net has indeed disabled chmod(). Is this because of some sort of security issue ? Is there a way to activate this for a particular user ? I'm just being curious…
-
I don‘t know the outdated module and how it stores text and maps that to images. From your first table, one sees some null values for gif images but not for jpg for example. When did the issues start? Have you or your ISP upgraded the PHP version used etc. Is it really needed to remove the module or could sorting etc. be fixed by fixing the module? Have you checked error logs and enabled debug mode (e.g. on a localhost copy) to better spot the error? How far are you in the process of implementing the old module just with core functions? Have you tried to e.g. loop over the gallery pages and extract the images text into a textfile or CSV by using the PW API e.g. from a custom template file etc.?
-
Hello, When I use setFieldContextArray on a Repeater field via the API, I get the following error when trying to open the Repeater field: Sizzle.error - JqueryCore.js:1:18925 Error: Syntax error, unrecognized expression: {"error":true,"message":"Field mediacljm1 is not saveable because it is in a specific context"} Does anyone know why this happens? Thanks! $fieldgroup->setFieldContextArray($field->id, [ 'position' => $data['position'], 'colsize' => $data['colsize'], 'typ' => $data['typ'], ]); $fieldgroup->saveContext();
-
@cwsoftEven though I've been building websites for a few years, I'm still a beginner in many topics. I started with PW about 10 years ago. To add fields to the images of a gallery I installed the "image-extra-module", which is no longer maintained. The function has now arrived at the core, but the module left some oddities in the database at that time, which today cause problems with ordering and sorting. My question was how I can clean up here without having to re-enter all content.