• Content count

  • Joined

  • Last visited

Community Reputation

12 Good

About verdeandrea

  • Rank
    Full Member

Recent Profile Visitors

2,400 profile views
  1. You are freakin' awesome!
  2. Hi, i'm working on a website based on an old PW website. I started from the old one and i upgraded PW version to the last one (3.0.62) replacing wire directory, index.php file and .htaccess file. After i started working on it i noticed that it was messing with my repeaters, saving them in wrong parent pages with wrong templates. So i decided to downgrade to the previous version (2.6.1) and now my repeaters are working again. But now i have problems with the Password field and when i try to edit an user or the pass field i get this error Warning: Creating default object from empty value in [...]/wire/modules/Fieldtype/FieldtypePassword.module on line 44 Error: Uncaught Error: Call to undefined method stdClass::setPage() in [...]/wire/modules/Fieldtype/FieldtypePassword.module:45 Stack trace: #0 [...]/wire/core/Field.php(485): FieldtypePassword->getInputfield(Object(Page), Object(Field)) #1 [...]/wire/core/Wire.php(387): Field->___getInputfield(Object(Page)) #2 [...]/wire/core/Wire.php(325): Wire->runHooks('getInputfield', Array) #3 [...]/wire/core/Field.php(554): Wire->__call('getInputfield', Array) #4 [...]/wire/core/Wire.php(387): Field->___getConfigInputfields() #5 [...]/wire/core/Wire.php(325): Wire->runHooks('getConfigInputf...', Array) #6 [...]/wire/modules/Process/ProcessField/ProcessField.module(729): Wire->__call('getConfigInputf...', Array) #7 [...] (line 45 of [...]/wire/modules/Fieldtype/FieldtypePassword.module) This error message was shown because site is in debug mode ($config->debug = true; in /site/config.php). Error has been logged. When i was using the newer version i made some changes on the password field security options, so maybe it could be related to that. Could some one please help to fix it? Thanks EDIT: Of course i downgraded putting the old wire directory, index.php file and .htaccess back
  3. Hello girls and guys, i'm looking for an Italian ProcessWire Developer that could help me with a website. I've developed a web platform for car sellers since three year now. The website is a training and motivational platform, and every year it has a new "edition" with a new theme a new graphics, but the backend part is mostly the same every year. This year the platform has to be released around the 30th of November but i won't be working for 2 weeks around that date. So I'm looking for someone who can maintain the website and help my clients with possible bugs or problems during these two weeks. This person should know how PW works, should be able to understand and write PHP and fix some minor problem on the front-end side. My client is Italian that's why he or she has to be Italian-speaking. If you are interested or you know someone who cold fit this request, please send an email to andrea at andreaverde dot it or write me a pvt message here. Thanks!
  4. Thank you guys!
  5. Thanks Bernhard, this is my case: I have a page "Lawyers" that contains other pages, that are groups of lawyers i.e. "Partners", "Associates", etc. Iniside every group i have pages for every lawyer. So in the end is something like this: Lawyers |__Partners |__Donald Duck |__Uncle Scrooge |__Mickey Mouse |__Associates |__Bugs Bunny |__Duffy Duck |__Speedy Gonzales and so on with other groups. I'm using the lawyers page to load and filter all the lawyers by group, name and others criterias, so i'm loading the filtered data via ajax and using vue.js to show them on the page. I'm also updating the page url, using js, according to filtered data. For example, my starting url is "/lawyers/". If i filter al the partners that should be "/lawyers/partners/". If i continue filtering for country that should be "/lawyers/partners/italy/". An that is not a problem as long as i start my navigation starting from "/lawyers/". But, of course, if i go directly to "/lawyers/partners/" pw open the partners page (that does not have a php template). That is why i need everything after "/lawyers/" to be considered as an url segment. Is there a good way to make it work? The only other solution i could come up with is using a different page (not "Lawyers") as starting page for searching and filtering lawyers so that i can use url segments without conflicts with children pages. Is there a better solution? Thanks
  6. Hello! I have pages that have separated fields for first name and last name. I'm working on a search form that has one single input field, so that if someone search for "John Doe" it should find all pages that have "first_name = John" and "last_name=Doe" or, of course, "first_name=Doe" and "last_name=John". What would be the best use of selectors and operators in this case? I came up with first_name=John|Doe, last_name=John|Doe so that i should split the search key with | I'm not sure this is the best solution. What would you suggest? Thank you!
  7. Hello, i read that "URL segments only apply if the requested URL did not resolve to an actual page." (from here) Is there a way to change this behaviour? I have a parent page loading his children via ajax, and i know which children to load from url segments. So that would be nice to have url segments to have precedence instead of children's url. Thanks!
  8. Well, it's not working with my PW 3.0.28 site, e here it says compatibility to 2.6, so i guessed that wasn't compatible with latest PW release. Is this just happening to me?
  9. Is there any valid alternative for batch actions on pages?
  10. Thanks @Robin S I've checked my phpinfo and it says Debug Build = no error_reporting = 32767 So i should change error_reporting? Setting it to what?
  11. @BitPoet they just changed my php installation with a no-debug one, but unfortunately i still get the same exact errors message. Is there something else i can try?
  12. You are right! It says "Design Build = yes". So i need to ask to install a not-debug version of php?
  13. @horst This are my active modules: FieldtypeConcat FieldtypeMapMarker FieldtypeSelect InputfieldCKEditor ProCache ProcessDatabaseBackups ProcessExportProfile TextformatterVideoEmbed ProcessTemplateSetupBatcher.module @BitPoet: Thanks. I've tried putting error_reporting(E_ALL & ~E_NOTICE); at the end of my site/config.php file, but nothing changes. I'll ask to my hosting provider if there is a debug build of php installed. Can i also check this by myself using phpinfo() or something else?
  14. Thanks Horst, yes, I know that. I changed folder and files permissions manually. I changed them using ftp software. I've done as you said, i've checked the file folder of my page and the image is there. The file has 777 permissions, the id directory has 777 permissions and "files" directory has 777 too. I had applied 777 to all assets folder (just for test, i'll change it later) but still no luck.
  15. I've just checked and permissions for the files folder were ok. I tried also to change them to 777 but i still have the same error. I tried to create a new template with a new image field and it still gives me this error when i save, even if i don't upload any image and i left the field blank. This happen only with images/file fields. I don't get any error if i don't have image fields. All filed from the old hoster should be in the new one. But i don't know if there's a way to check it for sure. What else should i check?