Jump to content

Joss

PW-Moderators
  • Posts

    2,862
  • Joined

  • Last visited

  • Days Won

    47

Everything posted by Joss

  1. @ryan Ta! Since I am in very early dev, I added the line to the config (I didn't have a dbCharset in there) and then duplicated the field. That did it.
  2. Hi Ryan! Good to see you too. This is on my local machine using Laragon running MySQL 8. I ran the query: SELECT * FROM information_schema.SCHEMATA S WHERE schema_name = "aelwenjones"; And it returned: CATALOG_NAME def SCHEMA_NAME aelwenjones DEFAULT_CHARACTER_SET_NAME utf8mb4 DEFAULT_COLLATION_NAME utf8mb4_general_ci But if on phpMyAdmin I select one table and click on show create I get: CREATE TABLE `field_article_text` ( `pages_id` int unsigned NOT NULL, `data` mediumtext NOT NULL, PRIMARY KEY (`pages_id`), KEY `data_exact` (`data`(250)), FULLTEXT KEY `data` (`data`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 I notice on my host, however, that most of my schemas are latin1, so I need to make sure they aren't, as it were, for this table.
  3. Okay, solved it. I put this in the JSON field: { "quickbars_insert_toolbar": "pwimage h2 h3 emoticons charmap" } However, I have another problem now. If I insert and emoticon then save the page, I lose any text AFTER the emoticon and the emoticon doesn't display.
  4. How can I customise the three Quick Toolbars? The new line context bar has two buttons - Image and Table. However, I don't want the table and the image button just opens up my local file system rather than the normal pwimage dialogue. I also want to add a couple of extra buttons on there ideally like embed or heading etc.
  5. Eleven years later, but thanks for that, Ryan! It was exactly the explanation that I needed.
  6. Yep! And I think I did it just before I had all these backup woes.
  7. @teppo Okay, I have just uninstalled Hanna Code Helper which appears to have been generating a lot of log entries! One every few seconds. It appears to have started 4 days ago, about the same time as I had problems backing up.
  8. This is my hanna code <?php if($ad == "random"){ $products=wire("pages")->get("/settings/adverts/")->children; $product=$products->getRandom(); }else{ $product=wire("pages")->get("/settings/adverts/$ad"); } if($product){ echo "<div class='footad'>"; if($product->amazon_paste){ echo $product->amazon_paste; } echo "</div>"; }
  9. This is the error I am getting: Fatal Error: Uncaught Error: Class 'TextformatterHannaCode' not found in site/modules/HannaCodeHelper/HannaCodeHelper.module:111 and Fatal Error: Uncaught Error: Call to undefined function wire() in /site/assets/cache/HannaCode/inline-ad.php:5 Stack trace:
  10. Hi Teppo! I turned it off and cleared it. I notice in the notes it says that it is limited to the last 100 only. I don't know if that means it only displays the last 100 or only keeps the last 100. But the entire database is not very big. 5000 rows total? A couple of megabytes? It is still a bit of a puzzle. Kualo couldn't see an obvious reason. I also got this with another small site that doesn't have jumplinks installed. HOwever, I think the logs have gone nuts. I am getting this error about not finding the Hanna Code text formatter. I am just updating Wire because of another error (not displaying fields or templates in setup).
  11. I don't think I have had that kind of problem in the last nine years! Which says a lot for Ryan.
  12. Okay, I have just overwritten Wire from the one from the DEV download and that seems to have solved it. The version is still showing as 175.
  13. For some reason, it is taking it's css from ProcessTemplateEdit id (which is in the ProcessTemplate.css file in the core), rather than from the admin theme class ProcessTemplateEdit.
  14. This is where my abilties crash! But here is a screenshot:
  15. A little bit more. Looking at the page source, the following form is not showing: <form id="ProcessTemplateEdit" class="InputfieldForm _InputfieldWrapper3" method="post" action="save" data-colspacing="0"> The css is: .pw-init #ProcessTemplateEdit { display: none; } If I delete "none" in Chrome console, the page shows.
  16. Hi, psy It's the same on all themes. I have just noticed this in the Chrome console. No idea if it has anything to do with it, but I am not getting it on sites without the problem: Uncaught SyntaxError: Unexpected token u in JSON at position 0 at JSON.parse (<anonymous>) at HTMLDivElement.<anonymous> (InputfieldTextTags.min.js?v=1-1619298240:1) at Function.each (JqueryCore.js?v=183:2) at init.each (JqueryCore.js?v=183:2) at InputfieldTextTags (InputfieldTextTags.min.js?v=1-1619298240:1) at HTMLDocument.<anonymous> (InputfieldTextTags.min.js?v=1-1619298240:1) at l (JqueryCore.js?v=183:2) at Object.fireWith [as resolveWith] (JqueryCore.js?v=183:2) at Function.ready (JqueryCore.js?v=183:2) at HTMLDocument.A (JqueryCore.js?v=183:2)
  17. UPDATE - Installing the dev from today seems to have solved the issue On the sites I have upgraded to 175, when I click on Setup->Templates->Template name, I just get nothing as shown in the pic below. Well, it says I am editing it, but there is nothing shown even though the pages are working fine. The same happens when I click to edit a field This is happening on both dev sites on my local set up and on live sites. When I updated (from 168, I think), I also updated a pile of other things like ListerPro, page actions, a couple of pro fields. Not that I think they are anything to do with it, but I throw them into the mix in case. It is the same in the Ukit and default themes, so it's not a theme issue. Any clues? Have I missed an important announcement somewhere? I was about to start on a new site, and I can't! Joss
  18. Adrian, I have confirmed it works without hitting the backup button. ?
  19. I have had an email from support at Kualo, and I must give them a positive shoutout. They really have gone into this in detail. Brilliant. Anyway, this is what they have said (which I have slightly redacted) Does that throw any light on the situation for anyone?
  20. Thanks, wbmnfktr. I use Kualo and they are very robust. I have used them for years. They are being very helpful trying to work out what is happening. The resource use on the particular server is quite low. Hi, Adrian. I am going to try upgrading without hitting the backup button on a different site (I want to leave the site we are messing with as is till I work out what has gone wrong). But the DB is very small. Just 61mb.
  21. HI Robin I can back up with Phpmyadmin okay. I am not sure what SessionHandlerDB is, unfortunately! There wont be any large tables - the site is not that big. Also, I have updated this site before without any issues. What about the list of errors the host sent to me? (up a couple of posts). Does any of that give a clue?
  22. Hi Horst. Trying to upgrade to the current dev. Although I could do a manual upgrade, that doesn't solve the problem as to why this is going wrong in the first place. I have tried on two different installations which I think are on slightly different PW versions. The upgrade module is up to date on one and not on the other. So I don't think it is that as such. There is a conflict somewhere, and it is recent. I upgraded a couple of other installations on the same server a couple of weeks ago without a problem.
×
×
  • Create New...