Jump to content

KG60

Members
  • Posts

    22
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    England
  • Interests
    Family History, Local History, Walking.

KG60's Achievements

Jr. Member

Jr. Member (3/6)

2

Reputation

  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.
×
×
  • Create New...