Jump to content

Gideon So

Members
  • Posts

    484
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Gideon So

  1. Hi @derelektrischemoench, It is probably because of the effect of fingerprint settings. Please check the following page and look for fingerprint. https://processwire.com/api/ref/config/ Then put the correct $config->sessionFingerprint value into your config.php file Gideon
  2. Hi @Vigilante, I think the syntax should be $item->template. Read the below page and look for template. https://processwire.com/api/ref/page/ Gideon
  3. Hi, Do you enable the language in the home page?? If must enable the language in the home page, otherwise it doesn't work. Gideon
  4. Hi @kaz, This is the limitation of the editor link function. Don't use the page selector. You should enter the url by hand. Gideon
  5. Same here. Build the site in html first and then implement whatever you want into it.
  6. Hi All, I found a problem that if I take a picture with my mobile phone in portrait mode and then upload to a PorcessWire site, the photo is not display correctly in the backend. It is rotated 90 degree anti-clockwise and the thumbnail is up-side-down. You can see it in the attached image. Any clues how to fix it?? Gideon
  7. Hi @aComAdi, Just a wild guess. Have you tried setting the image field limit to 1? Gideon
  8. Please show us some code in your template in order for us to give you some useful help rather than guessing what the problem is. Gideon
  9. Do you do any redirect in your template or Apache settings?? Gideon
  10. Hi @Mithlesh, Obviously It is nothing wrong with the WiresMailSmtp. There is some error about the submission of the form. Please provide code about how your form constructed and the code about how you manage the form submit. Then we can give you some useful hints. Gideon
  11. Hi @uliverse, It is $input->get($q). https://processwire.com/docs/start/variables/input/ Gideon
  12. Hi, No need to concatenate your output which means no need to use <?php $content .= page()->your field; ?>. Just do this: <?php echo page()->your field; ?> Gideon
  13. Hi, If you do not login to the system. Your code surely return a null page array. Please check if you are login when you check the result. Gideon
  14. Hi @Anton, Glad to hear that you solved the problem by yourself. Good job. Gideon
  15. What I would do is: 1. go to the directory that your db tables stay to check if the pages table exists. If it does exists go to step 2, otherwise go find your db backup if any. 2. repair the table with myisamchk / phpmyadmin repair table option 3. see if the site works properly. Gideon
  16. Are you sure the Apache rewrite module loads properly? Gideon
  17. Yeah!! Long time Linux user. From Fedora Core 1 (2003) to Fedora 30 (2019). Very happy. Gideon
  18. Seem this is a bug when set limit to 1. I will file a bug report to github. https://github.com/processwire/processwire-issues/issues/961 Gideon
  19. Hi, I have a image field which set limit to 1 and it works fine until I upgrade the core to 3.0.137. Everytime I try to upload a image to the field, it causes the following error: Recoverable Fatal Error: Argument 1 passed to ProcessWire\Pageimage::setOriginal() must be an instance of ProcessWire\Pageimage, null given, called in /home/web/processwire/WireCore-3.0/core/PageimageVariations.php on line 257 and defined (line 1334 of /home/web/processwire/WireCore-3.0/core/Pageimage.php) When I reload the page and try to edit the page, the backend looks like the following screenshot. The old image is not deleted. And I found that the image record still exists in the database. Any clue is welcome. Gideon
  20. Hi @JeevanisM, Let me see. You should have code like this: <a href="<?php echo $page->pagefile->httpUrl; ?>">Click here to download</a> The code above should output a link to download the file. Gideon
  21. Hi @iNoize, Go check your FB app settings and remove all unnecssary permission. Gideon
  22. Hi @JeevanisM, Try this: echo $page->pagefile->httpUrl; $page: the current page pagefile: the page file field httpUrl: the full url of the pagefile The whole statement means echo the full url of the pagefile in current page. Hope this helps. Gideon
  23. WOW. This is very impressive. Gideon
  24. Imho, This functionality really should be in the core Gideon
×
×
  • Create New...