Jump to content

einsteinsboi

Members
  • Posts

    132
  • Joined

  • Last visited

Everything posted by einsteinsboi

  1. Can't reproduce the error notices, but when I asked them where they got the errors from they say it's output from a trace command. They're also suggesting it's something wrong with the software (i.e. processwire) because when they try to execute index.php directly they get a segmentation error?
  2. My processwire site had been working just fine. Today I was doing some edits, added a couple of users, and was making a copy of a module to play around with the code when the site started acting funny. I never got to install or activate the modified module because first the module admin page kept redirecting to my sites 404 page. Then the whole site started delivering an internal server error (500). I deleted my custom module folder but that didn't help. I checked the processwire site/assets/logs/error.txt file but nothing there. The cpanel error log also seems to show nothing there. I have opened a support ticket with my hosting company and this is what they've come back with: I have looked over this and it seems like the script you have there is ending execution prematurely. Upon a closer look we have noticed that multiple script related files are missing, such as theme files: stat("/home/thecodin/public_html/mnz/wire/core/AdminThemeDefault.php", 0x7fff1ad9eb60) = -1 ENOENT (No such file or directory) stat("/home/thecodin/public_html/mnz/wire/core/AdminThemeDefault.php", 0x7fff1ad9e980) = -1 ENOENT (No such file or directory) stat("/home/thecodin/public_html/mnz/wire/core/AdminThemeDefault.php", 0x7fff1ad9eb90) = -1 ENOENT (No such file or directory) stat("/home/thecodin/public_html/mnz/wire/core/AdminThemeDefault.php", 0x7fff1ad9ebe0) = -1 ENOENT (No such file or directory) stat("/home/thecodin/public_html/mnz/wire/core/14fk4pd5jgte0811d.php", 0x7fff1ad9ebe0) = -1 ENOENT (No such file or directory) stat("/home/thecodin/public_html/mnz/wire/modules/PageRender.info.php", 0x7fff1ad9f380) = -1 ENOENT (No such file or directory) stat("/home/thecodin/public_html/mnz/wire/modules/PageRender.info.json", 0x7fff1ad9f380) = -1 ENOENT (No such file or directory) stat("/home/thecodin/public_html/mnz/wire/core/PageRender.php", 0x7fff1ad9eb70) = -1 ENOENT (No such file or directory) Anyone have any ideas? None of these files look familar to me. I have uncompressed and checked my last backup and they weren't there, and they're not in the original PW 2.5 download folder as far as I can tell. So how can they be missing? Any thoughts are welcome.
  3. Really strange, my site was working just fine and I editing was some pages, just content, and I also added a couple of new members the usual way, no problems. Then I decided to try to make the changes to the module. I created a copy of the module folder and renamed it as you recommended, and renamed the .module file and did a find replace then edited the code in the custom module as you recommended. When I tried to go to the /modules/ page to find and install the new module, it wouldn't see it, and a few seconds later the whole site started throwing an Internal Server Error (500). I have checked the processwire error log and it shows no errors, and have also checked my cpanel error log, also no error. I deleted the custom module folder but still getting a 500 error. What could be causing this and how do I fix it? All other sites on the account are working fine but this one's throwing an internal server error and I can't help but wonder.
  4. Thank you kongondo... I'll give this a try and let you know. You're awesome
  5. "You are a reflection of your daily average. Your results in nearly any area of life are often a reflection of... http://t.co/sp8mz7AaAD

  6. Awesome module. Is it possible to set things up such that when a user logs in they don't see the whole tree, just the pages they're allowed to edit?
  7. I have just installed this module and I'm using it to restrict members of a site from being able to edit certain fields which are part of their user profile page (which is a page on the tree that only they have access to edit). However, I want them to still be able to see the fields, just not be able to edit them. Is this possible?
  8. RT @Sports_HQ: You can't let praise or criticism get to you. It's a weakness to get caught up in either one. -John Wooden

  9. Thanks adrian Sorry for the delay in responding, busy weekend. I know I've seen this thread before, thanks for reminding me... looks like it should do the job Between this and the Page Edit Per User module I should be all set
  10. RT @gblakeman: for those interested in how my gmail was hacked and my instagram account stolen last weekend, here’s what i know: https://t.…

  11. I'm working on a project where I've got about 500 members. These members each have their own page with fields that they can edit and others that they can only view, all these member pages are under a parent page (members). Each member's page is bound to the user's profile using a pagefield in the user profile. I would like to have a login form on the sidebar where members log in from the front end and are immediately redirected to their particular page. I plan to use Fredi module to allow them to have front end editing access for their page. I don't want them to access the backend at all. All suggestions welcome. Thank you
  12. I’ve decided not to obsess about tools.

  13. Thank you. I have reopened the issue on Github. I suspect what I will end up doing is created user profile pages separately and binding them to the user profile using the page-field as Jan recommended above, and see if that works better. Was leaning towards that route initially
  14. That's what I thought... Thanks Martijn, I've double checked and I definitely have Image as the input field. What I've now noticed is that if I'm logged in with the admin account I can upload a photo to a user's profile and it shows up immediately as expected, but I'm logged in as that user I can see the photo but I'm still not able to upload a new photo and replace the current one that the admin role uploaded. This isn't ideal because ideally the member should be uploading their own profile photo and be able to replace it. I have checked that I have allowed the member roles to be able to update password/profile. Not sure why it's not working.
  15. I've created an image field. I upload the photo, it says it's uploaded, but I don't see it. I think I had this expectation that the profile photo would show in the backend after it's uploaded, like in other systems, so that when editing their profile the user can see what profile photo they have uploaded and how it will appear, and they can change it if needed. But I probably need to do some work to make that happen, don't I? Still a lot of PW learning to go. But all my clients want WP WP WP... meh.
  16. Thanks for the suggestion Jan. I have set up some demo users using the inbuilt user profile and added some custom field, but I think I need the separate profile page approach for the site manager to manage users in a way that will be easy to understand, and i think user profiles in the tree will probably be easier for her to follow. The other problem I've had with the inbuilt user profile is trying to get a profile picture field to work, but I'm probably doing something wrong there. I will try the page-field approach, I didn't know there was a page field Thanks Kongondo. All members regardless of sub-role need to be able to edit the same set of fields, where the access differs is in what parts of the website they can access. Will give this a go thanks for the replies
  17. Enjoying some time off from the brick and mortar… that means it’s time to play with code!! Yay :)

  18. I know this has been discussed before and I've read through a lot of those threads over the past few months, but I'm getting myself all confused and have so many bookmarks my brain is at risk of exploding, so bear with me as I ask for some guidance/clarification. I have a site with about 500 members that I'm moving to PW. The old database is so convoluted that I'll be importing them manually, which is no big deal as the client is willing to provide plenty of data entry assistance if I need it Each member will have the basic role of "member" with sub-roles "junior", "senior", "elder", etc Each role will be able to view different parts of the member end of the site. This is all easy for me to set up using access by template rules. Now this is where I'm sweating. I have a feeling it's easy but for some reason I keep confusing myself and probably complicating the whole thing I would like very much to have each member profile be a page with different fields that I can pull into an aggregated members page for public viewing. That's easy enough to do by me just creating the pages. But how do I then have each member be able to edit certain fields on their profile page and nothing else? I don't want them to be able to edit anything else on the site, just their profile page. And this is what is really confusing me - how do I link the profile page to the members site account? Also, if a new (junior) member joins using a form I will create (via Form Builder), I want a new page to be created for that user but remain unpublished until the client approves them . Again, I know the answers are here somewhere, and I'm sure they're really simple but I'm having major mental block at the moment Thanks for the help
  19. Bluewire Media’s epic book giveaway – win 25 marketing books http://t.co/AfIXl9AhZh via @Bluewire_Media

  20. My buddy @thedannorris has released his book The 7 Day Startup. It's free this week on Amazon. Highly recommended http://t.co/nOVPYhbR1I

  21. RT @teppokoivula: ProcessWire Weekly #19 is live right now, check it out at http://t.co/icFKCjr01M #processwire #cms

×
×
  • Create New...