Jump to content

KG60

Members
  • Posts

    22
  • Joined

  • Last visited

Everything posted by KG60

  1. @virtualgadjo@Gideon So 🥳 Success....to a point. When trying to install a fresh Processwire instance, I got the message that it was "Unable to determine if Apache mod_rewrite (required by ProcessWire) is installed" After checking, it appears that CWP does not enable it by default. 😒 After doing a rebuild on Apache, this has now created other 'none-ProcessWire' issues. At least I now know that the problem is not ProcessWire related, but issues with the server configuration, and I can now start to work on those. CWP is a bit of a learning curve after Webmin, but it keeps the brain working. 😀 Thanks for your help.
  2. Hi virtualgadjo The php version is 7.4 and is the same on both the laptop and the server. I'll follow your suggestion and do a complete fresh install on a new subdomain. If that works, then it's a case of comparing config and htaccess files to look for differences. If not, then there may be an issue with the configuration of my test server. (I'm using CWP instead of Webmin, so that's been a bit of a learning curve as well). Thanks for taking the time to make suggestions. Much appreciated.
  3. Hi Gideon The config debug line is already in the config file, and it doesn't return any errors. I think I'll follow virtualgadjo's suggestion and add another subdomain, then do a completely fresh blank ProcessWire install. If that works, then I can start doing a comparison between config & htaccess files. If it doesn't, then I can start looking into how I have Apache configured on my test server. Thanks for your suggestions. They're much appreciated.
  4. The MySQL user is configured correctly, otherwise the site wouldn't show correctly. The site allows me into admin on my laptop, and it's the exact same config file. It's not really a big file, so there's not a lot to get wrong in it in all fairness. It's not a show stopper, so I'll keep digging. I just hoped somebody may have come up against the same problem at some point. I'll post my solution when/if I do find the source of the problem though. Thanks
  5. Thanks for your suggestions. I worked this way for years previously, but just had the domain name pointing to a splash page, informing anybody that it was the customers testing server, then redirecting to our proper site. Any client sites we had as subdomains, as you mentioned. I can't see the database being linked to the domain name making a difference though. I have a couple of test sites as subdomains, one Processwire and one just static HTML. They both work fine but the Processwire site also won't allow me to log into the Admin area. I never had this problem with the old server, which was Centos 7 using Webmin. I might try removing the main site though and replacing it with a splash page, just to test your theory. I've not done any web stuff for quite a few years, and decided to try getting back into it to keep me busy during retirement. I'm a bit rusty with it though, as the last version of Processwire I used was v2.3. I don't give in easily though, so I'll keep plugging away. 🙂
  6. I've used the debugging tools and the only errors appear to be linked to the AdminOnSteroids plugin. I've now uninstalled it, but it's not resolved anything. The config.php is exactly the same on both machines. The site is working fine, it's just that I am unable to access the Admin area on the server, even though it works fine on the laptop. I'll keep checking things out.
  7. I've looked in there. No errors that relate to this. All old errors. Good suggestion though. 🙂
  8. Hi virtualgadjo, Thanks for the suggestion. I have checked the config.php file, and the line you mention shows as 'localhost'. I have changed it to my domain name, and also the IP addresss, but it doesn't make a difference. My domain name currently points to the test server, until I am ready to make my sites live. I can edit the site on my laptop, and upload the sql to the test server, but it would be nice to be able to edit on the server directly when it is close to being ready for going live.
  9. I have a couple of websites on my laptop, which I can view and edit without any issues. If I then upload the website onto my local testing server, and import the sql file, the site shows perfectly, but I am unable to log in to the admin background area. I type in my user name and password, select Login, and the screen stays the same but the username and password are cleared again. Admin login details work perfectly on my laptop. The login details are correct, as they are exactly the same as on my laptop. Laptop Details: MacBook Air, running MacOS Sonama 14.2.1 & Ampps (Apache 2.4.58, PHP 7.4.33, MYSQL 8.0.31). Processwire 3.0.165 with htaccess file @IndexVersion 300 Server Details: Linux server running Rocky Linux 8.9 & CWP (Apache 2.4.57, PHP 7.4.33, MySQL 10.4.32-MariaDB + nginx & varnish) Processwire 3.0.165 with htaccess file @indexVersion 300 I tried disabling nginx & varnish but this didn't resolve the issue. The difference in MySQL versions should be irrelevant, as the site works fine using both. Can anybody possibly shed any light as to what might be the issue?
  10. Thanks for the explanation. That makes things clearer. I'm still getting used to how ProcessWire functions but I'm getting there, albeit slowly. I've now managed to add the options I wanted by using the Justify plugin following the instructions on another forum post. It's great to be able to tap into the experience of the ProcessWire community.
  11. I am using Processwire v2.7.2, and CKEditor is in both the Site/Modules and Wire/Modules folders. Which copy of CKEditor will it be using? I want to try to add the ability to centre text but it is a bit confusing on which copies of the files I should be editing. Also in the Wire/Modules/InputfieldCKEditor folder there is a sub folder called ckeditor-4.5.3. If ProcessWire is using the version stored in the Wire folder is it reading the files from the root of the InputfieldCKEditor folder or from the sub folder? I've noticed on this site the text alignment buttons are in place along with the font type and size. This is what I would like to add in rather than just extra options under the Styles dropdown. Is this easy to do? I hope this makes sense. Thanks in advance for any help
  12. Thanks elabx. I shall give that a try.
  13. I'm not sure if I'm posting this in the correct area so apologies if I'm not. I'm trying to get a selection of tweets appearing on a website in a similar style to the WordPress Juiz-Last-Tweet Widget. I'm managed to get the actual design correct now but I'm not sure how to actually pull the tweets in. The idea is for a selection of about 10 tweets appearing on a 10 second rotation as per the attached file example. I've got a version running on a test site at http://owltreeweb.solutions/bni-bolton My php & javascript coding knowledge isn't great so any help on getting this completed would be greatly appreciated. I do have a latest tweets script running at the right of the screen, so I have the Twitter data widget ID, but I think the Juiz-Last-Tweet option which is currently in the footer of the site looks a lot smarter and I would like to replace the current one. I do have the .js files if they are any help. Thanks in advance.
  14. KG60

    PrettyPhoto

    Thanks for that Kongondo. I'll have a good read through the links.
  15. KG60

    PrettyPhoto

    Thanks to everybody for your help. I have now managed to resolve the issues following the comments from Soma. The problem basically came down to 2 things: Bad placement of script tags in the <head> of the site. i had the min.js and analytics.js appearing before jquery had actually loaded but I hadn't spotted it. (strange how some browsers accept it and others don't) The css height: 100% from <body> and <html> Soma - Thanks for the solutions and your point about jquery fallback, it wasn't something I'd considered but it makes sense. I've now added this into the extra line into the <head> and I'll make sure I do it for all future sites as well. I've also took note of your comment re the picture frame icon. It's a good point and I'll make it more obvious that it is an actual gallery link. With reference to the use of 'attr' instead of "attr", this is not really an option as PHP see's " as closing the statement so it is necessary to keep it at ' for any attribute. ​It's now working on all the browsers on Windows, OSx and Linux, as well as iOS and Android, so all is good. Mike Anthony - I'll check out Magnific at some point, it's always useful to have alternative options.
  16. KG60

    PrettyPhoto

    I've not heard of Magnific Popup but I'll give it a try if we can't get sorted with PrettyPhoto. The main reason we stick with PrettyPhoto is because we found it easy to use and the popup windows are quite tidy compared to some of the other plugins (the rounded borders and dark backgrounds look quite effective). It could be useful to test a different plugin anyway to clarify whether it is the php we're using. Thanks for the suggestion.
  17. KG60

    PrettyPhoto

    Thanks for the reply Joss. We have used the script on other sites without any issues and it's just this one that we are having issues with. While I agree thats it most likely not an actual problem with ProcessWire I was thinking it could be the way we use the PHP as this is the first time we've used it with PHP rather than standard HTML. I was hoping that maybe somebody had seen this issue before and maybe had tips on how to get round it. I had noticed that other users have mentioned prettyPhoto as being their favourite Lightbox plugin. It seems strange that it just seems to be Firefox on the Mac that's affected, although it has been mentioned that it affects more browsers under Windows. I'll go down the route of the prettyPhoto forums as that will maybe find somebody who's faced this issue with different CMS's.
  18. KG60

    PrettyPhoto

    Thanks for the responses up to now. I have checked out the suggestions made and I have not managed to resolve the issue. The class settings for div.pp_overlay and div.pp_pic_holder mentioned by Horst are standard settings in PrettyPhoto and seem to work fine on other sites we have created. I'm at a loss as to what is causing the issue as we don't appear to have done anything different than usual apart from using PHP rather than standard HTML.
  19. KG60

    PrettyPhoto

    Thanks for all the replies. I will try and give a bit more detail although Horst has given a detailed response which I will look into. On the product sub pages we have up to 3 small images and then a clickable link underneath that opens up a pretty photo gallery. (image-1) The pretty photo gallery should open in the centre of the browser screen, which it appears to do on all browsers apart from Firefox. (image-2) Horst has pointed out that this is not restricted to Firefox but I have only tested on a Mac & iPad at the moment which could explain why I have not noticed that. On an iPad the PrettyPhoto does not open at all. The code used on the actual product page (conservatories in the examples ) is shown in image-3. Image 1 Image-2 Image-3 I hope this explains thing a bit better.
  20. We are currently building a website and have added PrettyPhoto onto our product pages. It works fine on all browsers except Firefox where it doesn't appear correctly, and it won't work on the iPad. We've got it working fine on other non ProcessWire websites on all browsers and devices so it may be something to do with the way the images are called using PHP. Can anybody suggest anything to resolve this? The site is currently on the test address http://owltreeweb.solutions/carman/
  21. Thanks Philipp, that worked a treat. I came up with the same issue with the submit buttons when logged in to the admin screen but got round this by adding #wrap_submit_save label {display:none;} to the css. I've also managed to sort out the button colours so all is good. Your help has been much appreciated.
  22. I've customised an admin theme using the minimalist_blue theme as a base. I've near enough got it completed but There is text appearing above submit buttons which I can't seem to get rid of. I would also like to change the colour of the text and background hover from blue to either Green or Brown but can't find where this found. I have circled the text on the attached image. I'm using ProcessWire v2.4.0 if this makes a difference. Thanks in advance for any help.
×
×
  • Create New...