Jump to content

Jennifer S

Members
  • Posts

    42
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Jennifer S

  1. Yes, this sounds very useful. I don't see the code above but I understand what your intention is. That's exactly the kind of feedback I hope to gather. I will need a database solution because my site does not have write access to the log directory in the production environment.
  2. Neat! Thanks for the help. I will make do with the log files for now and keep an eye out for something more structured. Adrian, if I can help test or give feedback, I'd be happy to do so. Cheers, Jenn
  3. Hello. I've been hanging out in Google Analytics a bit these days enjoying the real-time activity view of my site's traffic. It has prompted me to wonder if there is a way to record the terms people search for using the built-in PW search engine to a log file of some sort on the server so I can review it from time to time to get a sense of user needs.
  4. Good evening, folks. Well, about an hour after I reported my data loss to the server admins this morning, they sent out a message campus-wide saying there was a critical need to reboot the three mysql servers that run most of the U's websites. I think we can safely ascribe this to a case of something being broken on the server, as Ryan suggests, although I may never find out what, exactly. When I looked at my tables more closely I saw that the "fields" table had zero entries, which sounds pretty sub-optimal. I'm glad I had a backup. Joss, two weeks sounds like a long time to wait for clarity. I admire your persistence. It's hard not to be in control of the server machines. A bit like the electric company I guess. Thanks, people, for thread-sitting this with me.
  5. Adrian, it looks like somehow I lost 50K of data in my database between today and yesterday. Both my fields and modules tables were repaired successfully but they had lost all their data. I dropped and then re-installed this weekend's backup of the database and now the site is back up and running. Now to try and figure out what happened... Thanks again for helping...
  6. Thanks for the suggestion. I just emptied the assets folder. No change. Yes, public site and admin site both are down.
  7. Good morning. I'm having a problem with my big PW site. It stopped responding less than an hour ago (except for the 500 Internal Error message). Here is what the error log says: 2014-03-17 13:07:50 ? https://wwwudev.cac.washington.edu/?/ Error: Exception: SQLSTATE[HY000]: General error: 1194 Table 'modules' is marked as crashed and should be repaired (in /nfs/bronfs/uwfs/info/wwwudev/world/uaa/advising/wire/core/Modules.php line 251) 2014-03-17 13:13:30 ? https://wwwudev.cac.washington.edu/?/ Error: Exception: SQLSTATE[HY000]: General error: 1194 Table 'fields' is marked as crashed and should be repaired (in /nfs/bronfs/uwfs/info/wwwudev/world/uaa/advising/wire/core/WireSaveableItems.php line 141) 2014-03-17 13:19:02 ? https://wwwudev.cac.washington.edu/?/ Error: Call to a member function has() on a non-object (line 36 of /nfs/bronfs/uwfs/info/wwwudev/world/uaa/advising/wire/core/Users.php) I repaired the modules and fields table but now I'm getting the last error and I don't know what is happening. The site is on a shared server; I checked to make sure I have lots of disk space. I don't know what could have changed this morning; my next step is to ask our network technicians.
  8. Hm, interesting. Nope, I'm wanting PW to take over for all my old static pages. My site is configured to run on both a dev and production environment, and I'm wondering if that is causing a problem, even though the path is relative. Thanks for the confirmation that it *should* work.
  9. Greetings. I think I may be confused about how this module works. I can establish a redirect that just involves a directory (i.e. "/summer/") but when I give it a path that ends with a php file name ("/uaa/advising/majors/minoff.php") it tells me it is not a valid URL. Maybe this module will not work with a path that ends with .php, like Soma's trouble with .aspx?
  10. Every time a new PW site goes live, an angel gets their wings! I am so pleased to announce this one: UW Undergraduate Advising This is my fourth professional PW site, and the largest. It manages information about more than 100 different majors at the UW, their associated departments, related courses, schools, colleges, and subjects. And a handful of people and a LOT of text. It's basically a manual to pursuing an undergraduate degree at the University. And PW was a JOY to work with. It kept up with everything I threw at it, gracefully and effortlessly. I cannot praise this software highly enough. Thank you Ryan and everybody that is keeping this thing cooking. Best wishes, Jenn
  11. I installed Teflon for the admin panel. Saving is no longer a problem in Chrome. Thank you Soma!
  12. I'm also having this problem. In Chrome, this message is not appearing (and edits are not being saved): Session: Saved Page: /connect-through-academics/new-411/ (1 change) Things work as expected in Firefox. I have the latest version of Chrome (Version 31.0.1650.63 m) and I am on a PC. I don't have any additional Admin themes installed.
  13. I like to limit the number of templates I use so that it is easier to format them consistently. I'll use conditional logic within them to present different elements on different pages (usually by ID). The flip-side to this is that as the site gets built out, my "basic page" templates start to contain a lot of extra fields that are only relevant for a particular sub-set of "basic" pages. Is there a way to suppress fields in the editor according to what page they are on, or do I need to think more globally about includes and such and diversify my templates to address this tendency? Thanks, Jenn
  14. Ah, find. Find is my friend. I had a sense I was re-inventing the wheel. Thanks so much, Ryan. J
  15. I've created sections of my page hierarchy to track different attributes, which I then use to populate a Page(Multiple) selector. They aren't displayed on the site; they're used as a kind of categorization method. I use the PageArray selector in many of my repeating fields. Then in the template code I ask for all the items in a particular branch of the hierarchy along with every instance of a repeating field that has been associated with that page via the PageArray selector. It looks like this: <?php if (trim($page->person)) { $cluepeople = $pages->get( "id=1344" ); $peopletypes = $pages->find( "parent=1582, include=hidden, sort=sort" ); foreach ( $peopletypes as $peopletype ) { echo "<h3>" . $peopletype->title . "</h3>"; $peopletypeid = $peopletype->id; settype($peopletypeid, "string"); foreach ( $cluepeople->person as $thisperson ) { $peopleselectorvalue = $thisperson->people_selector; settype($peopleselectorvalue, "string"); if ( $peopletypeid == $peopleselectorvalue ) { echo $thisperson->title; } } } } ?> I'd love a code review to know if this is a clumsy way of doing this and if there is an easier way (there usually is w/PW). Thanks, Jenn
  16. I see now what happened. I deleted the basic-page template, thinking I would use the Home template as my "basic-page" template (I'm kind of radical that way). I didn't realize you could tell templates that they could not be used for any other pages, which is the default setting for the Home template.
  17. Hi. Looks like the problem was with my account being over quota. Sorry for the spam. Message to others: file writes failing? Check your disk space!
  18. That's a good idea to check the JS console when trying to upload images. It shows the right file size briefly after I drag it in the box but when the sub-box is finished being animated and displayed, the file size shows as zero. I'm not seeing anything show up in the console, though. I've emailed my server admins and asked if anything has changed in the last 7 to 10 days. PHP was updated about two weeks ago, apparently. I described the problem as the system throwing error messages relating to cross-site request forgery protection -- it seems to be having trouble getting HTTP_SERVER tokens to match across the system -- but I really don't know if that's what the real problem is. Whatever happens, I am sure to learn something! Thanks for the comments. J p.s. Line 92 of ImageSizer.php has a typo: "recogized" instead of "recognized"
  19. I am stuck. Seven days ago, something changed such that when users try to upload images to my PW site, the images are posted to the page, but they show up as zero bytes. The folder is created in the files folder, the image name is recorded, the type of file is recorded, but the byte size is zero. When I looked into the problem this morning, I received the "This request was aborted because it appears to be forged." message whenever I tried to upload images. Turning off protectCSRF in the config file suppresses the aborted image message and now I just get the zero-byte image bug, but I don't know why. I've checked permissions on the files directory, changed it recursively to 777 and then back to 755 with no change. I checked that I have active sessions, logs, and cache folders. I checked on the permissions of the config.php file. I changed the sessionName, and turned off the challenge and fingerprint functions but nothing is budging. I installed a new PW site yesterday and so I keep thinking something is colliding but it looks like the images have been failing to write to the files directory for the last week. I'm getting the same results in multiple browsers after any number of cache-clears so I don't think it is client-side. This is a look at the PHPinfo for the site. Best wishes, J
  20. Greetings ProcessWire People. I created a new PW installation today and all was going well until I tried to create new pages. The template drop-down menu refuses to populate. It lists the templates without a problem on the pre-existing pages when I look at their settings. Does this look familiar? I did need to edit the .htaccess file to allow for a custom RewriteBase. Best wishes, Jenn
  21. I was delighted to see ProcessWire listed as one of the CMS platforms in this job posting: http://seattle.craigslist.org/see/web/3716084835.html It sounds like a lovely position, for those of us in the Seattle area. J
  22. Is there a way to manage this with user roles & permissions?
  23. Thanks everybody! I really appreciate the feedback and the suggestions.
  24. I launched it today: http://fyp.washington.edu/ I can't even begin to explain how excited I am by this software. It feels like I accomplished more in a month than in the last ten years of professional web dev work. Finally, a CMS geared to the needs of content publishing and information modeling (i.e. taxonomy and ontology) -- not news, widgets, or journaling. Like so many others I had been struggling with the Drupal/Wordpress dichotomy. Drupal feels like hitting myself in the head with a hammer and Wordpress is insecure and inflexible. And both their inner workings seem completely opaque, no matter how often I build with them. Enter PW, CMS of my dreams. The FYP site is combined with Zurb's Foundation Framework, which I am similarly enthusiastic about. Also above all jQuery + CSS3, which seem like a never-ending treasure chest of wonders. I did the interface design and development as well as the information architecture and all of the programming. My favorite thing about the site is the way I was able to give it gears that turn with the seasons -- for each season of the year I added tag "pages" and then tailored parts of the interface to match. The homepage image, the default header, and the selection of front page slides are all determined by what time of year it is. I was able to expose almost EVERYTHING to the content stakeholders through the flexible field system. I could totally get run over by a truck tomorrow and all would be well. I LIKE THIS. Maybe some don't. But I've always been in this field in the hopes of empowering people and making room for creativity. ProcessWire works with these goals, not against them. Cheers, Jenn p.s. the slider is RoyalSlider. I dig it too.
×
×
  • Create New...