Jump to content

FrancisChung

Members
  • Posts

    472
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by FrancisChung

  1. If that's the case, then there must be a bug with the installation as I don't see a Cleanup sub-menu on either the Blog itself or the Admin module
  2. I tried this and it seems to have fixed it, but my open file limit only went up to 4,000 from 256. http://duntuk.com/how-raise-ulimit-open-files-and-mysql-openfileslimit If you're using MAMP, you need to goto the MAMP directory and look for my.cnf (I think under tmp) I also tried this on the operating system level, but didn't work too well. I will revist when the first solution stops working. http://apple.stackexchange.com/questions/168495/why-wont-kern-maxfiles-setting-in-etc-sysctl-conf-stick
  3. Hi Kongondo, I did actually finish the installation before trying to look for the "Cleanup Utility". I believe this is the correct state it should be in after installation (I chose option 1)? http://imgur.com/vio6QmQ I think the documentation was leading me astray as it was referring to "Cleanup Utility", "Cleanup Feature" and "Blog menu item called CleanUp", but there was no clear titles or labels that that actually included the word Cleanup in the pages I saw. I guess it wasn't clear to me that the first initialisation page also doubled up as the cleanup utility that was referred to multiple times. I think where it got me confused was after reading "Blog Menu Item called Cleanup". So I see a menu item on called Blog on the admin screen. And I was expecting to see a menu item called Cleanup as a submenu item like other different Admin menu items normally have. Except it wasn't there as expected. I did read the README multiple times to Cleanup the confusion I was having (pun intended) and even searched for the word Cleanup on both wizard pages. Imagine my distraught state when I couldn't do either Thanks for the prompt reply and building the extension. Can't wait to use it!
  4. This is the page I see when I click the Blog? Is this page the "Cleanup Utility" you are referring to? Or is there a link I don't have access to and I'm blindly not seeing? (I have worked far too many hours last few weeks) http://imgur.com/bZThg9e
  5. Hi there, I've just added this module (MarkupBlog) and I can't seem to see the Cleanup utility as described by the install instructions. I'm logged in as the admin user and my php debug level is set to 300. I have not uninstalled the module prior and I've just posted a blank post, in case the Cleanup option shows after inserting the first post. Is there anything else I should be checking?
  6. The text supplied by a SEO consultant came with HTML markup, so the users wanted to put it in as is with the markup preserved. So would a text area been suffice? Would that show the HTML markup assuming I don't put the string tags settings in? FYI The SEO field previously was plain text without markup, but recently changed when they hired a SEO consultant.
  7. Hi @Macrura, so what you're saying is that TinyMCE is a rich text editor field and not a HTML field editor (by default)? So a user would need to press the HTML button first before entering the markup? I assume the code view button you mentioned is the HTML button on the TinyMCE?
  8. The user was copying and pasting contents of a MS Word document into CMS via the Processwire Admin. The field we're having is a SEO Text field which is setup as a Textarea (TinyMCE). A sample of how the data looks like when viewed in the Processwire Admin. I believe this is the same format as the original MS Word document. <H2> „Wer kriecht aus dem Schneckenhaus?“ und viele weitere Sprachspiele für Dich </H2> I believe this is stored in the DB raw as <p><H2></p> <p>„Wer kriecht aus dem Schneckenhaus?“ und viele weitere Sprachspiele für Dich</p> <p></H2></p> Perhaps the field type is wrong and there are more appropriate types? I agree completely that I shouldn't have to do any postprocessing on the fields, which is why I came to the forum and asked for some guidance. Thanks for the info about decoding HTML characters. Not sure why my Google-Fu was not up to scratch that day.
  9. Ideally storing them as <html> tags instead of html entity encoded characters as they currently are. Perhaps it's stored that way as some sort of security measure? If so, is there a built-in function or something in the backend to read them as decoded HTML characters so the text gets formatted by the browser?
  10. Hi there, Bit of a rookie question. It appears that one of my users tried to store some Markup in a Textarea field for some SEO Text, but it was stored as HTML Entity chars (< >) I checked the field type details (TextArea, No Formatters, Content-Type:Unknown) and tried a few things (TinyMCE, Markup/HTML Type) to no avail. I was wondering if there's a quick fix for this as I'm almost resigned to writing a on-the-fly formatter to fix this. I'm hoping some one can point me to a more CMS centric solution?
  11. Looks like Apache had too many open files (?). Rebooting Apache seems to have fixed it. [Thu Oct 01 18:28:34 2015] [crit] [client ::1] (24)Too many open files: /Users/FrancisChung/Sites/SprachSpielSpa\xc3\x9f/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://localhost:8888/processwire/page/edit/?id=1030 I do have a lot of tabs open on Chrome. Guessing that could be a possible candidate for failure.
  12. Using a different browser (Safari for this test, usually using Chrome) seems to make no difference. I've cleared the cache on Chrome as well, to no success ....
  13. This is what the Diagnostics returned. ATTRIBUTE VALUE STATUS NOTES / CORRECTIVE ACTIONS Root directory Exists, is readable, is writable, 0755 Failure Folder should not be writable for webserver user. Installation file Does not exist. OK Installation directory Does not exist. OK Site directory Exists, is readable, is writable, 0755 Failure Folder should not be writable for webserver user. Assets directory Exists, is readable, is writable, 0755 OK Cache directory Exists, is readable, is writable, 0755 OK Session directory Exists, is readable, is writable, 0755 OK
  14. Not sure why my permissions would change all of a sudden? I have run the Processwire Diagnostics before, but I can run them again to check permissions. Also, the errors are occurring randomly. If it was a strict permissioning issue, it wouldn't run at all full stop, no?
  15. I got talked out of using Wordpress for doing a site for our startup by one of our partners. He had used PW before on a personal project of his. I come from a Enterprise Dev background, so learning all the nuances about Web Development as a "beginner" plus having to learn a CMS that required more work than other CMS seemed like a tall order. Tight Deadlines did no favours. Looking back, I'm glad I got talked out of it One thing that worried me in the beginning was the apparent lack of plug-ins for Processwire as compared to WP. But realised now quality > quantity. And a great dev community to boot.
  16. Hi there, I've recently been getting a lot of the following error messages. I can't see anything on the error logs that the ProcessLog Module provides. I thought it could be a problem with the DNS, so i changed it to OpenDNS but to no success. Is there anything else I should check? If it's a plug-in, what can I do to find out which plug-in it is, besides turning each one off one by one? Thanks in advance! ------------------------------------------- P/S XXXXX below is a placeholder for any directories or pages I've been trying to access. ForbiddenYou don't have permission to access /processwire/XXXXX/ on this server.
  17. Hi there, I'm trying to investigate a sluggish performance issue with my local Processwire Admin module. I came across this forum post, https://processwire.com/talk/topic/8805-slow-admin-localhost/ . One of the things they mentioned was to optimise DB Tables. So I ran the System Diagnostics module, and the DB Diagnostics and it had the following message for a table. module_sert_keywords InnoDB / utf8_general_ci Rows: 0 Data: 16.00 KB Index: 0 bytes Overhead: 9.00 MB Warning Optimize table to reclaim space and reorganize indexes. I tried clicking on the Optimize link but it doesn't seem to do anything, as running the diagnostics again seem to return the same message. Is this a bug, intended or otherwise, or is this step supposed to be done manually? Thanks in advance.
  18. Thanks for the replies. The helpfulness of this community never ceases to amaze me. I already knew about Media Queries, but what I needed was something extra like response.js. And this post that Christophe mentioned was exactly what I was looking for. https://css-tricks.com/forums/topic/how-to-load-a-section-of-content-only-if-the-screen-is-over-a-certain-width/
  19. Hi there, I'm trying to build a page in Processwire where it has a desktop layout of Sub Nav | Content Column 1 | Content Column 2 and a mobile layout of Content Column As you can see the Sub Nav appears and disappears depending on the viewport of the design. I've been doing a lot of searching and reading and there does not seem to be a way where I can dynamically load / unload the Sub Nav section of the page and reload and render the page again when the view port changes? Does this mean I need a mobile template and a desktop template for that page? How would I load each appropriate one? Are there any PW modules that would help me achieve this task? (I have already looked at MarkupAdaptive module but the example doesn't seem to show dynamically loading parts of the HTML) Thanks in advance.
  20. Perhaps I should resynch the config.php files between the 2 machines and try again. Thanks for the answer, LostKobrakai
  21. Hi there, I'm developing locally on my laptop and we have a testing server where I deploy via rsynch + running a DB Dump script. (Exported via MySQLWorkbench) I've noticed that the admin password becomes invalid every time a DB Dump script is run on the server. Is this possibly because there's a hash and/or salt stored alongside the password and my local one is not valid on the server? Are there better practices of synching between my local Processwire and the server instance to prevent the admin password being invalidated?
  22. I ended up using the following code $testPages->find("category.id=$id") but your suggestion definitely put me in the right direction for the solution. Thanks again!
  23. Hi there, This is a follow up question from my Page/Category question. https://processwire.com/talk/topic/10738-categories-not-visible-incorrect-setup/ I have a reference to the Category page I want to test membership for : $catgoryPage = $pages->find("parent.id=[path=/categories/, include=unpublished], title=$category"); I want to test if a particular page's field, Category (type:Page Fieldtype) == $categoryPage. I've been trying for the last hour on how to test membership for this page object without any success. I have tried 1) using the find method but I'm not sure how I can describe a field category == $categoryPage 2) looping through a PageArray, get the fields Array and using the has method on it. $testPages->fields->get("category")->has($categoryPage) 3) I have tried to search the forums but have found none related to my issue. Am I approaching this problem incorrectly or is there a simple answer to this? Thanks in advance
  24. The second method works for me. Danke LostKobrakai for the quick reply!
  25. Hi there, I've setup Categories as an unpublished page with child pages with basic-page as the template. I think this was the recommended setup as per several forum postings. Home/Categories Home/Categories/Category1 Home/Categories/Category2 I've just found out that I can't get a list of the Categories or the pages via the Pages object. $pages->get("/Categories") yields nothing If I change the visibility to unpublished to hidden, I can see the pages but then I have a problem where the /Categories URL becomes accessible. Is there a way to get around this? I'm new to Processwire & Web Development in general so apologies if this is a trivial question
×
×
  • Create New...