Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

2 Neutral

About blacksrv

  • Rank
    Jr. Member

Recent Profile Visitors

1,294 profile views
  1. Yes I know, but it's not working, in both file I have $config->debug = true;
  2. I notice I can overwrite it in wire/config.php, but still not working, any ideas? Thanks
  3. Hi everyone, I'm having some issues with a checkbox list: I have a "select options" field with multiples checkbox, and I need to add an attr to each checkbox. Is possible to do it without JS? Thanks
  4. Nevermind, was a stupid error on a prepend file.
  5. Hi, I got this error after login to the backend: Already tried to delete cache, disable all modules, update processwire to lastest version, nothing works. Any idea of this error?
  6. Hi, I'm having some issues with PW after a NGINX error, I'll try to elaborate: 1) My nginx site conf file went corrupt. 2) try to recreate it using: https://processwire.com/talk/topic/275-processwire-on-nginx/ 3) All my urls are accesible using '/' or without it. 4) I have urls that doesn't work without the / at the end, the url is dynamic (I check for the segments) Ex: "www.url.com/something/countries/usa" works! "www.url.com/something/countries/usa/" works! "www.url.com/something/countries/mexico/" works! "www.url.com/something/countries/mexico" doesn't work I assume it has something to do with my nginx, it only happens with the same country, in fact if you use a country that doesn't exist it just redirect you to the main url, but in 'mexico' case it just return a 404. Any ideas??? edit: something I forgot I testing adding it a backslash to all urls but the backend has some troubles when it comes to saving.
  7. is possible to add some graphics in the frontend? Using hanna or directly php? Thanks
  8. I'm having a strange problem with CSRF, hasValidToken() only works on internal pages and not on the homepage. The weird thing: is the same form, I have a modal in the footer, so every single page uses the same form. If I register using an internal page it works fine, if I use the homepage to register, the csrf token returns error. This is what I use to validate: if ( ! $this->session->CSRF->hasValidToken() ) { $errors['csrf'] = __( "Form submit was not valid, please try again." ); } Any ideas?
  9. Hi, did you find the error? I'm having the exact same problem.
  10. Thanks @kongondo, I was hoping to skip writing some code, I have several templates and pages using the same field. Thanks again.
  11. Hi, I'm having some troubles sorting pages by a number. I have a field that counts views, but I created using text instead of integer. When I search all items and then do a filter like: $pages->filter("sort=-views_count"); It sorts correctly, but if I do: $pages->find("sort=-views_count"); it doesn't sort correctly. I tested it on the backend and the error exists, if the fieldtype is text the sort is something like: 1411 14690 1478 14890 1502 if it's an integer the sort is correct. Is possible to convert a text to an integer? from the backend the option doesn't exists. Thanks
  • Create New...