Jump to content

verdeandrea

Members
  • Posts

    129
  • Joined

  • Last visited

Everything posted by verdeandrea

  1. Hi guys, is it possible to renew a ProCache Single that i bought in 2016? I don't see any option in the purchases section. Thanks
  2. Hello guys, I'm working on an important project and I'll probably need to import end export templates and fields from my local site to the production one. The last time i used the built-in import export tool i had some issues cause that feature was still experimental at that time. Now I'm using PW 3.0.96 on this new project and i just wanted to ask if the import/export feature is now stable or not. I have very strict deadlines i would like to avoid any possible issue. Thanks!
  3. Thanks @adrian Yes probably the export/import feature messed my repeater fields. In the end I decided to trash all the old fields and to start again with new ones so now it should be fixed. Thank you guys.
  4. Ok, i think I got where the problem is. The 2 repeaters have the same template id in the database. I have to fix that.
  5. Yes, I'm pretty sure I have some messes on the database. I tried to delete the first repeater. First i removed it from the only template that was using it. But then, when i tried to delete it i got an error message that says it can not be deleted cause it's used in 56 pages (i also emptied the trash before and tried again). Probably i have to dig in my database.
  6. @dragan unfortunately i can not go to old state cause a lot of contents are being inserted by my client during these last days. I'll definitely try to merge the two custom modules into one.
  7. @adrian sorry i forgot to mention: PW version is 3.0.62, so it should be the last. @dragan thanks, i'll change my functions names se they are not the same. But i think i understood where the problem is but i don't know how to fix it. I have these two repeaters and their children fields where inverted when I imported them via pw import fields. Then i though i fixed but they are now somehow related. That means that, if i fix one repeater's children also the other repeater get the same children. I suspect it could be some problem with ids in database. Maybe the best thing to do is create new repeater fields from scratch, if you don't have better suggestions on how to fix this problem. Right know i tried to fix one repeater and when I checked the other one, its children fields were changed and were the same of the first repeater.
  8. This are the modules I have installed. There are two custom modules I made (GlobodoroChildren and GustoChildren). But I don't think they can be responsible for this problem. You can find them attached. GlobodoroChildren.module GustoChildren.module
  9. Thanks for the reply. @dragan I'm using the CronjobDatabaseBackup module to make daily backups of the database @Robin S no I'm not using it. If I remember correctly i had this problem for the first time when i used export / import fields tool in processwire to copy this new fields from my local pw to the remote one.
  10. Hi guys, I'm getting crazy trying to figure out what is the cause behind a weird problem is giving me some bad moments with my client. I have a repeater field, with some fields as childre. From one day to the other the children fields of the repeater change and i find other fields as children. Also, all the content my client inserted in that repeaters are gone, cause now we have the new empty children fields. I really don't understand what can be the reasons behind this. This happened more than once. It' s like there is a repeating action that changes the repeater's children. The only repeating action I can think of is the chronjob for the database. Could this depend on that? Have you any idea or suggestion of what should i check or ho to solve this weird problem? Thank you very much!
  11. 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
  12. 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!
  13. 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
  14. 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!
  15. 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!
  16. 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?
  17. Is there any valid alternative for batch actions on pages?
  18. 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?
  19. @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?
  20. You are right! It says "Design Build = yes". So i need to ask to install a not-debug version of php?
  21. @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?
  22. 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.
×
×
  • Create New...