Jump to content

kaz

Members
  • Posts

    243
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling
  • Location
    Munsterland

Recent Profile Visitors

1,654 profile views

kaz's Achievements

Sr. Member

Sr. Member (5/6)

34

Reputation

  1. @da² I removed the entries in the field. The error message remains.
  2. @da² Yes, I edit pages in the admin area. In the template I have a textarea field / CKEditor. I don't have hooks for the editor. I have custom styles, saved in the CKEditor field > extraAllowedContent. The styles are displayed and works fine. I think that's not the problem. /site/templates/assets/ckeditor/ckeditor.css ckeditor:/site/templates/assets/ckeditor/ckeditor.js With a change of the 'public function set($key, $value) …' code I get the same error message, it makes no difference. I cleared the cache, what else can I do? What more? config: I added own styles to the editor which change the appearance of the RepeaterMatrix links. RepeaterMatrix links doesn't look very nice, so I set them as buttons. No big deal, just CSS, no JS or PHP. $config->styles->add($config->urls->templates . 'assets/css/admin.css'); I activated and deactivated the ACF settings ... the error message remains. When I delete the field and create a new one, will I probably lose all entries from the database?
  3. PHP 8.3 ProcessWire 3.0.229 I get this error message in the CK Editor when I select a page for editing: Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /Users/username/Sites/project.com/wire/modules/Inputfield/InputfieldCKEditor/InputfieldCKEditor.module on line 205 How do I get rid of this message?
  4. PW 3.0.229 ProcessExportProfile 5.0.1 I receive an error message after completing the export (as ZIP): Warning: Undefined array key "success" in /Users/username/Sites/sitename/site/modules/ProcessExportProfile/ProcessExportProfile.module on line 800 I think it's just the confirmation message, I would just like to point out.
  5. @wbmnfktr Of course, I solved it this way, it's a bit more work. I added URL fields to the global settings. These fields are output as simple ul list, that's it.
  6. I write what the client wants. Why discuss a client's wishes. If it can't be implemented technically with PW, I set these menu links manually in an template. The question is answered, thanks.
  7. Two doctors would like to have two external links on one page, which are to an external provider for appointments. I have built a redirect template and will display these links in the sidebar.
  8. @Jan Romero I have already tried this out. It does not work. It's not a redirect, the link is displayed as a text link in the body. Not what my client needs.
  9. I have a URL field that should be redirected externally via target=_blank if ($page->external_url) { $session->redirect($page->external_url); } Is there any solution to add target?
  10. @ryan I usually use the project name as the password for the database during the local installation. $config->dbHost = 'localhost'; $config->dbName = 'project'; $config->dbUser = 'project'; $config->dbPass = 'project'; $config->dbPort = '3306'; $config->dbEngine = 'InnoDB'; I may have done it differently for this project; I have the password written down in my notes, but it doesn't work. Because the database is set up in MAMP, I contacted appsolute GmbH for help. I hope that there is a way to renew the password. Thanks for the help!
  11. @BitPoet I have the superuser password, I think I probably remember the database password wrong. I will contact MAMP, there will surely be a way to reset the database password?
  12. @ryan I have entered the $config dates. salt entries I've taken over from the live version, the online version works fine. The error message remains. I guess I will try to renew the database password in MAMP, I hope that's possible? The other data should fit if salt is the same as the online version.
  13. I accidentally overwrote the local config.php with the online version via Transmit. Clearly, the data does not fit locally. I have already updated the correct user, database name and password in these local config, but it does not work. Access is denied: Dangit… Error: Exception: SQLSTATE[HY000] [1045] Access denied for user 'username'@'localhost' (using password: YES) (in wire/core/WireDatabasePDO.php line 505) I don't know what to do now? What, for example, is userAuthSalt and tableSalt? Of course I don't have these data. Is it possible to renew the access data in the local database with PhpMyAdmin? If there's no way to renew the config, how do I keep the project alive? I have the data, the database, only the config is gone.
  14. @bernhard Thanks that works great. And also thanks for the training. I am quietly learning from a book by Christian Wenz and Tobias Hauser, but some parts only become clear when I use :)
  15. I have an address in the global settings which is displayed on all pages in the sidebar. <?php if ($global->businesshours): ?> <?php include('businesshours.php'); ?> <?php endif; ?> The client asked me to hide the address on only one page, id 1127. I can have an element displayed on a single site via a query, if ($page->id == 1042 ), but can I also exclude a page in an include?
×
×
  • Create New...