Jump to content

Rob(AU)

Members
  • Content Count

    24
  • Joined

  • Last visited

  • Days Won

    1

Rob(AU) last won the day on June 3

Rob(AU) had the most liked content!

Community Reputation

21 Excellent

About Rob(AU)

  • Rank
    Jr. Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. @kongondo now that I have had time to explore a bit more it is making more sense - I had a few family things that interrupted ... male, multi-tasking ... epic fail I am using PW 3.0.165 and ran into the images not appearing to upload issue, but only on the live site, but that is not causing an issue now. Is it possible to do something similar to the following using the image media? echo "<img srcset='{$page->image->srcset('2500x0,/2,/3,/4')}' class='mainimageH' alt='$page->headline'>"; I found a way while writing this. It maybe not elegant, but I'm sharing as it
  2. Having a problem displaying images on the front end. I've just purchased MediaManager and have successfully imported a heap of images. Now I am trying to include a MM image and display it via an existing template. The steps I have followed thus far: 1. Add a new textarea field to the existing template - named PortfolioImage 2. Edit a page and insert a single image into the PortfolioImage field, by selecting a MM image. The image shows up in the edit page. 3. In the template file I added the following line: if($page->PortfolioImage) echo "<img src='{$page-&g
  3. Thanks Alexander, response was really helpful in getting me to check things I hadn't thought of. I'm not entirely sure what the issue was, and I will keep looking. The issue was solved by using the adminer module to export the live data and import that into the NAS hosted local server. It is working fine now.
  4. Hi horst, thanks for the feedback, and I'm please someone comprehended the copyright notice! I, as would others I'm sure, would be very thankful for a tutorial on creating watermarks via a hooked function or property.
  5. I am trying to import the database from my live website to my local server. It seems that exporting the website database to a sql file using Ryan's module only copies some cache tables. When on the DB Backups view page the sql file that was exported from the live site, and uploaded to the local server, shows as having 100 tables and 3,00 rows. Yet when I try to restore it the following error shows up: I have exported the database using phpmyadmin, then imported it to the local server using phpmyadmin. That appears to be working, except that I then cannot edit or add pages. The f
  6. Hi Chris, I have yet to see any issue with image theft. Partly that's probably because the site doesn't get a whole lot of traffic. ProcessWire is far better at handling images than anything else I've used, and I don't utilise it's full potential.
  7. Here is my website, built with ProcessWire, and still being refined as I learn more. https://robpackerphotography.com/ My website journey has taken me via plain html, Singapore (anyone remember that?), Wordpress, modx, and now finally PW. Along the way I experimented with drupal, concrete, silverstripe and a few others that I'd rather forget. All self-taught and done between full-time work, family and a passion for photography. I have found using ProcessWire relatively simple - despite the steep learning curve of having to learn about php... The community support is fantastic.
  8. Thanks again Bill, Yes, debugging is turned on, and I'm using Tracy Debugger - neither shows any errors. The live site uses PHP 7.3.27, and the local/NAS is 7.3.16, so I figure they are pretty close. The live site uses MySQL, and the local is using MariaDB 5, but that hasn't been an issue before. UPDATE I have been experimenting, and can edit and save changes to the fields via Adminer, but edits via the usual page editor still do not save to the database. Editing a page via Adminer is fraught with danger though...
  9. Thanks Bill, I looked in the logs and found nothing that I think is relevant. The two screenshots show the last error. However, replicating the issue of unsaved edits does not add further entries to the logs. Could there be an issue with the local db having different usernames to the live db - even though my local username for the db has all privileges according to phpmysql? I'm clutching at straws here. Thanks
  10. Hi, I am running ProcessWire 3.0.165 on my Synology NAS, along with another couple of test sites. The other sites are working fine. The site will allow me to edit pages, and shows that the edits have been saved (as per the screenshot), but on reloading shows no change. I can however edit templates and fields. The database was imported from my live website (where editing works), and changes of db user etc. made in the site\config.php file. Any help would be appreciated as I have searched the forum for an answer. Thanks
  11. This is what I really appreciate about the PW community! I post a question, have dinner and come back to a helpful answer! Thank you teppo. Your explanation helped me learn more about PW. I'm closer, but not quite there. I'm obviously missing something about how to use the module. Using teppo's code: if($page->main_image) echo "<img data-srcset='{$page->main_image->srcset('1500x1000,/2,/3,*1.5')}' class='mainimageH' data-sizes='auto' alt='$page->headline'>"; produces this output, but no image. <img data-srcset='/landscapes/site/assets/files/1216/pnz
  12. I've just discovered this module and am unable to get any images to show from it. My setup is on localhost using php 7.3, PW 3.0.165 with lazysizes. The code in my template is: if($page->main_image) echo "<img data-srcset='$page->main_image->srcset('1500x1000,/2,/3,*1.5')' class='mainimageH' data-sizes='auto' alt='$page->headline'>"; No image is shown and the output I get is: <img data-srcset='pnz007n.jpg->srcset('1500x1000,/2,/3,*1.5')' class='mainimageH' data-sizes='auto' alt='sunset at Lake Tekapo on the South Island of New Zealand'> My guess is i
  13. Hi Ben, I've been using another Payments module. Am I understanding correctly that yours does not depend on the PaymentModule? If not I can uninstall the unused modules ... Thanks
  14. Hi Adrian, currently it is set at: memory_limit 768M Is that going to be enough? The site has less than 200 pages. Thanks
  15. I am having issues with my site being very slow, for both the front and back end. Having researched and looked at previous posts on the topic has not helped, but the threads I could find were from a while ago. The error I'm getting in the Exceptions Log is: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away In /wire/core/WireDatabasePDO.php line 499 Tech support for my hosting investigated and could not see any MySQL issues. At the same time, the dev copy of the site on my localhost is also going slow. Another site on my localhost is working as normal,
×
×
  • Create New...